Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openshift-rest-client

Package Overview
Dependencies
Maintainers
4
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openshift-rest-client - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

23

lib/build-configs.js

@@ -79,6 +79,27 @@ 'use strict';

function remove (client) {
return function remove (buildConfigName, options) {
options = options || {};
if (!buildConfigName) {
return Promise.reject(new Error('Build Config Name is required'));
}
const clientConfig = privates.get(client).config;
const req = {
method: 'DELETE',
url: `${client.apiUrl}/namespaces/${clientConfig.context.namespace}/buildconfigs/${buildConfigName}`,
body: options.body
};
return request(client, req);
};
}
module.exports = {
find: find,
create: create,
instantiateBinary: instantiateBinary
instantiateBinary: instantiateBinary,
remove: remove
};

@@ -56,5 +56,26 @@ 'use strict';

function remove (client) {
return function remove (imageStreamName, options) {
options = options || {};
if (!imageStreamName) {
return Promise.reject(new Error('Image Stream Name is required'));
}
const clientConfig = privates.get(client).config;
const req = {
method: 'DELETE',
url: `${client.apiUrl}/namespaces/${clientConfig.context.namespace}/imagestreams/${imageStreamName}`,
body: options.body
};
return request(client, req);
};
}
module.exports = {
find: find,
create: create
create: create,
remove: remove
};

2

package.json
{
"name": "openshift-rest-client",
"version": "0.7.0",
"version": "0.8.0",
"description": "Node.js client for developing with OpenShift",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc