diff --git a/README.md b/README.md
index 3d5372cb05..93dcff3d04 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,80 @@
-# javascript
+# Javascript Kubernetes Client information
-Javascript client. Work in progress.
+The Javascript clients for Kubernetes is implemented in
+[typescript](https://typescriptlang.org), but can be called from either
+Javascript or Typescript.
+For now, the client is implemented for server-side use with node
+using the `request` library.
-# Update client
+There are future plans to also build a jQuery compatible library but
+for now, all of the examples and instructions assume the node client.
-to update the client clone `gen` repo and run this command:
+# Installation
+```sh
+$ npm install @kubernetes/client-node
+```
+
+# Example code
+
+## List all pods
+```javascript
+const k8s = require('@kubernetes/typescript-node');
+
+var k8sApi = k8s.Config.defaultClient();
+k8sApi.listNamespacedPod('default')
+ .then((res) => {
+ console.log(res.body);
+ });
+```
+
+## Create a new namespace
+```javascript
+const k8s = require('@kubernetes/typescript-node');
+
+var k8sApi = k8s.Config.defaultClient();
+
+var namespace = {
+ metadata: {
+ name: 'test'
+ }
+};
+
+k8sApi.createNamespace(namespace).then(
+ (response) => {
+ console.log('Created namespace');
+ console.log(response);
+ k8sApi.readNamespace(namespace.metadata.name).then(
+ (response) => {
+ console.log(response);
+ k8sApi.deleteNamespace(
+ namespace.metadata.name, {} /* delete options */);
+ });
+ },
+ (err) => {
+ console.log('Error!: ' + err);
+ }
+);
+```
+
+# Development
+
+All dependencies of this project are expressed in its
+[`package.json` file](./package.json). Before you start developing, ensure
+that you have [NPM](https://www.npmjs.com/) installed, then run:
-```bash
-${GEN_REPO_BASE}/openapi/javascript.sh ${CLIENT_ROOT}/kubernetes ./settings
+```console
+npm install
```
+
+# Testing
+
+Tests are written using the [Chai](http://chaijs.com/) library. See
+[`config_test.ts`](./config_test.ts) for an example.
+
+To run tests, execute the following:
+
+```console
+npm test
+```
+
diff --git a/examples/client.js b/examples/client.js
deleted file mode 100644
index 8ae1d5372f..0000000000
--- a/examples/client.js
+++ /dev/null
@@ -1,82 +0,0 @@
-'use strict'
-
-const fs = require('fs');
-const parseArgs = require('minimist');
-const demoType = parseArgs(process.argv.slice(2));
-
-// Location of custom CA crt
-const ca = fs.readFileSync(__dirname + '/ca.crt');
-
-// Unwise option to turn off all TLS security in NodeJS. NodeJS uses a predefined list of trusted CAs and ignores the system CA store. Workaround was to append CA/cert/keys in ApiClient modification.
-// process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
-const kubernetes = require('./index');
-// UnversionedPatch model file was not generated, so a stub was put in.
-
-const apiClient = new kubernetes.ApiClient();
-apiClient.ca = ca;
-apiClient.basePath = 'https://192.168.99.100:8443/';
-// Authorization of personal minikube setup - not considered a security concern due to local nature - in actual use should be provided by user.
-apiClient.defaultHeaders = {
- "Authorization": "Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImRlZmF1bHQtdG9rZW4ta24wMHMiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoiZGVmYXVsdCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6Ijk3MTBkNjc3LWRjNjctMTFlNi05NWMyLTA4MDAyNzY4YjNlYiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpkZWZhdWx0OmRlZmF1bHQifQ.RqeMeu3zxYqfGHpDV0vlVjG8EYgp_dG4Dr8dNc9zN-5J-tUOE_lBJ5VUWwh08GpN7jL3L66IZJ-zmJevVj7bd3OZBaGGTrEzgCrfuyrLIuPY-af8rZkElAtEaFdiT0m-z7JQqpUJ0yz9cZcOHiKN3vLR9zB7kVYcDWvMPwzzJsP65gPQptU1mRcx7w0wPtO8OmQXkrwrxoySwJpj7ug4Qv-QAIW9_Xa67qUUtKNaP1lgRIt9r4UL1fOrzS0fDNgBQClQ3CupkKRFQ4q7nvp6GkE-8HGzIg4tG65khfD2i750InZHGFZhLCTFmjiS-bmXx-MezEPb5rJ4rovMXcWj9w"
-};
-
-// Core test
-
-const core = new kubernetes.CoreApi(apiClient);
-const coreApi = new kubernetes.CorevApi(apiClient);
-const extensions = new kubernetes.ExtensionsvbetaApi(apiClient);
-const version = new kubernetes.VersionApi(apiClient);
-
-// Versions
-if (demoType['v']) {
- core.getCoreAPIVersions(function(error, data, response) {
- console.log(error, data);
- });
-
- version.getCodeVersion(function(error, data, response) {
- console.log(error, data);
- });
-}
-
-// Test creation of namespace and deployment
-if (demoType['c']) {
- const testNs = "{\"kind\":\"Namespace\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"client-test\",\"creationTimestamp\":null},\"spec\":{},\"status\":{}}\n";
- coreApi.createCoreV1Namespace(testNs, {}, function(error, data, response) {
- console.log(error, data);
- });
-
-
- const testDep = "{\"kind\":\"Deployment\",\"apiVersion\":\"extensions/v1beta1\",\"metadata\":{\"name\":\"hello-world\",\"creationTimestamp\":null,\"labels\":{\"run\":\"hello-world\"}},\"spec\":{\"replicas\":1,\"selector\":{\"matchLabels\":{\"run\":\"hello-world\"}},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"run\":\"hello-world\"}},\"spec\":{\"containers\":[{\"name\":\"hello-world\",\"image\":\"hello-world\",\"ports\":[{\"containerPort\":8080}],\"resources\":{}}]}},\"strategy\":{}},\"status\":{}}\n";
- const deployment = kubernetes.V1beta1Deployment.constructFromObject(JSON.parse(testDep));
-
- extensions.createExtensionsV1beta1NamespacedDeployment('default', JSON.stringify(deployment), {pretty: false}, function(error, data, response) {
- console.log(error, data);
- });
-
-}
-
-
-// Read deployment
-if (demoType['r']) {
- extensions.listExtensionsV1beta1NamespacedDeployment('default', {pretty: false}, function(error, data, response) {
- console.log(error, data);
- });
-
- extensions.readExtensionsV1beta1NamespacedDeployment('hello-world', 'default', {pretty: false}, function(error, data, response) {
- console.log(error, data);
- });
-}
-
-// TEARDOWN
-if (demoType['d']) {
- const testDel = "{\"kind\":\"DeleteOptions\",\"apiVersion\":\"extensions/v1beta1\",\"orphanDependents\":false}\n";
- const delopts = kubernetes.V1beta1Deployment.constructFromObject(JSON.parse(testDel));
- extensions.deleteExtensionsV1beta1NamespacedDeployment('hello-world', 'default', JSON.stringify(delopts), {pretty: false}, function(error, data, response) {
- console.log(error, data);
- });
-
- const delTestNs = "{\"kind\":\"DeleteOptions\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"client-test\",\"deletionGracePeriodSeconds\":\"60\"},\"spec\":{},\"status\":{}}\n";
- coreApi.deleteCoreV1Namespace('client-test', delTestNs, {}, function(error, data, response) {
- console.log(error, data);
- });
-}
diff --git a/examples/example.js b/examples/example.js
new file mode 100644
index 0000000000..6c24dcd356
--- /dev/null
+++ b/examples/example.js
@@ -0,0 +1,8 @@
+const k8s = require('@kubernetes/client-node');
+
+let k8sApi = k8s.Config.defaultClient();
+k8sApi.listNamespacedPod('default')
+ .then((res) => {
+ console.log(res.body);
+ });
+
diff --git a/examples/namespace.js b/examples/namespace.js
new file mode 100644
index 0000000000..e69f5423c1
--- /dev/null
+++ b/examples/namespace.js
@@ -0,0 +1,25 @@
+const k8s = require('@kubernetes/client-node');
+
+var k8sApi = k8s.Config.defaultClient();
+
+var namespace = {
+ metadata: {
+ name: 'test'
+ }
+};
+
+k8sApi.createNamespace(namespace).then(
+ (response) => {
+ console.log('Created namespace');
+ console.log(response);
+ k8sApi.readNamespace(namespace.metadata.name).then(
+ (response) => {
+ console.log(response);
+ k8sApi.deleteNamespace(
+ namespace.metadata.name, {} /* delete options */);
+ });
+ },
+ (err) => {
+ console.log('Error!: ' + err);
+ }
+);
diff --git a/examples/typescript/attach/attach-example.ts b/examples/typescript/attach/attach-example.ts
new file mode 100644
index 0000000000..606165fde1
--- /dev/null
+++ b/examples/typescript/attach/attach-example.ts
@@ -0,0 +1,7 @@
+import k8s = require('@kubernetes/client-node');
+
+let kc = new k8s.KubeConfig();
+kc.loadFromFile(process.env['HOME'] + '/.kube/config');
+
+let attach = new k8s.Attach(kc);
+attach.attach('default', 'nginx-4217019353-9gl4s', 'nginx', process.stdout, process.stderr, null /* stdin */, false /* tty */);
diff --git a/examples/typescript/exec/exec-example.ts b/examples/typescript/exec/exec-example.ts
new file mode 100644
index 0000000000..74714504a9
--- /dev/null
+++ b/examples/typescript/exec/exec-example.ts
@@ -0,0 +1,9 @@
+import k8s = require('@kubernetes/client-node');
+
+let command = process.argv[2];
+
+let kc = new k8s.KubeConfig();
+kc.loadFromFile(process.env['HOME'] + '/.kube/config');
+
+let exec = new k8s.Exec(kc);
+exec.exec('default', 'nginx-4217019353-9gl4s', 'nginx', command, process.stdout, process.stderr, process.stdin, true /* tty */);
diff --git a/examples/typescript/simple/example.ts b/examples/typescript/simple/example.ts
new file mode 100644
index 0000000000..400c9d2005
--- /dev/null
+++ b/examples/typescript/simple/example.ts
@@ -0,0 +1,12 @@
+import k8s = require('@kubernetes/client-node');
+
+let k8sApi = k8s.Config.defaultClient();
+
+k8sApi.listNamespacedPod('default')
+ .then((res) => {
+ console.log(res.body);
+ });
+
+// Example of instantiating a Pod object.
+let pod = {
+} as k8s.V1Pod;
diff --git a/examples/typescript/watch/watch-example.ts b/examples/typescript/watch/watch-example.ts
new file mode 100644
index 0000000000..9c069a123b
--- /dev/null
+++ b/examples/typescript/watch/watch-example.ts
@@ -0,0 +1,31 @@
+import k8s = require('@kubernetes/client-node');
+
+let kc = new k8s.KubeConfig();
+kc.loadFromFile(process.env['HOME'] + '/.kube/config');
+
+let watch = new k8s.Watch(kc);
+let req = watch.watch('/api/v1/namespaces',
+ // optional query parameters can go here.
+ {},
+ // callback is called for each received object.
+ (type, obj) => {
+ if (type == 'ADDED') {
+ console.log('new object:');
+ } else if (type == 'MODIFIED') {
+ console.log('changed object:')
+ } else if (type == 'DELETED') {
+ console.log('deleted object:');
+ } else {
+ console.log('unknown type: ' + type);
+ }
+ console.log(obj);
+ },
+ // done callback is called if the watch terminates normally
+ (err) => {
+ if (err) {
+ console.log(err);
+ }
+ });
+
+// watch returns a request object which you can use to abort the watch.
+setTimeout(() => { req.abort(); }, 10 * 1000);
diff --git a/kubernetes/.swagger-codegen-ignore b/kubernetes/.swagger-codegen-ignore
deleted file mode 100644
index c5fa491b4c..0000000000
--- a/kubernetes/.swagger-codegen-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/kubernetes/.travis.yml b/kubernetes/.travis.yml
deleted file mode 100644
index e49f4692f7..0000000000
--- a/kubernetes/.travis.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-language: node_js
-node_js:
- - "6"
- - "6.1"
- - "5"
- - "5.11"
-
diff --git a/kubernetes/README.md b/kubernetes/README.md
deleted file mode 100644
index 0d4237c59f..0000000000
--- a/kubernetes/README.md
+++ /dev/null
@@ -1,956 +0,0 @@
-# kubernetes-js-kubernetes.client
-
-KubernetesJsClient - JavaScript kubernetes.client for kubernetes-js-kubernetes.client
-No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
-This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
-
-- API version: v1.6.3
-- Package version: 1.0.0-snapshot
-- Build package: io.swagger.codegen.languages.JavascriptClientCodegen
-
-## Installation
-
-### For [Node.js](https://nodejs.org/)
-
-#### npm
-
-To publish the library as a [npm](https://www.npmjs.com/),
-please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
-
-Then install it via:
-
-```shell
-npm install kubernetes-js-kubernetes.client --save
-```
-
-#### git
-#
-If the library is hosted at a git repository, e.g.
-https://github.com/kubernetes-incubator/client-javascript
-then install it via:
-
-```shell
- npm install kubernetes-incubator/client-javascript --save
-```
-
-### For browser
-
-The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
-the above steps with Node.js and installing browserify with `npm install -g browserify`,
-perform the following (assuming *main.js* is your entry file):
-
-```shell
-browserify main.js > bundle.js
-```
-
-Then include *bundle.js* in the HTML pages.
-
-## Getting Started
-
-Please follow the [installation](#installation) instruction and execute the following JS code:
-
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-
-var defaultClient = KubernetesJsClient.ApiClient.instance;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = "YOUR API KEY"
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix['authorization'] = "Token"
-
-var api = new KubernetesJsClient.ApisApi()
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.getAPIVersions(callback);
-
-```
-
-## Documentation for API Endpoints
-
-All URIs are relative to *https://localhost*
-
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*KubernetesJsClient.ApisApi* | [**getAPIVersions**](docs/ApisApi.md#getAPIVersions) | **GET** /apis/ |
-*KubernetesJsClient.AppsApi* | [**getAPIGroup**](docs/AppsApi.md#getAPIGroup) | **GET** /apis/apps/ |
-*KubernetesJsClient.Apps_v1beta1Api* | [**createNamespacedDeployment**](docs/Apps_v1beta1Api.md#createNamespacedDeployment) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments |
-*KubernetesJsClient.Apps_v1beta1Api* | [**createNamespacedDeploymentRollbackRollback**](docs/Apps_v1beta1Api.md#createNamespacedDeploymentRollbackRollback) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback |
-*KubernetesJsClient.Apps_v1beta1Api* | [**createNamespacedStatefulSet**](docs/Apps_v1beta1Api.md#createNamespacedStatefulSet) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets |
-*KubernetesJsClient.Apps_v1beta1Api* | [**deleteCollectionNamespacedDeployment**](docs/Apps_v1beta1Api.md#deleteCollectionNamespacedDeployment) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/deployments |
-*KubernetesJsClient.Apps_v1beta1Api* | [**deleteCollectionNamespacedStatefulSet**](docs/Apps_v1beta1Api.md#deleteCollectionNamespacedStatefulSet) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets |
-*KubernetesJsClient.Apps_v1beta1Api* | [**deleteNamespacedDeployment**](docs/Apps_v1beta1Api.md#deleteNamespacedDeployment) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} |
-*KubernetesJsClient.Apps_v1beta1Api* | [**deleteNamespacedStatefulSet**](docs/Apps_v1beta1Api.md#deleteNamespacedStatefulSet) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} |
-*KubernetesJsClient.Apps_v1beta1Api* | [**getAPIResources**](docs/Apps_v1beta1Api.md#getAPIResources) | **GET** /apis/apps/v1beta1/ |
-*KubernetesJsClient.Apps_v1beta1Api* | [**listDeploymentForAllNamespaces**](docs/Apps_v1beta1Api.md#listDeploymentForAllNamespaces) | **GET** /apis/apps/v1beta1/deployments |
-*KubernetesJsClient.Apps_v1beta1Api* | [**listNamespacedDeployment**](docs/Apps_v1beta1Api.md#listNamespacedDeployment) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments |
-*KubernetesJsClient.Apps_v1beta1Api* | [**listNamespacedStatefulSet**](docs/Apps_v1beta1Api.md#listNamespacedStatefulSet) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets |
-*KubernetesJsClient.Apps_v1beta1Api* | [**listStatefulSetForAllNamespaces**](docs/Apps_v1beta1Api.md#listStatefulSetForAllNamespaces) | **GET** /apis/apps/v1beta1/statefulsets |
-*KubernetesJsClient.Apps_v1beta1Api* | [**patchNamespacedDeployment**](docs/Apps_v1beta1Api.md#patchNamespacedDeployment) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} |
-*KubernetesJsClient.Apps_v1beta1Api* | [**patchNamespacedDeploymentStatus**](docs/Apps_v1beta1Api.md#patchNamespacedDeploymentStatus) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-*KubernetesJsClient.Apps_v1beta1Api* | [**patchNamespacedScaleScale**](docs/Apps_v1beta1Api.md#patchNamespacedScaleScale) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-*KubernetesJsClient.Apps_v1beta1Api* | [**patchNamespacedStatefulSet**](docs/Apps_v1beta1Api.md#patchNamespacedStatefulSet) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} |
-*KubernetesJsClient.Apps_v1beta1Api* | [**patchNamespacedStatefulSetStatus**](docs/Apps_v1beta1Api.md#patchNamespacedStatefulSetStatus) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status |
-*KubernetesJsClient.Apps_v1beta1Api* | [**readNamespacedDeployment**](docs/Apps_v1beta1Api.md#readNamespacedDeployment) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} |
-*KubernetesJsClient.Apps_v1beta1Api* | [**readNamespacedDeploymentStatus**](docs/Apps_v1beta1Api.md#readNamespacedDeploymentStatus) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-*KubernetesJsClient.Apps_v1beta1Api* | [**readNamespacedScaleScale**](docs/Apps_v1beta1Api.md#readNamespacedScaleScale) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-*KubernetesJsClient.Apps_v1beta1Api* | [**readNamespacedStatefulSet**](docs/Apps_v1beta1Api.md#readNamespacedStatefulSet) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} |
-*KubernetesJsClient.Apps_v1beta1Api* | [**readNamespacedStatefulSetStatus**](docs/Apps_v1beta1Api.md#readNamespacedStatefulSetStatus) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status |
-*KubernetesJsClient.Apps_v1beta1Api* | [**replaceNamespacedDeployment**](docs/Apps_v1beta1Api.md#replaceNamespacedDeployment) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} |
-*KubernetesJsClient.Apps_v1beta1Api* | [**replaceNamespacedDeploymentStatus**](docs/Apps_v1beta1Api.md#replaceNamespacedDeploymentStatus) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-*KubernetesJsClient.Apps_v1beta1Api* | [**replaceNamespacedScaleScale**](docs/Apps_v1beta1Api.md#replaceNamespacedScaleScale) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-*KubernetesJsClient.Apps_v1beta1Api* | [**replaceNamespacedStatefulSet**](docs/Apps_v1beta1Api.md#replaceNamespacedStatefulSet) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} |
-*KubernetesJsClient.Apps_v1beta1Api* | [**replaceNamespacedStatefulSetStatus**](docs/Apps_v1beta1Api.md#replaceNamespacedStatefulSetStatus) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status |
-*KubernetesJsClient.AuthenticationApi* | [**getAPIGroup**](docs/AuthenticationApi.md#getAPIGroup) | **GET** /apis/authentication.k8s.io/ |
-*KubernetesJsClient.Authentication_v1Api* | [**createTokenReview**](docs/Authentication_v1Api.md#createTokenReview) | **POST** /apis/authentication.k8s.io/v1/tokenreviews |
-*KubernetesJsClient.Authentication_v1Api* | [**getAPIResources**](docs/Authentication_v1Api.md#getAPIResources) | **GET** /apis/authentication.k8s.io/v1/ |
-*KubernetesJsClient.Authentication_v1beta1Api* | [**createTokenReview**](docs/Authentication_v1beta1Api.md#createTokenReview) | **POST** /apis/authentication.k8s.io/v1beta1/tokenreviews |
-*KubernetesJsClient.Authentication_v1beta1Api* | [**getAPIResources**](docs/Authentication_v1beta1Api.md#getAPIResources) | **GET** /apis/authentication.k8s.io/v1beta1/ |
-*KubernetesJsClient.AuthorizationApi* | [**getAPIGroup**](docs/AuthorizationApi.md#getAPIGroup) | **GET** /apis/authorization.k8s.io/ |
-*KubernetesJsClient.Authorization_v1Api* | [**createNamespacedLocalSubjectAccessReview**](docs/Authorization_v1Api.md#createNamespacedLocalSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews |
-*KubernetesJsClient.Authorization_v1Api* | [**createSelfSubjectAccessReview**](docs/Authorization_v1Api.md#createSelfSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/selfsubjectaccessreviews |
-*KubernetesJsClient.Authorization_v1Api* | [**createSubjectAccessReview**](docs/Authorization_v1Api.md#createSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/subjectaccessreviews |
-*KubernetesJsClient.Authorization_v1Api* | [**getAPIResources**](docs/Authorization_v1Api.md#getAPIResources) | **GET** /apis/authorization.k8s.io/v1/ |
-*KubernetesJsClient.Authorization_v1beta1Api* | [**createNamespacedLocalSubjectAccessReview**](docs/Authorization_v1beta1Api.md#createNamespacedLocalSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews |
-*KubernetesJsClient.Authorization_v1beta1Api* | [**createSelfSubjectAccessReview**](docs/Authorization_v1beta1Api.md#createSelfSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews |
-*KubernetesJsClient.Authorization_v1beta1Api* | [**createSubjectAccessReview**](docs/Authorization_v1beta1Api.md#createSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/subjectaccessreviews |
-*KubernetesJsClient.Authorization_v1beta1Api* | [**getAPIResources**](docs/Authorization_v1beta1Api.md#getAPIResources) | **GET** /apis/authorization.k8s.io/v1beta1/ |
-*KubernetesJsClient.AutoscalingApi* | [**getAPIGroup**](docs/AutoscalingApi.md#getAPIGroup) | **GET** /apis/autoscaling/ |
-*KubernetesJsClient.Autoscaling_v1Api* | [**createNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v1Api.md#createNamespacedHorizontalPodAutoscaler) | **POST** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers |
-*KubernetesJsClient.Autoscaling_v1Api* | [**deleteCollectionNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v1Api.md#deleteCollectionNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers |
-*KubernetesJsClient.Autoscaling_v1Api* | [**deleteNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v1Api.md#deleteNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-*KubernetesJsClient.Autoscaling_v1Api* | [**getAPIResources**](docs/Autoscaling_v1Api.md#getAPIResources) | **GET** /apis/autoscaling/v1/ |
-*KubernetesJsClient.Autoscaling_v1Api* | [**listHorizontalPodAutoscalerForAllNamespaces**](docs/Autoscaling_v1Api.md#listHorizontalPodAutoscalerForAllNamespaces) | **GET** /apis/autoscaling/v1/horizontalpodautoscalers |
-*KubernetesJsClient.Autoscaling_v1Api* | [**listNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v1Api.md#listNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers |
-*KubernetesJsClient.Autoscaling_v1Api* | [**patchNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v1Api.md#patchNamespacedHorizontalPodAutoscaler) | **PATCH** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-*KubernetesJsClient.Autoscaling_v1Api* | [**patchNamespacedHorizontalPodAutoscalerStatus**](docs/Autoscaling_v1Api.md#patchNamespacedHorizontalPodAutoscalerStatus) | **PATCH** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-*KubernetesJsClient.Autoscaling_v1Api* | [**readNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v1Api.md#readNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-*KubernetesJsClient.Autoscaling_v1Api* | [**readNamespacedHorizontalPodAutoscalerStatus**](docs/Autoscaling_v1Api.md#readNamespacedHorizontalPodAutoscalerStatus) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-*KubernetesJsClient.Autoscaling_v1Api* | [**replaceNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v1Api.md#replaceNamespacedHorizontalPodAutoscaler) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-*KubernetesJsClient.Autoscaling_v1Api* | [**replaceNamespacedHorizontalPodAutoscalerStatus**](docs/Autoscaling_v1Api.md#replaceNamespacedHorizontalPodAutoscalerStatus) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**createNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v2alpha1Api.md#createNamespacedHorizontalPodAutoscaler) | **POST** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**deleteCollectionNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v2alpha1Api.md#deleteCollectionNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**deleteNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v2alpha1Api.md#deleteNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**getAPIResources**](docs/Autoscaling_v2alpha1Api.md#getAPIResources) | **GET** /apis/autoscaling/v2alpha1/ |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**listHorizontalPodAutoscalerForAllNamespaces**](docs/Autoscaling_v2alpha1Api.md#listHorizontalPodAutoscalerForAllNamespaces) | **GET** /apis/autoscaling/v2alpha1/horizontalpodautoscalers |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**listNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v2alpha1Api.md#listNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**patchNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v2alpha1Api.md#patchNamespacedHorizontalPodAutoscaler) | **PATCH** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**patchNamespacedHorizontalPodAutoscalerStatus**](docs/Autoscaling_v2alpha1Api.md#patchNamespacedHorizontalPodAutoscalerStatus) | **PATCH** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**readNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v2alpha1Api.md#readNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**readNamespacedHorizontalPodAutoscalerStatus**](docs/Autoscaling_v2alpha1Api.md#readNamespacedHorizontalPodAutoscalerStatus) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**replaceNamespacedHorizontalPodAutoscaler**](docs/Autoscaling_v2alpha1Api.md#replaceNamespacedHorizontalPodAutoscaler) | **PUT** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-*KubernetesJsClient.Autoscaling_v2alpha1Api* | [**replaceNamespacedHorizontalPodAutoscalerStatus**](docs/Autoscaling_v2alpha1Api.md#replaceNamespacedHorizontalPodAutoscalerStatus) | **PUT** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-*KubernetesJsClient.BatchApi* | [**getAPIGroup**](docs/BatchApi.md#getAPIGroup) | **GET** /apis/batch/ |
-*KubernetesJsClient.Batch_v1Api* | [**createNamespacedJob**](docs/Batch_v1Api.md#createNamespacedJob) | **POST** /apis/batch/v1/namespaces/{namespace}/jobs |
-*KubernetesJsClient.Batch_v1Api* | [**deleteCollectionNamespacedJob**](docs/Batch_v1Api.md#deleteCollectionNamespacedJob) | **DELETE** /apis/batch/v1/namespaces/{namespace}/jobs |
-*KubernetesJsClient.Batch_v1Api* | [**deleteNamespacedJob**](docs/Batch_v1Api.md#deleteNamespacedJob) | **DELETE** /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
-*KubernetesJsClient.Batch_v1Api* | [**getAPIResources**](docs/Batch_v1Api.md#getAPIResources) | **GET** /apis/batch/v1/ |
-*KubernetesJsClient.Batch_v1Api* | [**listJobForAllNamespaces**](docs/Batch_v1Api.md#listJobForAllNamespaces) | **GET** /apis/batch/v1/jobs |
-*KubernetesJsClient.Batch_v1Api* | [**listNamespacedJob**](docs/Batch_v1Api.md#listNamespacedJob) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs |
-*KubernetesJsClient.Batch_v1Api* | [**patchNamespacedJob**](docs/Batch_v1Api.md#patchNamespacedJob) | **PATCH** /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
-*KubernetesJsClient.Batch_v1Api* | [**patchNamespacedJobStatus**](docs/Batch_v1Api.md#patchNamespacedJobStatus) | **PATCH** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status |
-*KubernetesJsClient.Batch_v1Api* | [**readNamespacedJob**](docs/Batch_v1Api.md#readNamespacedJob) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
-*KubernetesJsClient.Batch_v1Api* | [**readNamespacedJobStatus**](docs/Batch_v1Api.md#readNamespacedJobStatus) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status |
-*KubernetesJsClient.Batch_v1Api* | [**replaceNamespacedJob**](docs/Batch_v1Api.md#replaceNamespacedJob) | **PUT** /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
-*KubernetesJsClient.Batch_v1Api* | [**replaceNamespacedJobStatus**](docs/Batch_v1Api.md#replaceNamespacedJobStatus) | **PUT** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**createNamespacedCronJob**](docs/Batch_v2alpha1Api.md#createNamespacedCronJob) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**createNamespacedScheduledJob**](docs/Batch_v2alpha1Api.md#createNamespacedScheduledJob) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**deleteCollectionNamespacedCronJob**](docs/Batch_v2alpha1Api.md#deleteCollectionNamespacedCronJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**deleteCollectionNamespacedScheduledJob**](docs/Batch_v2alpha1Api.md#deleteCollectionNamespacedScheduledJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**deleteNamespacedCronJob**](docs/Batch_v2alpha1Api.md#deleteNamespacedCronJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**deleteNamespacedScheduledJob**](docs/Batch_v2alpha1Api.md#deleteNamespacedScheduledJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**getAPIResources**](docs/Batch_v2alpha1Api.md#getAPIResources) | **GET** /apis/batch/v2alpha1/ |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**listCronJobForAllNamespaces**](docs/Batch_v2alpha1Api.md#listCronJobForAllNamespaces) | **GET** /apis/batch/v2alpha1/cronjobs |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**listNamespacedCronJob**](docs/Batch_v2alpha1Api.md#listNamespacedCronJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**listNamespacedScheduledJob**](docs/Batch_v2alpha1Api.md#listNamespacedScheduledJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**listScheduledJobForAllNamespaces**](docs/Batch_v2alpha1Api.md#listScheduledJobForAllNamespaces) | **GET** /apis/batch/v2alpha1/scheduledjobs |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**patchNamespacedCronJob**](docs/Batch_v2alpha1Api.md#patchNamespacedCronJob) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**patchNamespacedCronJobStatus**](docs/Batch_v2alpha1Api.md#patchNamespacedCronJobStatus) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**patchNamespacedScheduledJob**](docs/Batch_v2alpha1Api.md#patchNamespacedScheduledJob) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**patchNamespacedScheduledJobStatus**](docs/Batch_v2alpha1Api.md#patchNamespacedScheduledJobStatus) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**readNamespacedCronJob**](docs/Batch_v2alpha1Api.md#readNamespacedCronJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**readNamespacedCronJobStatus**](docs/Batch_v2alpha1Api.md#readNamespacedCronJobStatus) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**readNamespacedScheduledJob**](docs/Batch_v2alpha1Api.md#readNamespacedScheduledJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**readNamespacedScheduledJobStatus**](docs/Batch_v2alpha1Api.md#readNamespacedScheduledJobStatus) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**replaceNamespacedCronJob**](docs/Batch_v2alpha1Api.md#replaceNamespacedCronJob) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**replaceNamespacedCronJobStatus**](docs/Batch_v2alpha1Api.md#replaceNamespacedCronJobStatus) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**replaceNamespacedScheduledJob**](docs/Batch_v2alpha1Api.md#replaceNamespacedScheduledJob) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} |
-*KubernetesJsClient.Batch_v2alpha1Api* | [**replaceNamespacedScheduledJobStatus**](docs/Batch_v2alpha1Api.md#replaceNamespacedScheduledJobStatus) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status |
-*KubernetesJsClient.CertificatesApi* | [**getAPIGroup**](docs/CertificatesApi.md#getAPIGroup) | **GET** /apis/certificates.k8s.io/ |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**createCertificateSigningRequest**](docs/Certificates_v1beta1Api.md#createCertificateSigningRequest) | **POST** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**deleteCertificateSigningRequest**](docs/Certificates_v1beta1Api.md#deleteCertificateSigningRequest) | **DELETE** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**deleteCollectionCertificateSigningRequest**](docs/Certificates_v1beta1Api.md#deleteCollectionCertificateSigningRequest) | **DELETE** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**getAPIResources**](docs/Certificates_v1beta1Api.md#getAPIResources) | **GET** /apis/certificates.k8s.io/v1beta1/ |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**listCertificateSigningRequest**](docs/Certificates_v1beta1Api.md#listCertificateSigningRequest) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**patchCertificateSigningRequest**](docs/Certificates_v1beta1Api.md#patchCertificateSigningRequest) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**readCertificateSigningRequest**](docs/Certificates_v1beta1Api.md#readCertificateSigningRequest) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**replaceCertificateSigningRequest**](docs/Certificates_v1beta1Api.md#replaceCertificateSigningRequest) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**replaceCertificateSigningRequestApproval**](docs/Certificates_v1beta1Api.md#replaceCertificateSigningRequestApproval) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval |
-*KubernetesJsClient.Certificates_v1beta1Api* | [**replaceCertificateSigningRequestStatus**](docs/Certificates_v1beta1Api.md#replaceCertificateSigningRequestStatus) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status |
-*KubernetesJsClient.CoreApi* | [**getAPIVersions**](docs/CoreApi.md#getAPIVersions) | **GET** /api/ |
-*KubernetesJsClient.Core_v1Api* | [**connectDeleteNamespacedPodProxy**](docs/Core_v1Api.md#connectDeleteNamespacedPodProxy) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectDeleteNamespacedPodProxyWithPath**](docs/Core_v1Api.md#connectDeleteNamespacedPodProxyWithPath) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectDeleteNamespacedServiceProxy**](docs/Core_v1Api.md#connectDeleteNamespacedServiceProxy) | **DELETE** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectDeleteNamespacedServiceProxyWithPath**](docs/Core_v1Api.md#connectDeleteNamespacedServiceProxyWithPath) | **DELETE** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectDeleteNodeProxy**](docs/Core_v1Api.md#connectDeleteNodeProxy) | **DELETE** /api/v1/nodes/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectDeleteNodeProxyWithPath**](docs/Core_v1Api.md#connectDeleteNodeProxyWithPath) | **DELETE** /api/v1/nodes/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNamespacedPodAttach**](docs/Core_v1Api.md#connectGetNamespacedPodAttach) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/attach |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNamespacedPodExec**](docs/Core_v1Api.md#connectGetNamespacedPodExec) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/exec |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNamespacedPodPortforward**](docs/Core_v1Api.md#connectGetNamespacedPodPortforward) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/portforward |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNamespacedPodProxy**](docs/Core_v1Api.md#connectGetNamespacedPodProxy) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNamespacedPodProxyWithPath**](docs/Core_v1Api.md#connectGetNamespacedPodProxyWithPath) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNamespacedServiceProxy**](docs/Core_v1Api.md#connectGetNamespacedServiceProxy) | **GET** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNamespacedServiceProxyWithPath**](docs/Core_v1Api.md#connectGetNamespacedServiceProxyWithPath) | **GET** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNodeProxy**](docs/Core_v1Api.md#connectGetNodeProxy) | **GET** /api/v1/nodes/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectGetNodeProxyWithPath**](docs/Core_v1Api.md#connectGetNodeProxyWithPath) | **GET** /api/v1/nodes/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectHeadNamespacedPodProxy**](docs/Core_v1Api.md#connectHeadNamespacedPodProxy) | **HEAD** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectHeadNamespacedPodProxyWithPath**](docs/Core_v1Api.md#connectHeadNamespacedPodProxyWithPath) | **HEAD** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectHeadNamespacedServiceProxy**](docs/Core_v1Api.md#connectHeadNamespacedServiceProxy) | **HEAD** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectHeadNamespacedServiceProxyWithPath**](docs/Core_v1Api.md#connectHeadNamespacedServiceProxyWithPath) | **HEAD** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectHeadNodeProxy**](docs/Core_v1Api.md#connectHeadNodeProxy) | **HEAD** /api/v1/nodes/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectHeadNodeProxyWithPath**](docs/Core_v1Api.md#connectHeadNodeProxyWithPath) | **HEAD** /api/v1/nodes/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectOptionsNamespacedPodProxy**](docs/Core_v1Api.md#connectOptionsNamespacedPodProxy) | **OPTIONS** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectOptionsNamespacedPodProxyWithPath**](docs/Core_v1Api.md#connectOptionsNamespacedPodProxyWithPath) | **OPTIONS** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectOptionsNamespacedServiceProxy**](docs/Core_v1Api.md#connectOptionsNamespacedServiceProxy) | **OPTIONS** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectOptionsNamespacedServiceProxyWithPath**](docs/Core_v1Api.md#connectOptionsNamespacedServiceProxyWithPath) | **OPTIONS** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectOptionsNodeProxy**](docs/Core_v1Api.md#connectOptionsNodeProxy) | **OPTIONS** /api/v1/nodes/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectOptionsNodeProxyWithPath**](docs/Core_v1Api.md#connectOptionsNodeProxyWithPath) | **OPTIONS** /api/v1/nodes/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNamespacedPodAttach**](docs/Core_v1Api.md#connectPostNamespacedPodAttach) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/attach |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNamespacedPodExec**](docs/Core_v1Api.md#connectPostNamespacedPodExec) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/exec |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNamespacedPodPortforward**](docs/Core_v1Api.md#connectPostNamespacedPodPortforward) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/portforward |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNamespacedPodProxy**](docs/Core_v1Api.md#connectPostNamespacedPodProxy) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNamespacedPodProxyWithPath**](docs/Core_v1Api.md#connectPostNamespacedPodProxyWithPath) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNamespacedServiceProxy**](docs/Core_v1Api.md#connectPostNamespacedServiceProxy) | **POST** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNamespacedServiceProxyWithPath**](docs/Core_v1Api.md#connectPostNamespacedServiceProxyWithPath) | **POST** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNodeProxy**](docs/Core_v1Api.md#connectPostNodeProxy) | **POST** /api/v1/nodes/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectPostNodeProxyWithPath**](docs/Core_v1Api.md#connectPostNodeProxyWithPath) | **POST** /api/v1/nodes/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectPutNamespacedPodProxy**](docs/Core_v1Api.md#connectPutNamespacedPodProxy) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectPutNamespacedPodProxyWithPath**](docs/Core_v1Api.md#connectPutNamespacedPodProxyWithPath) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectPutNamespacedServiceProxy**](docs/Core_v1Api.md#connectPutNamespacedServiceProxy) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectPutNamespacedServiceProxyWithPath**](docs/Core_v1Api.md#connectPutNamespacedServiceProxyWithPath) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**connectPutNodeProxy**](docs/Core_v1Api.md#connectPutNodeProxy) | **PUT** /api/v1/nodes/{name}/proxy |
-*KubernetesJsClient.Core_v1Api* | [**connectPutNodeProxyWithPath**](docs/Core_v1Api.md#connectPutNodeProxyWithPath) | **PUT** /api/v1/nodes/{name}/proxy/{path} |
-*KubernetesJsClient.Core_v1Api* | [**createNamespace**](docs/Core_v1Api.md#createNamespace) | **POST** /api/v1/namespaces |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedBinding**](docs/Core_v1Api.md#createNamespacedBinding) | **POST** /api/v1/namespaces/{namespace}/bindings |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedBindingBinding**](docs/Core_v1Api.md#createNamespacedBindingBinding) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/binding |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedConfigMap**](docs/Core_v1Api.md#createNamespacedConfigMap) | **POST** /api/v1/namespaces/{namespace}/configmaps |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedEndpoints**](docs/Core_v1Api.md#createNamespacedEndpoints) | **POST** /api/v1/namespaces/{namespace}/endpoints |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedEvent**](docs/Core_v1Api.md#createNamespacedEvent) | **POST** /api/v1/namespaces/{namespace}/events |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedEvictionEviction**](docs/Core_v1Api.md#createNamespacedEvictionEviction) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/eviction |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedLimitRange**](docs/Core_v1Api.md#createNamespacedLimitRange) | **POST** /api/v1/namespaces/{namespace}/limitranges |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedPersistentVolumeClaim**](docs/Core_v1Api.md#createNamespacedPersistentVolumeClaim) | **POST** /api/v1/namespaces/{namespace}/persistentvolumeclaims |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedPod**](docs/Core_v1Api.md#createNamespacedPod) | **POST** /api/v1/namespaces/{namespace}/pods |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedPodTemplate**](docs/Core_v1Api.md#createNamespacedPodTemplate) | **POST** /api/v1/namespaces/{namespace}/podtemplates |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedReplicationController**](docs/Core_v1Api.md#createNamespacedReplicationController) | **POST** /api/v1/namespaces/{namespace}/replicationcontrollers |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedResourceQuota**](docs/Core_v1Api.md#createNamespacedResourceQuota) | **POST** /api/v1/namespaces/{namespace}/resourcequotas |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedSecret**](docs/Core_v1Api.md#createNamespacedSecret) | **POST** /api/v1/namespaces/{namespace}/secrets |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedService**](docs/Core_v1Api.md#createNamespacedService) | **POST** /api/v1/namespaces/{namespace}/services |
-*KubernetesJsClient.Core_v1Api* | [**createNamespacedServiceAccount**](docs/Core_v1Api.md#createNamespacedServiceAccount) | **POST** /api/v1/namespaces/{namespace}/serviceaccounts |
-*KubernetesJsClient.Core_v1Api* | [**createNode**](docs/Core_v1Api.md#createNode) | **POST** /api/v1/nodes |
-*KubernetesJsClient.Core_v1Api* | [**createPersistentVolume**](docs/Core_v1Api.md#createPersistentVolume) | **POST** /api/v1/persistentvolumes |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespace**](docs/Core_v1Api.md#deleteCollectionNamespace) | **DELETE** /api/v1/namespaces |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedConfigMap**](docs/Core_v1Api.md#deleteCollectionNamespacedConfigMap) | **DELETE** /api/v1/namespaces/{namespace}/configmaps |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedEndpoints**](docs/Core_v1Api.md#deleteCollectionNamespacedEndpoints) | **DELETE** /api/v1/namespaces/{namespace}/endpoints |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedEvent**](docs/Core_v1Api.md#deleteCollectionNamespacedEvent) | **DELETE** /api/v1/namespaces/{namespace}/events |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedLimitRange**](docs/Core_v1Api.md#deleteCollectionNamespacedLimitRange) | **DELETE** /api/v1/namespaces/{namespace}/limitranges |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedPersistentVolumeClaim**](docs/Core_v1Api.md#deleteCollectionNamespacedPersistentVolumeClaim) | **DELETE** /api/v1/namespaces/{namespace}/persistentvolumeclaims |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedPod**](docs/Core_v1Api.md#deleteCollectionNamespacedPod) | **DELETE** /api/v1/namespaces/{namespace}/pods |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedPodTemplate**](docs/Core_v1Api.md#deleteCollectionNamespacedPodTemplate) | **DELETE** /api/v1/namespaces/{namespace}/podtemplates |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedReplicationController**](docs/Core_v1Api.md#deleteCollectionNamespacedReplicationController) | **DELETE** /api/v1/namespaces/{namespace}/replicationcontrollers |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedResourceQuota**](docs/Core_v1Api.md#deleteCollectionNamespacedResourceQuota) | **DELETE** /api/v1/namespaces/{namespace}/resourcequotas |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedSecret**](docs/Core_v1Api.md#deleteCollectionNamespacedSecret) | **DELETE** /api/v1/namespaces/{namespace}/secrets |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNamespacedServiceAccount**](docs/Core_v1Api.md#deleteCollectionNamespacedServiceAccount) | **DELETE** /api/v1/namespaces/{namespace}/serviceaccounts |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionNode**](docs/Core_v1Api.md#deleteCollectionNode) | **DELETE** /api/v1/nodes |
-*KubernetesJsClient.Core_v1Api* | [**deleteCollectionPersistentVolume**](docs/Core_v1Api.md#deleteCollectionPersistentVolume) | **DELETE** /api/v1/persistentvolumes |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespace**](docs/Core_v1Api.md#deleteNamespace) | **DELETE** /api/v1/namespaces/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedConfigMap**](docs/Core_v1Api.md#deleteNamespacedConfigMap) | **DELETE** /api/v1/namespaces/{namespace}/configmaps/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedEndpoints**](docs/Core_v1Api.md#deleteNamespacedEndpoints) | **DELETE** /api/v1/namespaces/{namespace}/endpoints/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedEvent**](docs/Core_v1Api.md#deleteNamespacedEvent) | **DELETE** /api/v1/namespaces/{namespace}/events/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedLimitRange**](docs/Core_v1Api.md#deleteNamespacedLimitRange) | **DELETE** /api/v1/namespaces/{namespace}/limitranges/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedPersistentVolumeClaim**](docs/Core_v1Api.md#deleteNamespacedPersistentVolumeClaim) | **DELETE** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedPod**](docs/Core_v1Api.md#deleteNamespacedPod) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedPodTemplate**](docs/Core_v1Api.md#deleteNamespacedPodTemplate) | **DELETE** /api/v1/namespaces/{namespace}/podtemplates/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedReplicationController**](docs/Core_v1Api.md#deleteNamespacedReplicationController) | **DELETE** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedResourceQuota**](docs/Core_v1Api.md#deleteNamespacedResourceQuota) | **DELETE** /api/v1/namespaces/{namespace}/resourcequotas/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedSecret**](docs/Core_v1Api.md#deleteNamespacedSecret) | **DELETE** /api/v1/namespaces/{namespace}/secrets/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedService**](docs/Core_v1Api.md#deleteNamespacedService) | **DELETE** /api/v1/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNamespacedServiceAccount**](docs/Core_v1Api.md#deleteNamespacedServiceAccount) | **DELETE** /api/v1/namespaces/{namespace}/serviceaccounts/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deleteNode**](docs/Core_v1Api.md#deleteNode) | **DELETE** /api/v1/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**deletePersistentVolume**](docs/Core_v1Api.md#deletePersistentVolume) | **DELETE** /api/v1/persistentvolumes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**getAPIResources**](docs/Core_v1Api.md#getAPIResources) | **GET** /api/v1/ |
-*KubernetesJsClient.Core_v1Api* | [**listComponentStatus**](docs/Core_v1Api.md#listComponentStatus) | **GET** /api/v1/componentstatuses |
-*KubernetesJsClient.Core_v1Api* | [**listConfigMapForAllNamespaces**](docs/Core_v1Api.md#listConfigMapForAllNamespaces) | **GET** /api/v1/configmaps |
-*KubernetesJsClient.Core_v1Api* | [**listEndpointsForAllNamespaces**](docs/Core_v1Api.md#listEndpointsForAllNamespaces) | **GET** /api/v1/endpoints |
-*KubernetesJsClient.Core_v1Api* | [**listEventForAllNamespaces**](docs/Core_v1Api.md#listEventForAllNamespaces) | **GET** /api/v1/events |
-*KubernetesJsClient.Core_v1Api* | [**listLimitRangeForAllNamespaces**](docs/Core_v1Api.md#listLimitRangeForAllNamespaces) | **GET** /api/v1/limitranges |
-*KubernetesJsClient.Core_v1Api* | [**listNamespace**](docs/Core_v1Api.md#listNamespace) | **GET** /api/v1/namespaces |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedConfigMap**](docs/Core_v1Api.md#listNamespacedConfigMap) | **GET** /api/v1/namespaces/{namespace}/configmaps |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedEndpoints**](docs/Core_v1Api.md#listNamespacedEndpoints) | **GET** /api/v1/namespaces/{namespace}/endpoints |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedEvent**](docs/Core_v1Api.md#listNamespacedEvent) | **GET** /api/v1/namespaces/{namespace}/events |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedLimitRange**](docs/Core_v1Api.md#listNamespacedLimitRange) | **GET** /api/v1/namespaces/{namespace}/limitranges |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedPersistentVolumeClaim**](docs/Core_v1Api.md#listNamespacedPersistentVolumeClaim) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedPod**](docs/Core_v1Api.md#listNamespacedPod) | **GET** /api/v1/namespaces/{namespace}/pods |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedPodTemplate**](docs/Core_v1Api.md#listNamespacedPodTemplate) | **GET** /api/v1/namespaces/{namespace}/podtemplates |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedReplicationController**](docs/Core_v1Api.md#listNamespacedReplicationController) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedResourceQuota**](docs/Core_v1Api.md#listNamespacedResourceQuota) | **GET** /api/v1/namespaces/{namespace}/resourcequotas |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedSecret**](docs/Core_v1Api.md#listNamespacedSecret) | **GET** /api/v1/namespaces/{namespace}/secrets |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedService**](docs/Core_v1Api.md#listNamespacedService) | **GET** /api/v1/namespaces/{namespace}/services |
-*KubernetesJsClient.Core_v1Api* | [**listNamespacedServiceAccount**](docs/Core_v1Api.md#listNamespacedServiceAccount) | **GET** /api/v1/namespaces/{namespace}/serviceaccounts |
-*KubernetesJsClient.Core_v1Api* | [**listNode**](docs/Core_v1Api.md#listNode) | **GET** /api/v1/nodes |
-*KubernetesJsClient.Core_v1Api* | [**listPersistentVolume**](docs/Core_v1Api.md#listPersistentVolume) | **GET** /api/v1/persistentvolumes |
-*KubernetesJsClient.Core_v1Api* | [**listPersistentVolumeClaimForAllNamespaces**](docs/Core_v1Api.md#listPersistentVolumeClaimForAllNamespaces) | **GET** /api/v1/persistentvolumeclaims |
-*KubernetesJsClient.Core_v1Api* | [**listPodForAllNamespaces**](docs/Core_v1Api.md#listPodForAllNamespaces) | **GET** /api/v1/pods |
-*KubernetesJsClient.Core_v1Api* | [**listPodTemplateForAllNamespaces**](docs/Core_v1Api.md#listPodTemplateForAllNamespaces) | **GET** /api/v1/podtemplates |
-*KubernetesJsClient.Core_v1Api* | [**listReplicationControllerForAllNamespaces**](docs/Core_v1Api.md#listReplicationControllerForAllNamespaces) | **GET** /api/v1/replicationcontrollers |
-*KubernetesJsClient.Core_v1Api* | [**listResourceQuotaForAllNamespaces**](docs/Core_v1Api.md#listResourceQuotaForAllNamespaces) | **GET** /api/v1/resourcequotas |
-*KubernetesJsClient.Core_v1Api* | [**listSecretForAllNamespaces**](docs/Core_v1Api.md#listSecretForAllNamespaces) | **GET** /api/v1/secrets |
-*KubernetesJsClient.Core_v1Api* | [**listServiceAccountForAllNamespaces**](docs/Core_v1Api.md#listServiceAccountForAllNamespaces) | **GET** /api/v1/serviceaccounts |
-*KubernetesJsClient.Core_v1Api* | [**listServiceForAllNamespaces**](docs/Core_v1Api.md#listServiceForAllNamespaces) | **GET** /api/v1/services |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespace**](docs/Core_v1Api.md#patchNamespace) | **PATCH** /api/v1/namespaces/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespaceStatus**](docs/Core_v1Api.md#patchNamespaceStatus) | **PATCH** /api/v1/namespaces/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedConfigMap**](docs/Core_v1Api.md#patchNamespacedConfigMap) | **PATCH** /api/v1/namespaces/{namespace}/configmaps/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedEndpoints**](docs/Core_v1Api.md#patchNamespacedEndpoints) | **PATCH** /api/v1/namespaces/{namespace}/endpoints/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedEvent**](docs/Core_v1Api.md#patchNamespacedEvent) | **PATCH** /api/v1/namespaces/{namespace}/events/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedLimitRange**](docs/Core_v1Api.md#patchNamespacedLimitRange) | **PATCH** /api/v1/namespaces/{namespace}/limitranges/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedPersistentVolumeClaim**](docs/Core_v1Api.md#patchNamespacedPersistentVolumeClaim) | **PATCH** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedPersistentVolumeClaimStatus**](docs/Core_v1Api.md#patchNamespacedPersistentVolumeClaimStatus) | **PATCH** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedPod**](docs/Core_v1Api.md#patchNamespacedPod) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedPodStatus**](docs/Core_v1Api.md#patchNamespacedPodStatus) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedPodTemplate**](docs/Core_v1Api.md#patchNamespacedPodTemplate) | **PATCH** /api/v1/namespaces/{namespace}/podtemplates/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedReplicationController**](docs/Core_v1Api.md#patchNamespacedReplicationController) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedReplicationControllerStatus**](docs/Core_v1Api.md#patchNamespacedReplicationControllerStatus) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedResourceQuota**](docs/Core_v1Api.md#patchNamespacedResourceQuota) | **PATCH** /api/v1/namespaces/{namespace}/resourcequotas/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedResourceQuotaStatus**](docs/Core_v1Api.md#patchNamespacedResourceQuotaStatus) | **PATCH** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedScaleScale**](docs/Core_v1Api.md#patchNamespacedScaleScale) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedSecret**](docs/Core_v1Api.md#patchNamespacedSecret) | **PATCH** /api/v1/namespaces/{namespace}/secrets/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedService**](docs/Core_v1Api.md#patchNamespacedService) | **PATCH** /api/v1/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedServiceAccount**](docs/Core_v1Api.md#patchNamespacedServiceAccount) | **PATCH** /api/v1/namespaces/{namespace}/serviceaccounts/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNamespacedServiceStatus**](docs/Core_v1Api.md#patchNamespacedServiceStatus) | **PATCH** /api/v1/namespaces/{namespace}/services/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**patchNode**](docs/Core_v1Api.md#patchNode) | **PATCH** /api/v1/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchNodeStatus**](docs/Core_v1Api.md#patchNodeStatus) | **PATCH** /api/v1/nodes/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**patchPersistentVolume**](docs/Core_v1Api.md#patchPersistentVolume) | **PATCH** /api/v1/persistentvolumes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**patchPersistentVolumeStatus**](docs/Core_v1Api.md#patchPersistentVolumeStatus) | **PATCH** /api/v1/persistentvolumes/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**proxyDELETENamespacedPod**](docs/Core_v1Api.md#proxyDELETENamespacedPod) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyDELETENamespacedPodWithPath**](docs/Core_v1Api.md#proxyDELETENamespacedPodWithPath) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyDELETENamespacedService**](docs/Core_v1Api.md#proxyDELETENamespacedService) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyDELETENamespacedServiceWithPath**](docs/Core_v1Api.md#proxyDELETENamespacedServiceWithPath) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyDELETENode**](docs/Core_v1Api.md#proxyDELETENode) | **DELETE** /api/v1/proxy/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyDELETENodeWithPath**](docs/Core_v1Api.md#proxyDELETENodeWithPath) | **DELETE** /api/v1/proxy/nodes/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyGETNamespacedPod**](docs/Core_v1Api.md#proxyGETNamespacedPod) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyGETNamespacedPodWithPath**](docs/Core_v1Api.md#proxyGETNamespacedPodWithPath) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyGETNamespacedService**](docs/Core_v1Api.md#proxyGETNamespacedService) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyGETNamespacedServiceWithPath**](docs/Core_v1Api.md#proxyGETNamespacedServiceWithPath) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyGETNode**](docs/Core_v1Api.md#proxyGETNode) | **GET** /api/v1/proxy/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyGETNodeWithPath**](docs/Core_v1Api.md#proxyGETNodeWithPath) | **GET** /api/v1/proxy/nodes/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyHEADNamespacedPod**](docs/Core_v1Api.md#proxyHEADNamespacedPod) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyHEADNamespacedPodWithPath**](docs/Core_v1Api.md#proxyHEADNamespacedPodWithPath) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyHEADNamespacedService**](docs/Core_v1Api.md#proxyHEADNamespacedService) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyHEADNamespacedServiceWithPath**](docs/Core_v1Api.md#proxyHEADNamespacedServiceWithPath) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyHEADNode**](docs/Core_v1Api.md#proxyHEADNode) | **HEAD** /api/v1/proxy/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyHEADNodeWithPath**](docs/Core_v1Api.md#proxyHEADNodeWithPath) | **HEAD** /api/v1/proxy/nodes/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyOPTIONSNamespacedPod**](docs/Core_v1Api.md#proxyOPTIONSNamespacedPod) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyOPTIONSNamespacedPodWithPath**](docs/Core_v1Api.md#proxyOPTIONSNamespacedPodWithPath) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyOPTIONSNamespacedService**](docs/Core_v1Api.md#proxyOPTIONSNamespacedService) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyOPTIONSNamespacedServiceWithPath**](docs/Core_v1Api.md#proxyOPTIONSNamespacedServiceWithPath) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyOPTIONSNode**](docs/Core_v1Api.md#proxyOPTIONSNode) | **OPTIONS** /api/v1/proxy/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyOPTIONSNodeWithPath**](docs/Core_v1Api.md#proxyOPTIONSNodeWithPath) | **OPTIONS** /api/v1/proxy/nodes/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPATCHNamespacedPod**](docs/Core_v1Api.md#proxyPATCHNamespacedPod) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPATCHNamespacedPodWithPath**](docs/Core_v1Api.md#proxyPATCHNamespacedPodWithPath) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPATCHNamespacedService**](docs/Core_v1Api.md#proxyPATCHNamespacedService) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPATCHNamespacedServiceWithPath**](docs/Core_v1Api.md#proxyPATCHNamespacedServiceWithPath) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPATCHNode**](docs/Core_v1Api.md#proxyPATCHNode) | **PATCH** /api/v1/proxy/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPATCHNodeWithPath**](docs/Core_v1Api.md#proxyPATCHNodeWithPath) | **PATCH** /api/v1/proxy/nodes/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPOSTNamespacedPod**](docs/Core_v1Api.md#proxyPOSTNamespacedPod) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPOSTNamespacedPodWithPath**](docs/Core_v1Api.md#proxyPOSTNamespacedPodWithPath) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPOSTNamespacedService**](docs/Core_v1Api.md#proxyPOSTNamespacedService) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPOSTNamespacedServiceWithPath**](docs/Core_v1Api.md#proxyPOSTNamespacedServiceWithPath) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPOSTNode**](docs/Core_v1Api.md#proxyPOSTNode) | **POST** /api/v1/proxy/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPOSTNodeWithPath**](docs/Core_v1Api.md#proxyPOSTNodeWithPath) | **POST** /api/v1/proxy/nodes/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPUTNamespacedPod**](docs/Core_v1Api.md#proxyPUTNamespacedPod) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPUTNamespacedPodWithPath**](docs/Core_v1Api.md#proxyPUTNamespacedPodWithPath) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPUTNamespacedService**](docs/Core_v1Api.md#proxyPUTNamespacedService) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPUTNamespacedServiceWithPath**](docs/Core_v1Api.md#proxyPUTNamespacedServiceWithPath) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPUTNode**](docs/Core_v1Api.md#proxyPUTNode) | **PUT** /api/v1/proxy/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**proxyPUTNodeWithPath**](docs/Core_v1Api.md#proxyPUTNodeWithPath) | **PUT** /api/v1/proxy/nodes/{name}/{path} |
-*KubernetesJsClient.Core_v1Api* | [**readComponentStatus**](docs/Core_v1Api.md#readComponentStatus) | **GET** /api/v1/componentstatuses/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespace**](docs/Core_v1Api.md#readNamespace) | **GET** /api/v1/namespaces/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespaceStatus**](docs/Core_v1Api.md#readNamespaceStatus) | **GET** /api/v1/namespaces/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedConfigMap**](docs/Core_v1Api.md#readNamespacedConfigMap) | **GET** /api/v1/namespaces/{namespace}/configmaps/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedEndpoints**](docs/Core_v1Api.md#readNamespacedEndpoints) | **GET** /api/v1/namespaces/{namespace}/endpoints/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedEvent**](docs/Core_v1Api.md#readNamespacedEvent) | **GET** /api/v1/namespaces/{namespace}/events/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedLimitRange**](docs/Core_v1Api.md#readNamespacedLimitRange) | **GET** /api/v1/namespaces/{namespace}/limitranges/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedPersistentVolumeClaim**](docs/Core_v1Api.md#readNamespacedPersistentVolumeClaim) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedPersistentVolumeClaimStatus**](docs/Core_v1Api.md#readNamespacedPersistentVolumeClaimStatus) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedPod**](docs/Core_v1Api.md#readNamespacedPod) | **GET** /api/v1/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedPodLog**](docs/Core_v1Api.md#readNamespacedPodLog) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/log |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedPodStatus**](docs/Core_v1Api.md#readNamespacedPodStatus) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedPodTemplate**](docs/Core_v1Api.md#readNamespacedPodTemplate) | **GET** /api/v1/namespaces/{namespace}/podtemplates/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedReplicationController**](docs/Core_v1Api.md#readNamespacedReplicationController) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedReplicationControllerStatus**](docs/Core_v1Api.md#readNamespacedReplicationControllerStatus) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedResourceQuota**](docs/Core_v1Api.md#readNamespacedResourceQuota) | **GET** /api/v1/namespaces/{namespace}/resourcequotas/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedResourceQuotaStatus**](docs/Core_v1Api.md#readNamespacedResourceQuotaStatus) | **GET** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedScaleScale**](docs/Core_v1Api.md#readNamespacedScaleScale) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedSecret**](docs/Core_v1Api.md#readNamespacedSecret) | **GET** /api/v1/namespaces/{namespace}/secrets/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedService**](docs/Core_v1Api.md#readNamespacedService) | **GET** /api/v1/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedServiceAccount**](docs/Core_v1Api.md#readNamespacedServiceAccount) | **GET** /api/v1/namespaces/{namespace}/serviceaccounts/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNamespacedServiceStatus**](docs/Core_v1Api.md#readNamespacedServiceStatus) | **GET** /api/v1/namespaces/{namespace}/services/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**readNode**](docs/Core_v1Api.md#readNode) | **GET** /api/v1/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readNodeStatus**](docs/Core_v1Api.md#readNodeStatus) | **GET** /api/v1/nodes/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**readPersistentVolume**](docs/Core_v1Api.md#readPersistentVolume) | **GET** /api/v1/persistentvolumes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**readPersistentVolumeStatus**](docs/Core_v1Api.md#readPersistentVolumeStatus) | **GET** /api/v1/persistentvolumes/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespace**](docs/Core_v1Api.md#replaceNamespace) | **PUT** /api/v1/namespaces/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespaceFinalize**](docs/Core_v1Api.md#replaceNamespaceFinalize) | **PUT** /api/v1/namespaces/{name}/finalize |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespaceStatus**](docs/Core_v1Api.md#replaceNamespaceStatus) | **PUT** /api/v1/namespaces/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedConfigMap**](docs/Core_v1Api.md#replaceNamespacedConfigMap) | **PUT** /api/v1/namespaces/{namespace}/configmaps/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedEndpoints**](docs/Core_v1Api.md#replaceNamespacedEndpoints) | **PUT** /api/v1/namespaces/{namespace}/endpoints/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedEvent**](docs/Core_v1Api.md#replaceNamespacedEvent) | **PUT** /api/v1/namespaces/{namespace}/events/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedLimitRange**](docs/Core_v1Api.md#replaceNamespacedLimitRange) | **PUT** /api/v1/namespaces/{namespace}/limitranges/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedPersistentVolumeClaim**](docs/Core_v1Api.md#replaceNamespacedPersistentVolumeClaim) | **PUT** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedPersistentVolumeClaimStatus**](docs/Core_v1Api.md#replaceNamespacedPersistentVolumeClaimStatus) | **PUT** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedPod**](docs/Core_v1Api.md#replaceNamespacedPod) | **PUT** /api/v1/namespaces/{namespace}/pods/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedPodStatus**](docs/Core_v1Api.md#replaceNamespacedPodStatus) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedPodTemplate**](docs/Core_v1Api.md#replaceNamespacedPodTemplate) | **PUT** /api/v1/namespaces/{namespace}/podtemplates/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedReplicationController**](docs/Core_v1Api.md#replaceNamespacedReplicationController) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedReplicationControllerStatus**](docs/Core_v1Api.md#replaceNamespacedReplicationControllerStatus) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedResourceQuota**](docs/Core_v1Api.md#replaceNamespacedResourceQuota) | **PUT** /api/v1/namespaces/{namespace}/resourcequotas/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedResourceQuotaStatus**](docs/Core_v1Api.md#replaceNamespacedResourceQuotaStatus) | **PUT** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedScaleScale**](docs/Core_v1Api.md#replaceNamespacedScaleScale) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedSecret**](docs/Core_v1Api.md#replaceNamespacedSecret) | **PUT** /api/v1/namespaces/{namespace}/secrets/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedService**](docs/Core_v1Api.md#replaceNamespacedService) | **PUT** /api/v1/namespaces/{namespace}/services/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedServiceAccount**](docs/Core_v1Api.md#replaceNamespacedServiceAccount) | **PUT** /api/v1/namespaces/{namespace}/serviceaccounts/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNamespacedServiceStatus**](docs/Core_v1Api.md#replaceNamespacedServiceStatus) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**replaceNode**](docs/Core_v1Api.md#replaceNode) | **PUT** /api/v1/nodes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replaceNodeStatus**](docs/Core_v1Api.md#replaceNodeStatus) | **PUT** /api/v1/nodes/{name}/status |
-*KubernetesJsClient.Core_v1Api* | [**replacePersistentVolume**](docs/Core_v1Api.md#replacePersistentVolume) | **PUT** /api/v1/persistentvolumes/{name} |
-*KubernetesJsClient.Core_v1Api* | [**replacePersistentVolumeStatus**](docs/Core_v1Api.md#replacePersistentVolumeStatus) | **PUT** /api/v1/persistentvolumes/{name}/status |
-*KubernetesJsClient.ExtensionsApi* | [**getAPIGroup**](docs/ExtensionsApi.md#getAPIGroup) | **GET** /apis/extensions/ |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**createNamespacedDaemonSet**](docs/Extensions_v1beta1Api.md#createNamespacedDaemonSet) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**createNamespacedDeployment**](docs/Extensions_v1beta1Api.md#createNamespacedDeployment) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**createNamespacedDeploymentRollbackRollback**](docs/Extensions_v1beta1Api.md#createNamespacedDeploymentRollbackRollback) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**createNamespacedIngress**](docs/Extensions_v1beta1Api.md#createNamespacedIngress) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**createNamespacedNetworkPolicy**](docs/Extensions_v1beta1Api.md#createNamespacedNetworkPolicy) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**createNamespacedReplicaSet**](docs/Extensions_v1beta1Api.md#createNamespacedReplicaSet) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**createPodSecurityPolicy**](docs/Extensions_v1beta1Api.md#createPodSecurityPolicy) | **POST** /apis/extensions/v1beta1/podsecuritypolicies |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**createThirdPartyResource**](docs/Extensions_v1beta1Api.md#createThirdPartyResource) | **POST** /apis/extensions/v1beta1/thirdpartyresources |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteCollectionNamespacedDaemonSet**](docs/Extensions_v1beta1Api.md#deleteCollectionNamespacedDaemonSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteCollectionNamespacedDeployment**](docs/Extensions_v1beta1Api.md#deleteCollectionNamespacedDeployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteCollectionNamespacedIngress**](docs/Extensions_v1beta1Api.md#deleteCollectionNamespacedIngress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteCollectionNamespacedNetworkPolicy**](docs/Extensions_v1beta1Api.md#deleteCollectionNamespacedNetworkPolicy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteCollectionNamespacedReplicaSet**](docs/Extensions_v1beta1Api.md#deleteCollectionNamespacedReplicaSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteCollectionPodSecurityPolicy**](docs/Extensions_v1beta1Api.md#deleteCollectionPodSecurityPolicy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteCollectionThirdPartyResource**](docs/Extensions_v1beta1Api.md#deleteCollectionThirdPartyResource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteNamespacedDaemonSet**](docs/Extensions_v1beta1Api.md#deleteNamespacedDaemonSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteNamespacedDeployment**](docs/Extensions_v1beta1Api.md#deleteNamespacedDeployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteNamespacedIngress**](docs/Extensions_v1beta1Api.md#deleteNamespacedIngress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteNamespacedNetworkPolicy**](docs/Extensions_v1beta1Api.md#deleteNamespacedNetworkPolicy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteNamespacedReplicaSet**](docs/Extensions_v1beta1Api.md#deleteNamespacedReplicaSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deletePodSecurityPolicy**](docs/Extensions_v1beta1Api.md#deletePodSecurityPolicy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**deleteThirdPartyResource**](docs/Extensions_v1beta1Api.md#deleteThirdPartyResource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**getAPIResources**](docs/Extensions_v1beta1Api.md#getAPIResources) | **GET** /apis/extensions/v1beta1/ |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listDaemonSetForAllNamespaces**](docs/Extensions_v1beta1Api.md#listDaemonSetForAllNamespaces) | **GET** /apis/extensions/v1beta1/daemonsets |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listDeploymentForAllNamespaces**](docs/Extensions_v1beta1Api.md#listDeploymentForAllNamespaces) | **GET** /apis/extensions/v1beta1/deployments |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listIngressForAllNamespaces**](docs/Extensions_v1beta1Api.md#listIngressForAllNamespaces) | **GET** /apis/extensions/v1beta1/ingresses |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listNamespacedDaemonSet**](docs/Extensions_v1beta1Api.md#listNamespacedDaemonSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listNamespacedDeployment**](docs/Extensions_v1beta1Api.md#listNamespacedDeployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listNamespacedIngress**](docs/Extensions_v1beta1Api.md#listNamespacedIngress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listNamespacedNetworkPolicy**](docs/Extensions_v1beta1Api.md#listNamespacedNetworkPolicy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listNamespacedReplicaSet**](docs/Extensions_v1beta1Api.md#listNamespacedReplicaSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listNetworkPolicyForAllNamespaces**](docs/Extensions_v1beta1Api.md#listNetworkPolicyForAllNamespaces) | **GET** /apis/extensions/v1beta1/networkpolicies |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listPodSecurityPolicy**](docs/Extensions_v1beta1Api.md#listPodSecurityPolicy) | **GET** /apis/extensions/v1beta1/podsecuritypolicies |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listReplicaSetForAllNamespaces**](docs/Extensions_v1beta1Api.md#listReplicaSetForAllNamespaces) | **GET** /apis/extensions/v1beta1/replicasets |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**listThirdPartyResource**](docs/Extensions_v1beta1Api.md#listThirdPartyResource) | **GET** /apis/extensions/v1beta1/thirdpartyresources |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedDaemonSet**](docs/Extensions_v1beta1Api.md#patchNamespacedDaemonSet) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedDaemonSetStatus**](docs/Extensions_v1beta1Api.md#patchNamespacedDaemonSetStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedDeployment**](docs/Extensions_v1beta1Api.md#patchNamespacedDeployment) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedDeploymentStatus**](docs/Extensions_v1beta1Api.md#patchNamespacedDeploymentStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedDeploymentsScale**](docs/Extensions_v1beta1Api.md#patchNamespacedDeploymentsScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedIngress**](docs/Extensions_v1beta1Api.md#patchNamespacedIngress) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedIngressStatus**](docs/Extensions_v1beta1Api.md#patchNamespacedIngressStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedNetworkPolicy**](docs/Extensions_v1beta1Api.md#patchNamespacedNetworkPolicy) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedReplicaSet**](docs/Extensions_v1beta1Api.md#patchNamespacedReplicaSet) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedReplicaSetStatus**](docs/Extensions_v1beta1Api.md#patchNamespacedReplicaSetStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedReplicasetsScale**](docs/Extensions_v1beta1Api.md#patchNamespacedReplicasetsScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchNamespacedReplicationcontrollersScale**](docs/Extensions_v1beta1Api.md#patchNamespacedReplicationcontrollersScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchPodSecurityPolicy**](docs/Extensions_v1beta1Api.md#patchPodSecurityPolicy) | **PATCH** /apis/extensions/v1beta1/podsecuritypolicies/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**patchThirdPartyResource**](docs/Extensions_v1beta1Api.md#patchThirdPartyResource) | **PATCH** /apis/extensions/v1beta1/thirdpartyresources/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedDaemonSet**](docs/Extensions_v1beta1Api.md#readNamespacedDaemonSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedDaemonSetStatus**](docs/Extensions_v1beta1Api.md#readNamespacedDaemonSetStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedDeployment**](docs/Extensions_v1beta1Api.md#readNamespacedDeployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedDeploymentStatus**](docs/Extensions_v1beta1Api.md#readNamespacedDeploymentStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedDeploymentsScale**](docs/Extensions_v1beta1Api.md#readNamespacedDeploymentsScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedIngress**](docs/Extensions_v1beta1Api.md#readNamespacedIngress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedIngressStatus**](docs/Extensions_v1beta1Api.md#readNamespacedIngressStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedNetworkPolicy**](docs/Extensions_v1beta1Api.md#readNamespacedNetworkPolicy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedReplicaSet**](docs/Extensions_v1beta1Api.md#readNamespacedReplicaSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedReplicaSetStatus**](docs/Extensions_v1beta1Api.md#readNamespacedReplicaSetStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedReplicasetsScale**](docs/Extensions_v1beta1Api.md#readNamespacedReplicasetsScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readNamespacedReplicationcontrollersScale**](docs/Extensions_v1beta1Api.md#readNamespacedReplicationcontrollersScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readPodSecurityPolicy**](docs/Extensions_v1beta1Api.md#readPodSecurityPolicy) | **GET** /apis/extensions/v1beta1/podsecuritypolicies/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**readThirdPartyResource**](docs/Extensions_v1beta1Api.md#readThirdPartyResource) | **GET** /apis/extensions/v1beta1/thirdpartyresources/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedDaemonSet**](docs/Extensions_v1beta1Api.md#replaceNamespacedDaemonSet) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedDaemonSetStatus**](docs/Extensions_v1beta1Api.md#replaceNamespacedDaemonSetStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedDeployment**](docs/Extensions_v1beta1Api.md#replaceNamespacedDeployment) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedDeploymentStatus**](docs/Extensions_v1beta1Api.md#replaceNamespacedDeploymentStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedDeploymentsScale**](docs/Extensions_v1beta1Api.md#replaceNamespacedDeploymentsScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedIngress**](docs/Extensions_v1beta1Api.md#replaceNamespacedIngress) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedIngressStatus**](docs/Extensions_v1beta1Api.md#replaceNamespacedIngressStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedNetworkPolicy**](docs/Extensions_v1beta1Api.md#replaceNamespacedNetworkPolicy) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedReplicaSet**](docs/Extensions_v1beta1Api.md#replaceNamespacedReplicaSet) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedReplicaSetStatus**](docs/Extensions_v1beta1Api.md#replaceNamespacedReplicaSetStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedReplicasetsScale**](docs/Extensions_v1beta1Api.md#replaceNamespacedReplicasetsScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceNamespacedReplicationcontrollersScale**](docs/Extensions_v1beta1Api.md#replaceNamespacedReplicationcontrollersScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replacePodSecurityPolicy**](docs/Extensions_v1beta1Api.md#replacePodSecurityPolicy) | **PUT** /apis/extensions/v1beta1/podsecuritypolicies/{name} |
-*KubernetesJsClient.Extensions_v1beta1Api* | [**replaceThirdPartyResource**](docs/Extensions_v1beta1Api.md#replaceThirdPartyResource) | **PUT** /apis/extensions/v1beta1/thirdpartyresources/{name} |
-*KubernetesJsClient.LogsApi* | [**logFileHandler**](docs/LogsApi.md#logFileHandler) | **GET** /logs/{logpath} |
-*KubernetesJsClient.LogsApi* | [**logFileListHandler**](docs/LogsApi.md#logFileListHandler) | **GET** /logs/ |
-*KubernetesJsClient.PolicyApi* | [**getAPIGroup**](docs/PolicyApi.md#getAPIGroup) | **GET** /apis/policy/ |
-*KubernetesJsClient.Policy_v1beta1Api* | [**createNamespacedPodDisruptionBudget**](docs/Policy_v1beta1Api.md#createNamespacedPodDisruptionBudget) | **POST** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets |
-*KubernetesJsClient.Policy_v1beta1Api* | [**deleteCollectionNamespacedPodDisruptionBudget**](docs/Policy_v1beta1Api.md#deleteCollectionNamespacedPodDisruptionBudget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets |
-*KubernetesJsClient.Policy_v1beta1Api* | [**deleteNamespacedPodDisruptionBudget**](docs/Policy_v1beta1Api.md#deleteNamespacedPodDisruptionBudget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} |
-*KubernetesJsClient.Policy_v1beta1Api* | [**getAPIResources**](docs/Policy_v1beta1Api.md#getAPIResources) | **GET** /apis/policy/v1beta1/ |
-*KubernetesJsClient.Policy_v1beta1Api* | [**listNamespacedPodDisruptionBudget**](docs/Policy_v1beta1Api.md#listNamespacedPodDisruptionBudget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets |
-*KubernetesJsClient.Policy_v1beta1Api* | [**listPodDisruptionBudgetForAllNamespaces**](docs/Policy_v1beta1Api.md#listPodDisruptionBudgetForAllNamespaces) | **GET** /apis/policy/v1beta1/poddisruptionbudgets |
-*KubernetesJsClient.Policy_v1beta1Api* | [**patchNamespacedPodDisruptionBudget**](docs/Policy_v1beta1Api.md#patchNamespacedPodDisruptionBudget) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} |
-*KubernetesJsClient.Policy_v1beta1Api* | [**patchNamespacedPodDisruptionBudgetStatus**](docs/Policy_v1beta1Api.md#patchNamespacedPodDisruptionBudgetStatus) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status |
-*KubernetesJsClient.Policy_v1beta1Api* | [**readNamespacedPodDisruptionBudget**](docs/Policy_v1beta1Api.md#readNamespacedPodDisruptionBudget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} |
-*KubernetesJsClient.Policy_v1beta1Api* | [**readNamespacedPodDisruptionBudgetStatus**](docs/Policy_v1beta1Api.md#readNamespacedPodDisruptionBudgetStatus) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status |
-*KubernetesJsClient.Policy_v1beta1Api* | [**replaceNamespacedPodDisruptionBudget**](docs/Policy_v1beta1Api.md#replaceNamespacedPodDisruptionBudget) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} |
-*KubernetesJsClient.Policy_v1beta1Api* | [**replaceNamespacedPodDisruptionBudgetStatus**](docs/Policy_v1beta1Api.md#replaceNamespacedPodDisruptionBudgetStatus) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status |
-*KubernetesJsClient.RbacAuthorizationApi* | [**getAPIGroup**](docs/RbacAuthorizationApi.md#getAPIGroup) | **GET** /apis/rbac.authorization.k8s.io/ |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**createClusterRole**](docs/RbacAuthorization_v1alpha1Api.md#createClusterRole) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**createClusterRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#createClusterRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**createNamespacedRole**](docs/RbacAuthorization_v1alpha1Api.md#createNamespacedRole) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**createNamespacedRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#createNamespacedRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**deleteClusterRole**](docs/RbacAuthorization_v1alpha1Api.md#deleteClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**deleteClusterRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#deleteClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**deleteCollectionClusterRole**](docs/RbacAuthorization_v1alpha1Api.md#deleteCollectionClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**deleteCollectionClusterRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#deleteCollectionClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**deleteCollectionNamespacedRole**](docs/RbacAuthorization_v1alpha1Api.md#deleteCollectionNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**deleteCollectionNamespacedRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#deleteCollectionNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**deleteNamespacedRole**](docs/RbacAuthorization_v1alpha1Api.md#deleteNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**deleteNamespacedRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#deleteNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**getAPIResources**](docs/RbacAuthorization_v1alpha1Api.md#getAPIResources) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/ |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**listClusterRole**](docs/RbacAuthorization_v1alpha1Api.md#listClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**listClusterRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#listClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**listNamespacedRole**](docs/RbacAuthorization_v1alpha1Api.md#listNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**listNamespacedRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#listNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**listRoleBindingForAllNamespaces**](docs/RbacAuthorization_v1alpha1Api.md#listRoleBindingForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/rolebindings |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**listRoleForAllNamespaces**](docs/RbacAuthorization_v1alpha1Api.md#listRoleForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/roles |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**patchClusterRole**](docs/RbacAuthorization_v1alpha1Api.md#patchClusterRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**patchClusterRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#patchClusterRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**patchNamespacedRole**](docs/RbacAuthorization_v1alpha1Api.md#patchNamespacedRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**patchNamespacedRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#patchNamespacedRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**readClusterRole**](docs/RbacAuthorization_v1alpha1Api.md#readClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**readClusterRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#readClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**readNamespacedRole**](docs/RbacAuthorization_v1alpha1Api.md#readNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**readNamespacedRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#readNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**replaceClusterRole**](docs/RbacAuthorization_v1alpha1Api.md#replaceClusterRole) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**replaceClusterRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#replaceClusterRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**replaceNamespacedRole**](docs/RbacAuthorization_v1alpha1Api.md#replaceNamespacedRole) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1alpha1Api* | [**replaceNamespacedRoleBinding**](docs/RbacAuthorization_v1alpha1Api.md#replaceNamespacedRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**createClusterRole**](docs/RbacAuthorization_v1beta1Api.md#createClusterRole) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**createClusterRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#createClusterRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**createNamespacedRole**](docs/RbacAuthorization_v1beta1Api.md#createNamespacedRole) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**createNamespacedRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#createNamespacedRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**deleteClusterRole**](docs/RbacAuthorization_v1beta1Api.md#deleteClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**deleteClusterRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#deleteClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**deleteCollectionClusterRole**](docs/RbacAuthorization_v1beta1Api.md#deleteCollectionClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**deleteCollectionClusterRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#deleteCollectionClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**deleteCollectionNamespacedRole**](docs/RbacAuthorization_v1beta1Api.md#deleteCollectionNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**deleteCollectionNamespacedRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#deleteCollectionNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**deleteNamespacedRole**](docs/RbacAuthorization_v1beta1Api.md#deleteNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**deleteNamespacedRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#deleteNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**getAPIResources**](docs/RbacAuthorization_v1beta1Api.md#getAPIResources) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/ |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**listClusterRole**](docs/RbacAuthorization_v1beta1Api.md#listClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**listClusterRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#listClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**listNamespacedRole**](docs/RbacAuthorization_v1beta1Api.md#listNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**listNamespacedRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#listNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**listRoleBindingForAllNamespaces**](docs/RbacAuthorization_v1beta1Api.md#listRoleBindingForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/rolebindings |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**listRoleForAllNamespaces**](docs/RbacAuthorization_v1beta1Api.md#listRoleForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/roles |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**patchClusterRole**](docs/RbacAuthorization_v1beta1Api.md#patchClusterRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**patchClusterRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#patchClusterRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**patchNamespacedRole**](docs/RbacAuthorization_v1beta1Api.md#patchNamespacedRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**patchNamespacedRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#patchNamespacedRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**readClusterRole**](docs/RbacAuthorization_v1beta1Api.md#readClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**readClusterRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#readClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**readNamespacedRole**](docs/RbacAuthorization_v1beta1Api.md#readNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**readNamespacedRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#readNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**replaceClusterRole**](docs/RbacAuthorization_v1beta1Api.md#replaceClusterRole) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**replaceClusterRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#replaceClusterRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**replaceNamespacedRole**](docs/RbacAuthorization_v1beta1Api.md#replaceNamespacedRole) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} |
-*KubernetesJsClient.RbacAuthorization_v1beta1Api* | [**replaceNamespacedRoleBinding**](docs/RbacAuthorization_v1beta1Api.md#replaceNamespacedRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} |
-*KubernetesJsClient.SettingsApi* | [**getAPIGroup**](docs/SettingsApi.md#getAPIGroup) | **GET** /apis/settings.k8s.io/ |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**createNamespacedPodPreset**](docs/Settings_v1alpha1Api.md#createNamespacedPodPreset) | **POST** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**deleteCollectionNamespacedPodPreset**](docs/Settings_v1alpha1Api.md#deleteCollectionNamespacedPodPreset) | **DELETE** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**deleteNamespacedPodPreset**](docs/Settings_v1alpha1Api.md#deleteNamespacedPodPreset) | **DELETE** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**getAPIResources**](docs/Settings_v1alpha1Api.md#getAPIResources) | **GET** /apis/settings.k8s.io/v1alpha1/ |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**listNamespacedPodPreset**](docs/Settings_v1alpha1Api.md#listNamespacedPodPreset) | **GET** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**listPodPresetForAllNamespaces**](docs/Settings_v1alpha1Api.md#listPodPresetForAllNamespaces) | **GET** /apis/settings.k8s.io/v1alpha1/podpresets |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**patchNamespacedPodPreset**](docs/Settings_v1alpha1Api.md#patchNamespacedPodPreset) | **PATCH** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**readNamespacedPodPreset**](docs/Settings_v1alpha1Api.md#readNamespacedPodPreset) | **GET** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} |
-*KubernetesJsClient.Settings_v1alpha1Api* | [**replaceNamespacedPodPreset**](docs/Settings_v1alpha1Api.md#replaceNamespacedPodPreset) | **PUT** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} |
-*KubernetesJsClient.StorageApi* | [**getAPIGroup**](docs/StorageApi.md#getAPIGroup) | **GET** /apis/storage.k8s.io/ |
-*KubernetesJsClient.Storage_v1Api* | [**createStorageClass**](docs/Storage_v1Api.md#createStorageClass) | **POST** /apis/storage.k8s.io/v1/storageclasses |
-*KubernetesJsClient.Storage_v1Api* | [**deleteCollectionStorageClass**](docs/Storage_v1Api.md#deleteCollectionStorageClass) | **DELETE** /apis/storage.k8s.io/v1/storageclasses |
-*KubernetesJsClient.Storage_v1Api* | [**deleteStorageClass**](docs/Storage_v1Api.md#deleteStorageClass) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} |
-*KubernetesJsClient.Storage_v1Api* | [**getAPIResources**](docs/Storage_v1Api.md#getAPIResources) | **GET** /apis/storage.k8s.io/v1/ |
-*KubernetesJsClient.Storage_v1Api* | [**listStorageClass**](docs/Storage_v1Api.md#listStorageClass) | **GET** /apis/storage.k8s.io/v1/storageclasses |
-*KubernetesJsClient.Storage_v1Api* | [**patchStorageClass**](docs/Storage_v1Api.md#patchStorageClass) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} |
-*KubernetesJsClient.Storage_v1Api* | [**readStorageClass**](docs/Storage_v1Api.md#readStorageClass) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} |
-*KubernetesJsClient.Storage_v1Api* | [**replaceStorageClass**](docs/Storage_v1Api.md#replaceStorageClass) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} |
-*KubernetesJsClient.Storage_v1beta1Api* | [**createStorageClass**](docs/Storage_v1beta1Api.md#createStorageClass) | **POST** /apis/storage.k8s.io/v1beta1/storageclasses |
-*KubernetesJsClient.Storage_v1beta1Api* | [**deleteCollectionStorageClass**](docs/Storage_v1beta1Api.md#deleteCollectionStorageClass) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses |
-*KubernetesJsClient.Storage_v1beta1Api* | [**deleteStorageClass**](docs/Storage_v1beta1Api.md#deleteStorageClass) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses/{name} |
-*KubernetesJsClient.Storage_v1beta1Api* | [**getAPIResources**](docs/Storage_v1beta1Api.md#getAPIResources) | **GET** /apis/storage.k8s.io/v1beta1/ |
-*KubernetesJsClient.Storage_v1beta1Api* | [**listStorageClass**](docs/Storage_v1beta1Api.md#listStorageClass) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses |
-*KubernetesJsClient.Storage_v1beta1Api* | [**patchStorageClass**](docs/Storage_v1beta1Api.md#patchStorageClass) | **PATCH** /apis/storage.k8s.io/v1beta1/storageclasses/{name} |
-*KubernetesJsClient.Storage_v1beta1Api* | [**readStorageClass**](docs/Storage_v1beta1Api.md#readStorageClass) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses/{name} |
-*KubernetesJsClient.Storage_v1beta1Api* | [**replaceStorageClass**](docs/Storage_v1beta1Api.md#replaceStorageClass) | **PUT** /apis/storage.k8s.io/v1beta1/storageclasses/{name} |
-*KubernetesJsClient.VersionApi* | [**getCode**](docs/VersionApi.md#getCode) | **GET** /version/ |
-
-
-## Documentation for Models
-
- - [KubernetesJsClient.AppsV1beta1Deployment](docs/AppsV1beta1Deployment.md)
- - [KubernetesJsClient.AppsV1beta1DeploymentCondition](docs/AppsV1beta1DeploymentCondition.md)
- - [KubernetesJsClient.AppsV1beta1DeploymentList](docs/AppsV1beta1DeploymentList.md)
- - [KubernetesJsClient.AppsV1beta1DeploymentRollback](docs/AppsV1beta1DeploymentRollback.md)
- - [KubernetesJsClient.AppsV1beta1DeploymentSpec](docs/AppsV1beta1DeploymentSpec.md)
- - [KubernetesJsClient.AppsV1beta1DeploymentStatus](docs/AppsV1beta1DeploymentStatus.md)
- - [KubernetesJsClient.AppsV1beta1DeploymentStrategy](docs/AppsV1beta1DeploymentStrategy.md)
- - [KubernetesJsClient.AppsV1beta1RollbackConfig](docs/AppsV1beta1RollbackConfig.md)
- - [KubernetesJsClient.AppsV1beta1RollingUpdateDeployment](docs/AppsV1beta1RollingUpdateDeployment.md)
- - [KubernetesJsClient.AppsV1beta1Scale](docs/AppsV1beta1Scale.md)
- - [KubernetesJsClient.AppsV1beta1ScaleSpec](docs/AppsV1beta1ScaleSpec.md)
- - [KubernetesJsClient.AppsV1beta1ScaleStatus](docs/AppsV1beta1ScaleStatus.md)
- - [KubernetesJsClient.ExtensionsV1beta1Deployment](docs/ExtensionsV1beta1Deployment.md)
- - [KubernetesJsClient.ExtensionsV1beta1DeploymentCondition](docs/ExtensionsV1beta1DeploymentCondition.md)
- - [KubernetesJsClient.ExtensionsV1beta1DeploymentList](docs/ExtensionsV1beta1DeploymentList.md)
- - [KubernetesJsClient.ExtensionsV1beta1DeploymentRollback](docs/ExtensionsV1beta1DeploymentRollback.md)
- - [KubernetesJsClient.ExtensionsV1beta1DeploymentSpec](docs/ExtensionsV1beta1DeploymentSpec.md)
- - [KubernetesJsClient.ExtensionsV1beta1DeploymentStatus](docs/ExtensionsV1beta1DeploymentStatus.md)
- - [KubernetesJsClient.ExtensionsV1beta1DeploymentStrategy](docs/ExtensionsV1beta1DeploymentStrategy.md)
- - [KubernetesJsClient.ExtensionsV1beta1RollbackConfig](docs/ExtensionsV1beta1RollbackConfig.md)
- - [KubernetesJsClient.ExtensionsV1beta1RollingUpdateDeployment](docs/ExtensionsV1beta1RollingUpdateDeployment.md)
- - [KubernetesJsClient.ExtensionsV1beta1Scale](docs/ExtensionsV1beta1Scale.md)
- - [KubernetesJsClient.ExtensionsV1beta1ScaleSpec](docs/ExtensionsV1beta1ScaleSpec.md)
- - [KubernetesJsClient.ExtensionsV1beta1ScaleStatus](docs/ExtensionsV1beta1ScaleStatus.md)
- - [KubernetesJsClient.RuntimeRawExtension](docs/RuntimeRawExtension.md)
- - [KubernetesJsClient.V1APIGroup](docs/V1APIGroup.md)
- - [KubernetesJsClient.V1APIGroupList](docs/V1APIGroupList.md)
- - [KubernetesJsClient.V1APIResource](docs/V1APIResource.md)
- - [KubernetesJsClient.V1APIResourceList](docs/V1APIResourceList.md)
- - [KubernetesJsClient.V1APIVersions](docs/V1APIVersions.md)
- - [KubernetesJsClient.V1AWSElasticBlockStoreVolumeSource](docs/V1AWSElasticBlockStoreVolumeSource.md)
- - [KubernetesJsClient.V1Affinity](docs/V1Affinity.md)
- - [KubernetesJsClient.V1AttachedVolume](docs/V1AttachedVolume.md)
- - [KubernetesJsClient.V1AzureDiskVolumeSource](docs/V1AzureDiskVolumeSource.md)
- - [KubernetesJsClient.V1AzureFileVolumeSource](docs/V1AzureFileVolumeSource.md)
- - [KubernetesJsClient.V1Binding](docs/V1Binding.md)
- - [KubernetesJsClient.V1Capabilities](docs/V1Capabilities.md)
- - [KubernetesJsClient.V1CephFSVolumeSource](docs/V1CephFSVolumeSource.md)
- - [KubernetesJsClient.V1CinderVolumeSource](docs/V1CinderVolumeSource.md)
- - [KubernetesJsClient.V1ComponentCondition](docs/V1ComponentCondition.md)
- - [KubernetesJsClient.V1ComponentStatus](docs/V1ComponentStatus.md)
- - [KubernetesJsClient.V1ComponentStatusList](docs/V1ComponentStatusList.md)
- - [KubernetesJsClient.V1ConfigMap](docs/V1ConfigMap.md)
- - [KubernetesJsClient.V1ConfigMapEnvSource](docs/V1ConfigMapEnvSource.md)
- - [KubernetesJsClient.V1ConfigMapKeySelector](docs/V1ConfigMapKeySelector.md)
- - [KubernetesJsClient.V1ConfigMapList](docs/V1ConfigMapList.md)
- - [KubernetesJsClient.V1ConfigMapProjection](docs/V1ConfigMapProjection.md)
- - [KubernetesJsClient.V1ConfigMapVolumeSource](docs/V1ConfigMapVolumeSource.md)
- - [KubernetesJsClient.V1Container](docs/V1Container.md)
- - [KubernetesJsClient.V1ContainerImage](docs/V1ContainerImage.md)
- - [KubernetesJsClient.V1ContainerPort](docs/V1ContainerPort.md)
- - [KubernetesJsClient.V1ContainerState](docs/V1ContainerState.md)
- - [KubernetesJsClient.V1ContainerStateRunning](docs/V1ContainerStateRunning.md)
- - [KubernetesJsClient.V1ContainerStateTerminated](docs/V1ContainerStateTerminated.md)
- - [KubernetesJsClient.V1ContainerStateWaiting](docs/V1ContainerStateWaiting.md)
- - [KubernetesJsClient.V1ContainerStatus](docs/V1ContainerStatus.md)
- - [KubernetesJsClient.V1CrossVersionObjectReference](docs/V1CrossVersionObjectReference.md)
- - [KubernetesJsClient.V1DaemonEndpoint](docs/V1DaemonEndpoint.md)
- - [KubernetesJsClient.V1DeleteOptions](docs/V1DeleteOptions.md)
- - [KubernetesJsClient.V1DownwardAPIProjection](docs/V1DownwardAPIProjection.md)
- - [KubernetesJsClient.V1DownwardAPIVolumeFile](docs/V1DownwardAPIVolumeFile.md)
- - [KubernetesJsClient.V1DownwardAPIVolumeSource](docs/V1DownwardAPIVolumeSource.md)
- - [KubernetesJsClient.V1EmptyDirVolumeSource](docs/V1EmptyDirVolumeSource.md)
- - [KubernetesJsClient.V1EndpointAddress](docs/V1EndpointAddress.md)
- - [KubernetesJsClient.V1EndpointPort](docs/V1EndpointPort.md)
- - [KubernetesJsClient.V1EndpointSubset](docs/V1EndpointSubset.md)
- - [KubernetesJsClient.V1Endpoints](docs/V1Endpoints.md)
- - [KubernetesJsClient.V1EndpointsList](docs/V1EndpointsList.md)
- - [KubernetesJsClient.V1EnvFromSource](docs/V1EnvFromSource.md)
- - [KubernetesJsClient.V1EnvVar](docs/V1EnvVar.md)
- - [KubernetesJsClient.V1EnvVarSource](docs/V1EnvVarSource.md)
- - [KubernetesJsClient.V1Event](docs/V1Event.md)
- - [KubernetesJsClient.V1EventList](docs/V1EventList.md)
- - [KubernetesJsClient.V1EventSource](docs/V1EventSource.md)
- - [KubernetesJsClient.V1ExecAction](docs/V1ExecAction.md)
- - [KubernetesJsClient.V1FCVolumeSource](docs/V1FCVolumeSource.md)
- - [KubernetesJsClient.V1FlexVolumeSource](docs/V1FlexVolumeSource.md)
- - [KubernetesJsClient.V1FlockerVolumeSource](docs/V1FlockerVolumeSource.md)
- - [KubernetesJsClient.V1GCEPersistentDiskVolumeSource](docs/V1GCEPersistentDiskVolumeSource.md)
- - [KubernetesJsClient.V1GitRepoVolumeSource](docs/V1GitRepoVolumeSource.md)
- - [KubernetesJsClient.V1GlusterfsVolumeSource](docs/V1GlusterfsVolumeSource.md)
- - [KubernetesJsClient.V1GroupVersionForDiscovery](docs/V1GroupVersionForDiscovery.md)
- - [KubernetesJsClient.V1HTTPGetAction](docs/V1HTTPGetAction.md)
- - [KubernetesJsClient.V1HTTPHeader](docs/V1HTTPHeader.md)
- - [KubernetesJsClient.V1Handler](docs/V1Handler.md)
- - [KubernetesJsClient.V1HorizontalPodAutoscaler](docs/V1HorizontalPodAutoscaler.md)
- - [KubernetesJsClient.V1HorizontalPodAutoscalerList](docs/V1HorizontalPodAutoscalerList.md)
- - [KubernetesJsClient.V1HorizontalPodAutoscalerSpec](docs/V1HorizontalPodAutoscalerSpec.md)
- - [KubernetesJsClient.V1HorizontalPodAutoscalerStatus](docs/V1HorizontalPodAutoscalerStatus.md)
- - [KubernetesJsClient.V1HostPathVolumeSource](docs/V1HostPathVolumeSource.md)
- - [KubernetesJsClient.V1ISCSIVolumeSource](docs/V1ISCSIVolumeSource.md)
- - [KubernetesJsClient.V1Job](docs/V1Job.md)
- - [KubernetesJsClient.V1JobCondition](docs/V1JobCondition.md)
- - [KubernetesJsClient.V1JobList](docs/V1JobList.md)
- - [KubernetesJsClient.V1JobSpec](docs/V1JobSpec.md)
- - [KubernetesJsClient.V1JobStatus](docs/V1JobStatus.md)
- - [KubernetesJsClient.V1KeyToPath](docs/V1KeyToPath.md)
- - [KubernetesJsClient.V1LabelSelector](docs/V1LabelSelector.md)
- - [KubernetesJsClient.V1LabelSelectorRequirement](docs/V1LabelSelectorRequirement.md)
- - [KubernetesJsClient.V1Lifecycle](docs/V1Lifecycle.md)
- - [KubernetesJsClient.V1LimitRange](docs/V1LimitRange.md)
- - [KubernetesJsClient.V1LimitRangeItem](docs/V1LimitRangeItem.md)
- - [KubernetesJsClient.V1LimitRangeList](docs/V1LimitRangeList.md)
- - [KubernetesJsClient.V1LimitRangeSpec](docs/V1LimitRangeSpec.md)
- - [KubernetesJsClient.V1ListMeta](docs/V1ListMeta.md)
- - [KubernetesJsClient.V1LoadBalancerIngress](docs/V1LoadBalancerIngress.md)
- - [KubernetesJsClient.V1LoadBalancerStatus](docs/V1LoadBalancerStatus.md)
- - [KubernetesJsClient.V1LocalObjectReference](docs/V1LocalObjectReference.md)
- - [KubernetesJsClient.V1LocalSubjectAccessReview](docs/V1LocalSubjectAccessReview.md)
- - [KubernetesJsClient.V1NFSVolumeSource](docs/V1NFSVolumeSource.md)
- - [KubernetesJsClient.V1Namespace](docs/V1Namespace.md)
- - [KubernetesJsClient.V1NamespaceList](docs/V1NamespaceList.md)
- - [KubernetesJsClient.V1NamespaceSpec](docs/V1NamespaceSpec.md)
- - [KubernetesJsClient.V1NamespaceStatus](docs/V1NamespaceStatus.md)
- - [KubernetesJsClient.V1Node](docs/V1Node.md)
- - [KubernetesJsClient.V1NodeAddress](docs/V1NodeAddress.md)
- - [KubernetesJsClient.V1NodeAffinity](docs/V1NodeAffinity.md)
- - [KubernetesJsClient.V1NodeCondition](docs/V1NodeCondition.md)
- - [KubernetesJsClient.V1NodeDaemonEndpoints](docs/V1NodeDaemonEndpoints.md)
- - [KubernetesJsClient.V1NodeList](docs/V1NodeList.md)
- - [KubernetesJsClient.V1NodeSelector](docs/V1NodeSelector.md)
- - [KubernetesJsClient.V1NodeSelectorRequirement](docs/V1NodeSelectorRequirement.md)
- - [KubernetesJsClient.V1NodeSelectorTerm](docs/V1NodeSelectorTerm.md)
- - [KubernetesJsClient.V1NodeSpec](docs/V1NodeSpec.md)
- - [KubernetesJsClient.V1NodeStatus](docs/V1NodeStatus.md)
- - [KubernetesJsClient.V1NodeSystemInfo](docs/V1NodeSystemInfo.md)
- - [KubernetesJsClient.V1NonResourceAttributes](docs/V1NonResourceAttributes.md)
- - [KubernetesJsClient.V1ObjectFieldSelector](docs/V1ObjectFieldSelector.md)
- - [KubernetesJsClient.V1ObjectMeta](docs/V1ObjectMeta.md)
- - [KubernetesJsClient.V1ObjectReference](docs/V1ObjectReference.md)
- - [KubernetesJsClient.V1OwnerReference](docs/V1OwnerReference.md)
- - [KubernetesJsClient.V1PersistentVolume](docs/V1PersistentVolume.md)
- - [KubernetesJsClient.V1PersistentVolumeClaim](docs/V1PersistentVolumeClaim.md)
- - [KubernetesJsClient.V1PersistentVolumeClaimList](docs/V1PersistentVolumeClaimList.md)
- - [KubernetesJsClient.V1PersistentVolumeClaimSpec](docs/V1PersistentVolumeClaimSpec.md)
- - [KubernetesJsClient.V1PersistentVolumeClaimStatus](docs/V1PersistentVolumeClaimStatus.md)
- - [KubernetesJsClient.V1PersistentVolumeClaimVolumeSource](docs/V1PersistentVolumeClaimVolumeSource.md)
- - [KubernetesJsClient.V1PersistentVolumeList](docs/V1PersistentVolumeList.md)
- - [KubernetesJsClient.V1PersistentVolumeSpec](docs/V1PersistentVolumeSpec.md)
- - [KubernetesJsClient.V1PersistentVolumeStatus](docs/V1PersistentVolumeStatus.md)
- - [KubernetesJsClient.V1PhotonPersistentDiskVolumeSource](docs/V1PhotonPersistentDiskVolumeSource.md)
- - [KubernetesJsClient.V1Pod](docs/V1Pod.md)
- - [KubernetesJsClient.V1PodAffinity](docs/V1PodAffinity.md)
- - [KubernetesJsClient.V1PodAffinityTerm](docs/V1PodAffinityTerm.md)
- - [KubernetesJsClient.V1PodAntiAffinity](docs/V1PodAntiAffinity.md)
- - [KubernetesJsClient.V1PodCondition](docs/V1PodCondition.md)
- - [KubernetesJsClient.V1PodList](docs/V1PodList.md)
- - [KubernetesJsClient.V1PodSecurityContext](docs/V1PodSecurityContext.md)
- - [KubernetesJsClient.V1PodSpec](docs/V1PodSpec.md)
- - [KubernetesJsClient.V1PodStatus](docs/V1PodStatus.md)
- - [KubernetesJsClient.V1PodTemplate](docs/V1PodTemplate.md)
- - [KubernetesJsClient.V1PodTemplateList](docs/V1PodTemplateList.md)
- - [KubernetesJsClient.V1PodTemplateSpec](docs/V1PodTemplateSpec.md)
- - [KubernetesJsClient.V1PortworxVolumeSource](docs/V1PortworxVolumeSource.md)
- - [KubernetesJsClient.V1Preconditions](docs/V1Preconditions.md)
- - [KubernetesJsClient.V1PreferredSchedulingTerm](docs/V1PreferredSchedulingTerm.md)
- - [KubernetesJsClient.V1Probe](docs/V1Probe.md)
- - [KubernetesJsClient.V1ProjectedVolumeSource](docs/V1ProjectedVolumeSource.md)
- - [KubernetesJsClient.V1QuobyteVolumeSource](docs/V1QuobyteVolumeSource.md)
- - [KubernetesJsClient.V1RBDVolumeSource](docs/V1RBDVolumeSource.md)
- - [KubernetesJsClient.V1ReplicationController](docs/V1ReplicationController.md)
- - [KubernetesJsClient.V1ReplicationControllerCondition](docs/V1ReplicationControllerCondition.md)
- - [KubernetesJsClient.V1ReplicationControllerList](docs/V1ReplicationControllerList.md)
- - [KubernetesJsClient.V1ReplicationControllerSpec](docs/V1ReplicationControllerSpec.md)
- - [KubernetesJsClient.V1ReplicationControllerStatus](docs/V1ReplicationControllerStatus.md)
- - [KubernetesJsClient.V1ResourceAttributes](docs/V1ResourceAttributes.md)
- - [KubernetesJsClient.V1ResourceFieldSelector](docs/V1ResourceFieldSelector.md)
- - [KubernetesJsClient.V1ResourceQuota](docs/V1ResourceQuota.md)
- - [KubernetesJsClient.V1ResourceQuotaList](docs/V1ResourceQuotaList.md)
- - [KubernetesJsClient.V1ResourceQuotaSpec](docs/V1ResourceQuotaSpec.md)
- - [KubernetesJsClient.V1ResourceQuotaStatus](docs/V1ResourceQuotaStatus.md)
- - [KubernetesJsClient.V1ResourceRequirements](docs/V1ResourceRequirements.md)
- - [KubernetesJsClient.V1SELinuxOptions](docs/V1SELinuxOptions.md)
- - [KubernetesJsClient.V1Scale](docs/V1Scale.md)
- - [KubernetesJsClient.V1ScaleIOVolumeSource](docs/V1ScaleIOVolumeSource.md)
- - [KubernetesJsClient.V1ScaleSpec](docs/V1ScaleSpec.md)
- - [KubernetesJsClient.V1ScaleStatus](docs/V1ScaleStatus.md)
- - [KubernetesJsClient.V1Secret](docs/V1Secret.md)
- - [KubernetesJsClient.V1SecretEnvSource](docs/V1SecretEnvSource.md)
- - [KubernetesJsClient.V1SecretKeySelector](docs/V1SecretKeySelector.md)
- - [KubernetesJsClient.V1SecretList](docs/V1SecretList.md)
- - [KubernetesJsClient.V1SecretProjection](docs/V1SecretProjection.md)
- - [KubernetesJsClient.V1SecretVolumeSource](docs/V1SecretVolumeSource.md)
- - [KubernetesJsClient.V1SecurityContext](docs/V1SecurityContext.md)
- - [KubernetesJsClient.V1SelfSubjectAccessReview](docs/V1SelfSubjectAccessReview.md)
- - [KubernetesJsClient.V1SelfSubjectAccessReviewSpec](docs/V1SelfSubjectAccessReviewSpec.md)
- - [KubernetesJsClient.V1ServerAddressByClientCIDR](docs/V1ServerAddressByClientCIDR.md)
- - [KubernetesJsClient.V1Service](docs/V1Service.md)
- - [KubernetesJsClient.V1ServiceAccount](docs/V1ServiceAccount.md)
- - [KubernetesJsClient.V1ServiceAccountList](docs/V1ServiceAccountList.md)
- - [KubernetesJsClient.V1ServiceList](docs/V1ServiceList.md)
- - [KubernetesJsClient.V1ServicePort](docs/V1ServicePort.md)
- - [KubernetesJsClient.V1ServiceSpec](docs/V1ServiceSpec.md)
- - [KubernetesJsClient.V1ServiceStatus](docs/V1ServiceStatus.md)
- - [KubernetesJsClient.V1Status](docs/V1Status.md)
- - [KubernetesJsClient.V1StatusCause](docs/V1StatusCause.md)
- - [KubernetesJsClient.V1StatusDetails](docs/V1StatusDetails.md)
- - [KubernetesJsClient.V1StorageClass](docs/V1StorageClass.md)
- - [KubernetesJsClient.V1StorageClassList](docs/V1StorageClassList.md)
- - [KubernetesJsClient.V1SubjectAccessReview](docs/V1SubjectAccessReview.md)
- - [KubernetesJsClient.V1SubjectAccessReviewSpec](docs/V1SubjectAccessReviewSpec.md)
- - [KubernetesJsClient.V1SubjectAccessReviewStatus](docs/V1SubjectAccessReviewStatus.md)
- - [KubernetesJsClient.V1TCPSocketAction](docs/V1TCPSocketAction.md)
- - [KubernetesJsClient.V1Taint](docs/V1Taint.md)
- - [KubernetesJsClient.V1TokenReview](docs/V1TokenReview.md)
- - [KubernetesJsClient.V1TokenReviewSpec](docs/V1TokenReviewSpec.md)
- - [KubernetesJsClient.V1TokenReviewStatus](docs/V1TokenReviewStatus.md)
- - [KubernetesJsClient.V1Toleration](docs/V1Toleration.md)
- - [KubernetesJsClient.V1UserInfo](docs/V1UserInfo.md)
- - [KubernetesJsClient.V1Volume](docs/V1Volume.md)
- - [KubernetesJsClient.V1VolumeMount](docs/V1VolumeMount.md)
- - [KubernetesJsClient.V1VolumeProjection](docs/V1VolumeProjection.md)
- - [KubernetesJsClient.V1VsphereVirtualDiskVolumeSource](docs/V1VsphereVirtualDiskVolumeSource.md)
- - [KubernetesJsClient.V1WatchEvent](docs/V1WatchEvent.md)
- - [KubernetesJsClient.V1WeightedPodAffinityTerm](docs/V1WeightedPodAffinityTerm.md)
- - [KubernetesJsClient.V1alpha1ClusterRole](docs/V1alpha1ClusterRole.md)
- - [KubernetesJsClient.V1alpha1ClusterRoleBinding](docs/V1alpha1ClusterRoleBinding.md)
- - [KubernetesJsClient.V1alpha1ClusterRoleBindingList](docs/V1alpha1ClusterRoleBindingList.md)
- - [KubernetesJsClient.V1alpha1ClusterRoleList](docs/V1alpha1ClusterRoleList.md)
- - [KubernetesJsClient.V1alpha1PodPreset](docs/V1alpha1PodPreset.md)
- - [KubernetesJsClient.V1alpha1PodPresetList](docs/V1alpha1PodPresetList.md)
- - [KubernetesJsClient.V1alpha1PodPresetSpec](docs/V1alpha1PodPresetSpec.md)
- - [KubernetesJsClient.V1alpha1PolicyRule](docs/V1alpha1PolicyRule.md)
- - [KubernetesJsClient.V1alpha1Role](docs/V1alpha1Role.md)
- - [KubernetesJsClient.V1alpha1RoleBinding](docs/V1alpha1RoleBinding.md)
- - [KubernetesJsClient.V1alpha1RoleBindingList](docs/V1alpha1RoleBindingList.md)
- - [KubernetesJsClient.V1alpha1RoleList](docs/V1alpha1RoleList.md)
- - [KubernetesJsClient.V1alpha1RoleRef](docs/V1alpha1RoleRef.md)
- - [KubernetesJsClient.V1alpha1Subject](docs/V1alpha1Subject.md)
- - [KubernetesJsClient.V1beta1APIVersion](docs/V1beta1APIVersion.md)
- - [KubernetesJsClient.V1beta1CertificateSigningRequest](docs/V1beta1CertificateSigningRequest.md)
- - [KubernetesJsClient.V1beta1CertificateSigningRequestCondition](docs/V1beta1CertificateSigningRequestCondition.md)
- - [KubernetesJsClient.V1beta1CertificateSigningRequestList](docs/V1beta1CertificateSigningRequestList.md)
- - [KubernetesJsClient.V1beta1CertificateSigningRequestSpec](docs/V1beta1CertificateSigningRequestSpec.md)
- - [KubernetesJsClient.V1beta1CertificateSigningRequestStatus](docs/V1beta1CertificateSigningRequestStatus.md)
- - [KubernetesJsClient.V1beta1ClusterRole](docs/V1beta1ClusterRole.md)
- - [KubernetesJsClient.V1beta1ClusterRoleBinding](docs/V1beta1ClusterRoleBinding.md)
- - [KubernetesJsClient.V1beta1ClusterRoleBindingList](docs/V1beta1ClusterRoleBindingList.md)
- - [KubernetesJsClient.V1beta1ClusterRoleList](docs/V1beta1ClusterRoleList.md)
- - [KubernetesJsClient.V1beta1DaemonSet](docs/V1beta1DaemonSet.md)
- - [KubernetesJsClient.V1beta1DaemonSetList](docs/V1beta1DaemonSetList.md)
- - [KubernetesJsClient.V1beta1DaemonSetSpec](docs/V1beta1DaemonSetSpec.md)
- - [KubernetesJsClient.V1beta1DaemonSetStatus](docs/V1beta1DaemonSetStatus.md)
- - [KubernetesJsClient.V1beta1DaemonSetUpdateStrategy](docs/V1beta1DaemonSetUpdateStrategy.md)
- - [KubernetesJsClient.V1beta1Eviction](docs/V1beta1Eviction.md)
- - [KubernetesJsClient.V1beta1FSGroupStrategyOptions](docs/V1beta1FSGroupStrategyOptions.md)
- - [KubernetesJsClient.V1beta1HTTPIngressPath](docs/V1beta1HTTPIngressPath.md)
- - [KubernetesJsClient.V1beta1HTTPIngressRuleValue](docs/V1beta1HTTPIngressRuleValue.md)
- - [KubernetesJsClient.V1beta1HostPortRange](docs/V1beta1HostPortRange.md)
- - [KubernetesJsClient.V1beta1IDRange](docs/V1beta1IDRange.md)
- - [KubernetesJsClient.V1beta1Ingress](docs/V1beta1Ingress.md)
- - [KubernetesJsClient.V1beta1IngressBackend](docs/V1beta1IngressBackend.md)
- - [KubernetesJsClient.V1beta1IngressList](docs/V1beta1IngressList.md)
- - [KubernetesJsClient.V1beta1IngressRule](docs/V1beta1IngressRule.md)
- - [KubernetesJsClient.V1beta1IngressSpec](docs/V1beta1IngressSpec.md)
- - [KubernetesJsClient.V1beta1IngressStatus](docs/V1beta1IngressStatus.md)
- - [KubernetesJsClient.V1beta1IngressTLS](docs/V1beta1IngressTLS.md)
- - [KubernetesJsClient.V1beta1LocalSubjectAccessReview](docs/V1beta1LocalSubjectAccessReview.md)
- - [KubernetesJsClient.V1beta1NetworkPolicy](docs/V1beta1NetworkPolicy.md)
- - [KubernetesJsClient.V1beta1NetworkPolicyIngressRule](docs/V1beta1NetworkPolicyIngressRule.md)
- - [KubernetesJsClient.V1beta1NetworkPolicyList](docs/V1beta1NetworkPolicyList.md)
- - [KubernetesJsClient.V1beta1NetworkPolicyPeer](docs/V1beta1NetworkPolicyPeer.md)
- - [KubernetesJsClient.V1beta1NetworkPolicyPort](docs/V1beta1NetworkPolicyPort.md)
- - [KubernetesJsClient.V1beta1NetworkPolicySpec](docs/V1beta1NetworkPolicySpec.md)
- - [KubernetesJsClient.V1beta1NonResourceAttributes](docs/V1beta1NonResourceAttributes.md)
- - [KubernetesJsClient.V1beta1PodDisruptionBudget](docs/V1beta1PodDisruptionBudget.md)
- - [KubernetesJsClient.V1beta1PodDisruptionBudgetList](docs/V1beta1PodDisruptionBudgetList.md)
- - [KubernetesJsClient.V1beta1PodDisruptionBudgetSpec](docs/V1beta1PodDisruptionBudgetSpec.md)
- - [KubernetesJsClient.V1beta1PodDisruptionBudgetStatus](docs/V1beta1PodDisruptionBudgetStatus.md)
- - [KubernetesJsClient.V1beta1PodSecurityPolicy](docs/V1beta1PodSecurityPolicy.md)
- - [KubernetesJsClient.V1beta1PodSecurityPolicyList](docs/V1beta1PodSecurityPolicyList.md)
- - [KubernetesJsClient.V1beta1PodSecurityPolicySpec](docs/V1beta1PodSecurityPolicySpec.md)
- - [KubernetesJsClient.V1beta1PolicyRule](docs/V1beta1PolicyRule.md)
- - [KubernetesJsClient.V1beta1ReplicaSet](docs/V1beta1ReplicaSet.md)
- - [KubernetesJsClient.V1beta1ReplicaSetCondition](docs/V1beta1ReplicaSetCondition.md)
- - [KubernetesJsClient.V1beta1ReplicaSetList](docs/V1beta1ReplicaSetList.md)
- - [KubernetesJsClient.V1beta1ReplicaSetSpec](docs/V1beta1ReplicaSetSpec.md)
- - [KubernetesJsClient.V1beta1ReplicaSetStatus](docs/V1beta1ReplicaSetStatus.md)
- - [KubernetesJsClient.V1beta1ResourceAttributes](docs/V1beta1ResourceAttributes.md)
- - [KubernetesJsClient.V1beta1Role](docs/V1beta1Role.md)
- - [KubernetesJsClient.V1beta1RoleBinding](docs/V1beta1RoleBinding.md)
- - [KubernetesJsClient.V1beta1RoleBindingList](docs/V1beta1RoleBindingList.md)
- - [KubernetesJsClient.V1beta1RoleList](docs/V1beta1RoleList.md)
- - [KubernetesJsClient.V1beta1RoleRef](docs/V1beta1RoleRef.md)
- - [KubernetesJsClient.V1beta1RollingUpdateDaemonSet](docs/V1beta1RollingUpdateDaemonSet.md)
- - [KubernetesJsClient.V1beta1RunAsUserStrategyOptions](docs/V1beta1RunAsUserStrategyOptions.md)
- - [KubernetesJsClient.V1beta1SELinuxStrategyOptions](docs/V1beta1SELinuxStrategyOptions.md)
- - [KubernetesJsClient.V1beta1SelfSubjectAccessReview](docs/V1beta1SelfSubjectAccessReview.md)
- - [KubernetesJsClient.V1beta1SelfSubjectAccessReviewSpec](docs/V1beta1SelfSubjectAccessReviewSpec.md)
- - [KubernetesJsClient.V1beta1StatefulSet](docs/V1beta1StatefulSet.md)
- - [KubernetesJsClient.V1beta1StatefulSetList](docs/V1beta1StatefulSetList.md)
- - [KubernetesJsClient.V1beta1StatefulSetSpec](docs/V1beta1StatefulSetSpec.md)
- - [KubernetesJsClient.V1beta1StatefulSetStatus](docs/V1beta1StatefulSetStatus.md)
- - [KubernetesJsClient.V1beta1StorageClass](docs/V1beta1StorageClass.md)
- - [KubernetesJsClient.V1beta1StorageClassList](docs/V1beta1StorageClassList.md)
- - [KubernetesJsClient.V1beta1Subject](docs/V1beta1Subject.md)
- - [KubernetesJsClient.V1beta1SubjectAccessReview](docs/V1beta1SubjectAccessReview.md)
- - [KubernetesJsClient.V1beta1SubjectAccessReviewSpec](docs/V1beta1SubjectAccessReviewSpec.md)
- - [KubernetesJsClient.V1beta1SubjectAccessReviewStatus](docs/V1beta1SubjectAccessReviewStatus.md)
- - [KubernetesJsClient.V1beta1SupplementalGroupsStrategyOptions](docs/V1beta1SupplementalGroupsStrategyOptions.md)
- - [KubernetesJsClient.V1beta1ThirdPartyResource](docs/V1beta1ThirdPartyResource.md)
- - [KubernetesJsClient.V1beta1ThirdPartyResourceList](docs/V1beta1ThirdPartyResourceList.md)
- - [KubernetesJsClient.V1beta1TokenReview](docs/V1beta1TokenReview.md)
- - [KubernetesJsClient.V1beta1TokenReviewSpec](docs/V1beta1TokenReviewSpec.md)
- - [KubernetesJsClient.V1beta1TokenReviewStatus](docs/V1beta1TokenReviewStatus.md)
- - [KubernetesJsClient.V1beta1UserInfo](docs/V1beta1UserInfo.md)
- - [KubernetesJsClient.V2alpha1CronJob](docs/V2alpha1CronJob.md)
- - [KubernetesJsClient.V2alpha1CronJobList](docs/V2alpha1CronJobList.md)
- - [KubernetesJsClient.V2alpha1CronJobSpec](docs/V2alpha1CronJobSpec.md)
- - [KubernetesJsClient.V2alpha1CronJobStatus](docs/V2alpha1CronJobStatus.md)
- - [KubernetesJsClient.V2alpha1CrossVersionObjectReference](docs/V2alpha1CrossVersionObjectReference.md)
- - [KubernetesJsClient.V2alpha1HorizontalPodAutoscaler](docs/V2alpha1HorizontalPodAutoscaler.md)
- - [KubernetesJsClient.V2alpha1HorizontalPodAutoscalerList](docs/V2alpha1HorizontalPodAutoscalerList.md)
- - [KubernetesJsClient.V2alpha1HorizontalPodAutoscalerSpec](docs/V2alpha1HorizontalPodAutoscalerSpec.md)
- - [KubernetesJsClient.V2alpha1HorizontalPodAutoscalerStatus](docs/V2alpha1HorizontalPodAutoscalerStatus.md)
- - [KubernetesJsClient.V2alpha1JobTemplateSpec](docs/V2alpha1JobTemplateSpec.md)
- - [KubernetesJsClient.V2alpha1MetricSpec](docs/V2alpha1MetricSpec.md)
- - [KubernetesJsClient.V2alpha1MetricStatus](docs/V2alpha1MetricStatus.md)
- - [KubernetesJsClient.V2alpha1ObjectMetricSource](docs/V2alpha1ObjectMetricSource.md)
- - [KubernetesJsClient.V2alpha1ObjectMetricStatus](docs/V2alpha1ObjectMetricStatus.md)
- - [KubernetesJsClient.V2alpha1PodsMetricSource](docs/V2alpha1PodsMetricSource.md)
- - [KubernetesJsClient.V2alpha1PodsMetricStatus](docs/V2alpha1PodsMetricStatus.md)
- - [KubernetesJsClient.V2alpha1ResourceMetricSource](docs/V2alpha1ResourceMetricSource.md)
- - [KubernetesJsClient.V2alpha1ResourceMetricStatus](docs/V2alpha1ResourceMetricStatus.md)
- - [KubernetesJsClient.VersionInfo](docs/VersionInfo.md)
-
-
-## Documentation for Authorization
-
-
-### BearerToken
-
-- **Type**: API key
-- **API key parameter name**: authorization
-- **Location**: HTTP header
-
diff --git a/kubernetes/docs/ApisApi.md b/kubernetes/docs/ApisApi.md
deleted file mode 100644
index 111bf4bdab..0000000000
--- a/kubernetes/docs/ApisApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.ApisApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIVersions**](ApisApi.md#getAPIVersions) | **GET** /apis/ |
-
-
-
-# **getAPIVersions**
-> V1APIGroupList getAPIVersions()
-
-
-
-get available API versions
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.ApisApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIVersions(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroupList**](V1APIGroupList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/AppsApi.md b/kubernetes/docs/AppsApi.md
deleted file mode 100644
index 8a30e453af..0000000000
--- a/kubernetes/docs/AppsApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.AppsApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](AppsApi.md#getAPIGroup) | **GET** /apis/apps/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.AppsApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/AppsV1beta1Deployment.md b/kubernetes/docs/AppsV1beta1Deployment.md
deleted file mode 100644
index 55bdf89039..0000000000
--- a/kubernetes/docs/AppsV1beta1Deployment.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.AppsV1beta1Deployment
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional]
-**spec** | [**AppsV1beta1DeploymentSpec**](AppsV1beta1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional]
-**status** | [**AppsV1beta1DeploymentStatus**](AppsV1beta1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1DeploymentCondition.md b/kubernetes/docs/AppsV1beta1DeploymentCondition.md
deleted file mode 100644
index 97355c23d3..0000000000
--- a/kubernetes/docs/AppsV1beta1DeploymentCondition.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.AppsV1beta1DeploymentCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastTransitionTime** | **Date** | Last time the condition transitioned from one status to another. | [optional]
-**lastUpdateTime** | **Date** | The last time this condition was updated. | [optional]
-**message** | **String** | A human readable message indicating details about the transition. | [optional]
-**reason** | **String** | The reason for the condition's last transition. | [optional]
-**status** | **String** | Status of the condition, one of True, False, Unknown. |
-**type** | **String** | Type of deployment condition. |
-
-
diff --git a/kubernetes/docs/AppsV1beta1DeploymentList.md b/kubernetes/docs/AppsV1beta1DeploymentList.md
deleted file mode 100644
index 1140afb2b3..0000000000
--- a/kubernetes/docs/AppsV1beta1DeploymentList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.AppsV1beta1DeploymentList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[AppsV1beta1Deployment]**](AppsV1beta1Deployment.md) | Items is the list of Deployments. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1DeploymentRollback.md b/kubernetes/docs/AppsV1beta1DeploymentRollback.md
deleted file mode 100644
index 181532f190..0000000000
--- a/kubernetes/docs/AppsV1beta1DeploymentRollback.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.AppsV1beta1DeploymentRollback
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**name** | **String** | Required: This must match the Name of a deployment. |
-**rollbackTo** | [**AppsV1beta1RollbackConfig**](AppsV1beta1RollbackConfig.md) | The config of this deployment rollback. |
-**updatedAnnotations** | **{String: String}** | The annotations to be updated to a deployment | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1DeploymentSpec.md b/kubernetes/docs/AppsV1beta1DeploymentSpec.md
deleted file mode 100644
index eefad17a15..0000000000
--- a/kubernetes/docs/AppsV1beta1DeploymentSpec.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# KubernetesJsClient.AppsV1beta1DeploymentSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**minReadySeconds** | **Number** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional]
-**paused** | **Boolean** | Indicates that the deployment is paused. | [optional]
-**progressDeadlineSeconds** | **Number** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. | [optional]
-**replicas** | **Number** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional]
-**revisionHistoryLimit** | **Number** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. | [optional]
-**rollbackTo** | [**AppsV1beta1RollbackConfig**](AppsV1beta1RollbackConfig.md) | The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional]
-**strategy** | [**AppsV1beta1DeploymentStrategy**](AppsV1beta1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional]
-**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. |
-
-
diff --git a/kubernetes/docs/AppsV1beta1DeploymentStatus.md b/kubernetes/docs/AppsV1beta1DeploymentStatus.md
deleted file mode 100644
index f3ad1e91b0..0000000000
--- a/kubernetes/docs/AppsV1beta1DeploymentStatus.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# KubernetesJsClient.AppsV1beta1DeploymentStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**availableReplicas** | **Number** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional]
-**conditions** | [**[AppsV1beta1DeploymentCondition]**](AppsV1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional]
-**observedGeneration** | **Number** | The generation observed by the deployment controller. | [optional]
-**readyReplicas** | **Number** | Total number of ready pods targeted by this deployment. | [optional]
-**replicas** | **Number** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional]
-**unavailableReplicas** | **Number** | Total number of unavailable pods targeted by this deployment. | [optional]
-**updatedReplicas** | **Number** | Total number of non-terminated pods targeted by this deployment that have the desired template spec. | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1DeploymentStrategy.md b/kubernetes/docs/AppsV1beta1DeploymentStrategy.md
deleted file mode 100644
index 06b3337f74..0000000000
--- a/kubernetes/docs/AppsV1beta1DeploymentStrategy.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.AppsV1beta1DeploymentStrategy
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**rollingUpdate** | [**AppsV1beta1RollingUpdateDeployment**](AppsV1beta1RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional]
-**type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1RollbackConfig.md b/kubernetes/docs/AppsV1beta1RollbackConfig.md
deleted file mode 100644
index 63fb5661d0..0000000000
--- a/kubernetes/docs/AppsV1beta1RollbackConfig.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.AppsV1beta1RollbackConfig
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**revision** | **Number** | The revision to rollback to. If set to 0, rollbck to the last revision. | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md b/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md
deleted file mode 100644
index a9d85abc97..0000000000
--- a/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.AppsV1beta1RollingUpdateDeployment
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**maxSurge** | **String** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional]
-**maxUnavailable** | **String** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1Scale.md b/kubernetes/docs/AppsV1beta1Scale.md
deleted file mode 100644
index 28c3fcc481..0000000000
--- a/kubernetes/docs/AppsV1beta1Scale.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.AppsV1beta1Scale
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. | [optional]
-**spec** | [**AppsV1beta1ScaleSpec**](AppsV1beta1ScaleSpec.md) | defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional]
-**status** | [**AppsV1beta1ScaleStatus**](AppsV1beta1ScaleStatus.md) | current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1ScaleSpec.md b/kubernetes/docs/AppsV1beta1ScaleSpec.md
deleted file mode 100644
index 6fd89c4402..0000000000
--- a/kubernetes/docs/AppsV1beta1ScaleSpec.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.AppsV1beta1ScaleSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**replicas** | **Number** | desired number of instances for the scaled object. | [optional]
-
-
diff --git a/kubernetes/docs/AppsV1beta1ScaleStatus.md b/kubernetes/docs/AppsV1beta1ScaleStatus.md
deleted file mode 100644
index acb794ac39..0000000000
--- a/kubernetes/docs/AppsV1beta1ScaleStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.AppsV1beta1ScaleStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**replicas** | **Number** | actual number of observed instances of the scaled object. |
-**selector** | **{String: String}** | label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-**targetSelector** | **String** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the kubernetes.clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-
-
diff --git a/kubernetes/docs/Apps_v1beta1Api.md b/kubernetes/docs/Apps_v1beta1Api.md
deleted file mode 100644
index 68bdb128b2..0000000000
--- a/kubernetes/docs/Apps_v1beta1Api.md
+++ /dev/null
@@ -1,1737 +0,0 @@
-# KubernetesJsClient.Apps_v1beta1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedDeployment**](Apps_v1beta1Api.md#createNamespacedDeployment) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments |
-[**createNamespacedDeploymentRollbackRollback**](Apps_v1beta1Api.md#createNamespacedDeploymentRollbackRollback) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback |
-[**createNamespacedStatefulSet**](Apps_v1beta1Api.md#createNamespacedStatefulSet) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets |
-[**deleteCollectionNamespacedDeployment**](Apps_v1beta1Api.md#deleteCollectionNamespacedDeployment) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/deployments |
-[**deleteCollectionNamespacedStatefulSet**](Apps_v1beta1Api.md#deleteCollectionNamespacedStatefulSet) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets |
-[**deleteNamespacedDeployment**](Apps_v1beta1Api.md#deleteNamespacedDeployment) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} |
-[**deleteNamespacedStatefulSet**](Apps_v1beta1Api.md#deleteNamespacedStatefulSet) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} |
-[**getAPIResources**](Apps_v1beta1Api.md#getAPIResources) | **GET** /apis/apps/v1beta1/ |
-[**listDeploymentForAllNamespaces**](Apps_v1beta1Api.md#listDeploymentForAllNamespaces) | **GET** /apis/apps/v1beta1/deployments |
-[**listNamespacedDeployment**](Apps_v1beta1Api.md#listNamespacedDeployment) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments |
-[**listNamespacedStatefulSet**](Apps_v1beta1Api.md#listNamespacedStatefulSet) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets |
-[**listStatefulSetForAllNamespaces**](Apps_v1beta1Api.md#listStatefulSetForAllNamespaces) | **GET** /apis/apps/v1beta1/statefulsets |
-[**patchNamespacedDeployment**](Apps_v1beta1Api.md#patchNamespacedDeployment) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} |
-[**patchNamespacedDeploymentStatus**](Apps_v1beta1Api.md#patchNamespacedDeploymentStatus) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-[**patchNamespacedScaleScale**](Apps_v1beta1Api.md#patchNamespacedScaleScale) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-[**patchNamespacedStatefulSet**](Apps_v1beta1Api.md#patchNamespacedStatefulSet) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} |
-[**patchNamespacedStatefulSetStatus**](Apps_v1beta1Api.md#patchNamespacedStatefulSetStatus) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status |
-[**readNamespacedDeployment**](Apps_v1beta1Api.md#readNamespacedDeployment) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} |
-[**readNamespacedDeploymentStatus**](Apps_v1beta1Api.md#readNamespacedDeploymentStatus) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-[**readNamespacedScaleScale**](Apps_v1beta1Api.md#readNamespacedScaleScale) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-[**readNamespacedStatefulSet**](Apps_v1beta1Api.md#readNamespacedStatefulSet) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} |
-[**readNamespacedStatefulSetStatus**](Apps_v1beta1Api.md#readNamespacedStatefulSetStatus) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status |
-[**replaceNamespacedDeployment**](Apps_v1beta1Api.md#replaceNamespacedDeployment) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} |
-[**replaceNamespacedDeploymentStatus**](Apps_v1beta1Api.md#replaceNamespacedDeploymentStatus) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-[**replaceNamespacedScaleScale**](Apps_v1beta1Api.md#replaceNamespacedScaleScale) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-[**replaceNamespacedStatefulSet**](Apps_v1beta1Api.md#replaceNamespacedStatefulSet) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} |
-[**replaceNamespacedStatefulSetStatus**](Apps_v1beta1Api.md#replaceNamespacedStatefulSetStatus) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status |
-
-
-
-# **createNamespacedDeployment**
-> AppsV1beta1Deployment createNamespacedDeployment(namespacebody, opts)
-
-
-
-create a Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.AppsV1beta1Deployment(); // AppsV1beta1Deployment |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedDeployment(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedDeploymentRollbackRollback**
-> AppsV1beta1DeploymentRollback createNamespacedDeploymentRollbackRollback(name, namespace, body, opts)
-
-
-
-create rollback of a DeploymentRollback
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the DeploymentRollback
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.AppsV1beta1DeploymentRollback(); // AppsV1beta1DeploymentRollback |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedDeploymentRollbackRollback(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DeploymentRollback |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**AppsV1beta1DeploymentRollback**](AppsV1beta1DeploymentRollback.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1DeploymentRollback**](AppsV1beta1DeploymentRollback.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedStatefulSet**
-> V1beta1StatefulSet createNamespacedStatefulSet(namespacebody, opts)
-
-
-
-create a StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1StatefulSet(); // V1beta1StatefulSet |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedStatefulSet(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSet**](V1beta1StatefulSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedDeployment**
-> V1Status deleteCollectionNamespacedDeployment(namespace, opts)
-
-
-
-delete collection of Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedDeployment(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedStatefulSet**
-> V1Status deleteCollectionNamespacedStatefulSet(namespace, opts)
-
-
-
-delete collection of StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedStatefulSet(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedDeployment**
-> V1Status deleteNamespacedDeployment(name, namespace, body, opts)
-
-
-
-delete a Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedDeployment(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedStatefulSet**
-> V1Status deleteNamespacedStatefulSet(name, namespace, body, opts)
-
-
-
-delete a StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the StatefulSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedStatefulSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StatefulSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listDeploymentForAllNamespaces**
-> AppsV1beta1DeploymentList listDeploymentForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listDeploymentForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**AppsV1beta1DeploymentList**](AppsV1beta1DeploymentList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedDeployment**
-> AppsV1beta1DeploymentList listNamespacedDeployment(namespace, opts)
-
-
-
-list or watch objects of kind Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedDeployment(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**AppsV1beta1DeploymentList**](AppsV1beta1DeploymentList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedStatefulSet**
-> V1beta1StatefulSetList listNamespacedStatefulSet(namespace, opts)
-
-
-
-list or watch objects of kind StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedStatefulSet(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSetList**](V1beta1StatefulSetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listStatefulSetForAllNamespaces**
-> V1beta1StatefulSetList listStatefulSetForAllNamespaces(opts)
-
-
-
-list or watch objects of kind StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listStatefulSetForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSetList**](V1beta1StatefulSetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespacedDeployment**
-> AppsV1beta1Deployment patchNamespacedDeployment(name, namespace, body, opts)
-
-
-
-partially update the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedDeployment(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedDeploymentStatus**
-> AppsV1beta1Deployment patchNamespacedDeploymentStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedDeploymentStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedScaleScale**
-> AppsV1beta1Scale patchNamespacedScaleScale(name, namespace, body, opts)
-
-
-
-partially update scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedScaleScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Scale**](AppsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedStatefulSet**
-> V1beta1StatefulSet patchNamespacedStatefulSet(name, namespace, body, opts)
-
-
-
-partially update the specified StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the StatefulSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedStatefulSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StatefulSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSet**](V1beta1StatefulSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedStatefulSetStatus**
-> V1beta1StatefulSet patchNamespacedStatefulSetStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the StatefulSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedStatefulSetStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StatefulSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSet**](V1beta1StatefulSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedDeployment**
-> AppsV1beta1Deployment readNamespacedDeployment(name, namespace, , opts)
-
-
-
-read the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedDeployment(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedDeploymentStatus**
-> AppsV1beta1Deployment readNamespacedDeploymentStatus(name, namespace, , opts)
-
-
-
-read status of the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedDeploymentStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedScaleScale**
-> AppsV1beta1Scale readNamespacedScaleScale(name, namespace, , opts)
-
-
-
-read scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedScaleScale(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Scale**](AppsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedStatefulSet**
-> V1beta1StatefulSet readNamespacedStatefulSet(name, namespace, , opts)
-
-
-
-read the specified StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the StatefulSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedStatefulSet(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StatefulSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSet**](V1beta1StatefulSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedStatefulSetStatus**
-> V1beta1StatefulSet readNamespacedStatefulSetStatus(name, namespace, , opts)
-
-
-
-read status of the specified StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the StatefulSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedStatefulSetStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StatefulSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSet**](V1beta1StatefulSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedDeployment**
-> AppsV1beta1Deployment replaceNamespacedDeployment(name, namespace, body, opts)
-
-
-
-replace the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.AppsV1beta1Deployment(); // AppsV1beta1Deployment |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedDeployment(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedDeploymentStatus**
-> AppsV1beta1Deployment replaceNamespacedDeploymentStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.AppsV1beta1Deployment(); // AppsV1beta1Deployment |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedDeploymentStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedScaleScale**
-> AppsV1beta1Scale replaceNamespacedScaleScale(name, namespace, body, opts)
-
-
-
-replace scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.AppsV1beta1Scale(); // AppsV1beta1Scale |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedScaleScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**AppsV1beta1Scale**](AppsV1beta1Scale.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**AppsV1beta1Scale**](AppsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedStatefulSet**
-> V1beta1StatefulSet replaceNamespacedStatefulSet(name, namespace, body, opts)
-
-
-
-replace the specified StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the StatefulSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1StatefulSet(); // V1beta1StatefulSet |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedStatefulSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StatefulSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSet**](V1beta1StatefulSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedStatefulSetStatus**
-> V1beta1StatefulSet replaceNamespacedStatefulSetStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified StatefulSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Apps_v1beta1Api();
-
-var name = "name_example"; // String | name of the StatefulSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1StatefulSet(); // V1beta1StatefulSet |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedStatefulSetStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StatefulSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StatefulSet**](V1beta1StatefulSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/AuthenticationApi.md b/kubernetes/docs/AuthenticationApi.md
deleted file mode 100644
index b08196768b..0000000000
--- a/kubernetes/docs/AuthenticationApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.AuthenticationApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](AuthenticationApi.md#getAPIGroup) | **GET** /apis/authentication.k8s.io/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.AuthenticationApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Authentication_v1Api.md b/kubernetes/docs/Authentication_v1Api.md
deleted file mode 100644
index 6139213558..0000000000
--- a/kubernetes/docs/Authentication_v1Api.md
+++ /dev/null
@@ -1,114 +0,0 @@
-# KubernetesJsClient.Authentication_v1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createTokenReview**](Authentication_v1Api.md#createTokenReview) | **POST** /apis/authentication.k8s.io/v1/tokenreviews |
-[**getAPIResources**](Authentication_v1Api.md#getAPIResources) | **GET** /apis/authentication.k8s.io/v1/ |
-
-
-
-# **createTokenReview**
-> V1TokenReview createTokenReview(body, opts)
-
-
-
-create a TokenReview
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authentication_v1Api();
-
-var body = new KubernetesJsClient.V1TokenReview(); // V1TokenReview |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createTokenReview(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1TokenReview**](V1TokenReview.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1TokenReview**](V1TokenReview.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authentication_v1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Authentication_v1beta1Api.md b/kubernetes/docs/Authentication_v1beta1Api.md
deleted file mode 100644
index 92371e9c25..0000000000
--- a/kubernetes/docs/Authentication_v1beta1Api.md
+++ /dev/null
@@ -1,114 +0,0 @@
-# KubernetesJsClient.Authentication_v1beta1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createTokenReview**](Authentication_v1beta1Api.md#createTokenReview) | **POST** /apis/authentication.k8s.io/v1beta1/tokenreviews |
-[**getAPIResources**](Authentication_v1beta1Api.md#getAPIResources) | **GET** /apis/authentication.k8s.io/v1beta1/ |
-
-
-
-# **createTokenReview**
-> V1beta1TokenReview createTokenReview(body, opts)
-
-
-
-create a TokenReview
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authentication_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1TokenReview(); // V1beta1TokenReview |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createTokenReview(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1TokenReview**](V1beta1TokenReview.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1TokenReview**](V1beta1TokenReview.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authentication_v1beta1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/AuthorizationApi.md b/kubernetes/docs/AuthorizationApi.md
deleted file mode 100644
index 970b8bc221..0000000000
--- a/kubernetes/docs/AuthorizationApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.AuthorizationApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](AuthorizationApi.md#getAPIGroup) | **GET** /apis/authorization.k8s.io/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.AuthorizationApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Authorization_v1Api.md b/kubernetes/docs/Authorization_v1Api.md
deleted file mode 100644
index ac427037b9..0000000000
--- a/kubernetes/docs/Authorization_v1Api.md
+++ /dev/null
@@ -1,233 +0,0 @@
-# KubernetesJsClient.Authorization_v1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedLocalSubjectAccessReview**](Authorization_v1Api.md#createNamespacedLocalSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews |
-[**createSelfSubjectAccessReview**](Authorization_v1Api.md#createSelfSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/selfsubjectaccessreviews |
-[**createSubjectAccessReview**](Authorization_v1Api.md#createSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/subjectaccessreviews |
-[**getAPIResources**](Authorization_v1Api.md#getAPIResources) | **GET** /apis/authorization.k8s.io/v1/ |
-
-
-
-# **createNamespacedLocalSubjectAccessReview**
-> V1LocalSubjectAccessReview createNamespacedLocalSubjectAccessReview(namespace, body, opts)
-
-
-
-create a LocalSubjectAccessReview
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authorization_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1LocalSubjectAccessReview(); // V1LocalSubjectAccessReview |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedLocalSubjectAccessReview(namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createSelfSubjectAccessReview**
-> V1SelfSubjectAccessReview createSelfSubjectAccessReview(body, opts)
-
-
-
-create a SelfSubjectAccessReview
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authorization_v1Api();
-
-var body = new KubernetesJsClient.V1SelfSubjectAccessReview(); // V1SelfSubjectAccessReview |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createSelfSubjectAccessReview(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1SelfSubjectAccessReview**](V1SelfSubjectAccessReview.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1SelfSubjectAccessReview**](V1SelfSubjectAccessReview.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createSubjectAccessReview**
-> V1SubjectAccessReview createSubjectAccessReview(body, opts)
-
-
-
-create a SubjectAccessReview
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authorization_v1Api();
-
-var body = new KubernetesJsClient.V1SubjectAccessReview(); // V1SubjectAccessReview |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createSubjectAccessReview(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1SubjectAccessReview**](V1SubjectAccessReview.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1SubjectAccessReview**](V1SubjectAccessReview.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authorization_v1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Authorization_v1beta1Api.md b/kubernetes/docs/Authorization_v1beta1Api.md
deleted file mode 100644
index 00751f61d9..0000000000
--- a/kubernetes/docs/Authorization_v1beta1Api.md
+++ /dev/null
@@ -1,233 +0,0 @@
-# KubernetesJsClient.Authorization_v1beta1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedLocalSubjectAccessReview**](Authorization_v1beta1Api.md#createNamespacedLocalSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews |
-[**createSelfSubjectAccessReview**](Authorization_v1beta1Api.md#createSelfSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews |
-[**createSubjectAccessReview**](Authorization_v1beta1Api.md#createSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/subjectaccessreviews |
-[**getAPIResources**](Authorization_v1beta1Api.md#getAPIResources) | **GET** /apis/authorization.k8s.io/v1beta1/ |
-
-
-
-# **createNamespacedLocalSubjectAccessReview**
-> V1beta1LocalSubjectAccessReview createNamespacedLocalSubjectAccessReview(namespace, body, opts)
-
-
-
-create a LocalSubjectAccessReview
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authorization_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1LocalSubjectAccessReview(); // V1beta1LocalSubjectAccessReview |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedLocalSubjectAccessReview(namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1LocalSubjectAccessReview**](V1beta1LocalSubjectAccessReview.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1LocalSubjectAccessReview**](V1beta1LocalSubjectAccessReview.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createSelfSubjectAccessReview**
-> V1beta1SelfSubjectAccessReview createSelfSubjectAccessReview(body, opts)
-
-
-
-create a SelfSubjectAccessReview
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authorization_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1SelfSubjectAccessReview(); // V1beta1SelfSubjectAccessReview |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createSelfSubjectAccessReview(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1SelfSubjectAccessReview**](V1beta1SelfSubjectAccessReview.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1SelfSubjectAccessReview**](V1beta1SelfSubjectAccessReview.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createSubjectAccessReview**
-> V1beta1SubjectAccessReview createSubjectAccessReview(body, opts)
-
-
-
-create a SubjectAccessReview
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authorization_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1SubjectAccessReview(); // V1beta1SubjectAccessReview |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createSubjectAccessReview(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1SubjectAccessReview**](V1beta1SubjectAccessReview.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1SubjectAccessReview**](V1beta1SubjectAccessReview.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Authorization_v1beta1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/AutoscalingApi.md b/kubernetes/docs/AutoscalingApi.md
deleted file mode 100644
index 2b6bd244a2..0000000000
--- a/kubernetes/docs/AutoscalingApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.AutoscalingApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](AutoscalingApi.md#getAPIGroup) | **GET** /apis/autoscaling/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.AutoscalingApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Autoscaling_v1Api.md b/kubernetes/docs/Autoscaling_v1Api.md
deleted file mode 100644
index cad8594ed7..0000000000
--- a/kubernetes/docs/Autoscaling_v1Api.md
+++ /dev/null
@@ -1,770 +0,0 @@
-# KubernetesJsClient.Autoscaling_v1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedHorizontalPodAutoscaler**](Autoscaling_v1Api.md#createNamespacedHorizontalPodAutoscaler) | **POST** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers |
-[**deleteCollectionNamespacedHorizontalPodAutoscaler**](Autoscaling_v1Api.md#deleteCollectionNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers |
-[**deleteNamespacedHorizontalPodAutoscaler**](Autoscaling_v1Api.md#deleteNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-[**getAPIResources**](Autoscaling_v1Api.md#getAPIResources) | **GET** /apis/autoscaling/v1/ |
-[**listHorizontalPodAutoscalerForAllNamespaces**](Autoscaling_v1Api.md#listHorizontalPodAutoscalerForAllNamespaces) | **GET** /apis/autoscaling/v1/horizontalpodautoscalers |
-[**listNamespacedHorizontalPodAutoscaler**](Autoscaling_v1Api.md#listNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers |
-[**patchNamespacedHorizontalPodAutoscaler**](Autoscaling_v1Api.md#patchNamespacedHorizontalPodAutoscaler) | **PATCH** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-[**patchNamespacedHorizontalPodAutoscalerStatus**](Autoscaling_v1Api.md#patchNamespacedHorizontalPodAutoscalerStatus) | **PATCH** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-[**readNamespacedHorizontalPodAutoscaler**](Autoscaling_v1Api.md#readNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-[**readNamespacedHorizontalPodAutoscalerStatus**](Autoscaling_v1Api.md#readNamespacedHorizontalPodAutoscalerStatus) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-[**replaceNamespacedHorizontalPodAutoscaler**](Autoscaling_v1Api.md#replaceNamespacedHorizontalPodAutoscaler) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-[**replaceNamespacedHorizontalPodAutoscalerStatus**](Autoscaling_v1Api.md#replaceNamespacedHorizontalPodAutoscalerStatus) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-
-
-
-# **createNamespacedHorizontalPodAutoscaler**
-> V1HorizontalPodAutoscaler createNamespacedHorizontalPodAutoscaler(namespacebody, opts)
-
-
-
-create a HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1HorizontalPodAutoscaler(); // V1HorizontalPodAutoscaler |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedHorizontalPodAutoscaler(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedHorizontalPodAutoscaler**
-> V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, opts)
-
-
-
-delete collection of HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedHorizontalPodAutoscaler**
-> V1Status deleteNamespacedHorizontalPodAutoscaler(name, namespace, body, opts)
-
-
-
-delete a HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedHorizontalPodAutoscaler(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listHorizontalPodAutoscalerForAllNamespaces**
-> V1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(opts)
-
-
-
-list or watch objects of kind HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listHorizontalPodAutoscalerForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscalerList**](V1HorizontalPodAutoscalerList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedHorizontalPodAutoscaler**
-> V1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(namespace, opts)
-
-
-
-list or watch objects of kind HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedHorizontalPodAutoscaler(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscalerList**](V1HorizontalPodAutoscalerList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespacedHorizontalPodAutoscaler**
-> V1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscaler(name, namespace, body, opts)
-
-
-
-partially update the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedHorizontalPodAutoscaler(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedHorizontalPodAutoscalerStatus**
-> V1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedHorizontalPodAutoscaler**
-> V1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscaler(name, namespace, , opts)
-
-
-
-read the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedHorizontalPodAutoscaler(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedHorizontalPodAutoscalerStatus**
-> V1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscalerStatus(name, namespace, , opts)
-
-
-
-read status of the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedHorizontalPodAutoscalerStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedHorizontalPodAutoscaler**
-> V1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, opts)
-
-
-
-replace the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1HorizontalPodAutoscaler(); // V1HorizontalPodAutoscaler |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedHorizontalPodAutoscalerStatus**
-> V1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1HorizontalPodAutoscaler(); // V1HorizontalPodAutoscaler |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Autoscaling_v2alpha1Api.md b/kubernetes/docs/Autoscaling_v2alpha1Api.md
deleted file mode 100644
index c3769aabbf..0000000000
--- a/kubernetes/docs/Autoscaling_v2alpha1Api.md
+++ /dev/null
@@ -1,770 +0,0 @@
-# KubernetesJsClient.Autoscaling_v2alpha1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedHorizontalPodAutoscaler**](Autoscaling_v2alpha1Api.md#createNamespacedHorizontalPodAutoscaler) | **POST** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers |
-[**deleteCollectionNamespacedHorizontalPodAutoscaler**](Autoscaling_v2alpha1Api.md#deleteCollectionNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers |
-[**deleteNamespacedHorizontalPodAutoscaler**](Autoscaling_v2alpha1Api.md#deleteNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-[**getAPIResources**](Autoscaling_v2alpha1Api.md#getAPIResources) | **GET** /apis/autoscaling/v2alpha1/ |
-[**listHorizontalPodAutoscalerForAllNamespaces**](Autoscaling_v2alpha1Api.md#listHorizontalPodAutoscalerForAllNamespaces) | **GET** /apis/autoscaling/v2alpha1/horizontalpodautoscalers |
-[**listNamespacedHorizontalPodAutoscaler**](Autoscaling_v2alpha1Api.md#listNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers |
-[**patchNamespacedHorizontalPodAutoscaler**](Autoscaling_v2alpha1Api.md#patchNamespacedHorizontalPodAutoscaler) | **PATCH** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-[**patchNamespacedHorizontalPodAutoscalerStatus**](Autoscaling_v2alpha1Api.md#patchNamespacedHorizontalPodAutoscalerStatus) | **PATCH** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-[**readNamespacedHorizontalPodAutoscaler**](Autoscaling_v2alpha1Api.md#readNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-[**readNamespacedHorizontalPodAutoscalerStatus**](Autoscaling_v2alpha1Api.md#readNamespacedHorizontalPodAutoscalerStatus) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-[**replaceNamespacedHorizontalPodAutoscaler**](Autoscaling_v2alpha1Api.md#replaceNamespacedHorizontalPodAutoscaler) | **PUT** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} |
-[**replaceNamespacedHorizontalPodAutoscalerStatus**](Autoscaling_v2alpha1Api.md#replaceNamespacedHorizontalPodAutoscalerStatus) | **PUT** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status |
-
-
-
-# **createNamespacedHorizontalPodAutoscaler**
-> V2alpha1HorizontalPodAutoscaler createNamespacedHorizontalPodAutoscaler(namespacebody, opts)
-
-
-
-create a HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1HorizontalPodAutoscaler(); // V2alpha1HorizontalPodAutoscaler |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedHorizontalPodAutoscaler(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedHorizontalPodAutoscaler**
-> V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, opts)
-
-
-
-delete collection of HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedHorizontalPodAutoscaler**
-> V1Status deleteNamespacedHorizontalPodAutoscaler(name, namespace, body, opts)
-
-
-
-delete a HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedHorizontalPodAutoscaler(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listHorizontalPodAutoscalerForAllNamespaces**
-> V2alpha1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(opts)
-
-
-
-list or watch objects of kind HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listHorizontalPodAutoscalerForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscalerList**](V2alpha1HorizontalPodAutoscalerList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedHorizontalPodAutoscaler**
-> V2alpha1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(namespace, opts)
-
-
-
-list or watch objects of kind HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedHorizontalPodAutoscaler(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscalerList**](V2alpha1HorizontalPodAutoscalerList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespacedHorizontalPodAutoscaler**
-> V2alpha1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscaler(name, namespace, body, opts)
-
-
-
-partially update the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedHorizontalPodAutoscaler(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedHorizontalPodAutoscalerStatus**
-> V2alpha1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedHorizontalPodAutoscaler**
-> V2alpha1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscaler(name, namespace, , opts)
-
-
-
-read the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedHorizontalPodAutoscaler(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedHorizontalPodAutoscalerStatus**
-> V2alpha1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscalerStatus(name, namespace, , opts)
-
-
-
-read status of the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedHorizontalPodAutoscalerStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedHorizontalPodAutoscaler**
-> V2alpha1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, opts)
-
-
-
-replace the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1HorizontalPodAutoscaler(); // V2alpha1HorizontalPodAutoscaler |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedHorizontalPodAutoscalerStatus**
-> V2alpha1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified HorizontalPodAutoscaler
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Autoscaling_v2alpha1Api();
-
-var name = "name_example"; // String | name of the HorizontalPodAutoscaler
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1HorizontalPodAutoscaler(); // V2alpha1HorizontalPodAutoscaler |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the HorizontalPodAutoscaler |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/BatchApi.md b/kubernetes/docs/BatchApi.md
deleted file mode 100644
index 35a3dc465b..0000000000
--- a/kubernetes/docs/BatchApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.BatchApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](BatchApi.md#getAPIGroup) | **GET** /apis/batch/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.BatchApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Batch_v1Api.md b/kubernetes/docs/Batch_v1Api.md
deleted file mode 100644
index 87d5d07b94..0000000000
--- a/kubernetes/docs/Batch_v1Api.md
+++ /dev/null
@@ -1,770 +0,0 @@
-# KubernetesJsClient.Batch_v1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedJob**](Batch_v1Api.md#createNamespacedJob) | **POST** /apis/batch/v1/namespaces/{namespace}/jobs |
-[**deleteCollectionNamespacedJob**](Batch_v1Api.md#deleteCollectionNamespacedJob) | **DELETE** /apis/batch/v1/namespaces/{namespace}/jobs |
-[**deleteNamespacedJob**](Batch_v1Api.md#deleteNamespacedJob) | **DELETE** /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
-[**getAPIResources**](Batch_v1Api.md#getAPIResources) | **GET** /apis/batch/v1/ |
-[**listJobForAllNamespaces**](Batch_v1Api.md#listJobForAllNamespaces) | **GET** /apis/batch/v1/jobs |
-[**listNamespacedJob**](Batch_v1Api.md#listNamespacedJob) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs |
-[**patchNamespacedJob**](Batch_v1Api.md#patchNamespacedJob) | **PATCH** /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
-[**patchNamespacedJobStatus**](Batch_v1Api.md#patchNamespacedJobStatus) | **PATCH** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status |
-[**readNamespacedJob**](Batch_v1Api.md#readNamespacedJob) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
-[**readNamespacedJobStatus**](Batch_v1Api.md#readNamespacedJobStatus) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status |
-[**replaceNamespacedJob**](Batch_v1Api.md#replaceNamespacedJob) | **PUT** /apis/batch/v1/namespaces/{namespace}/jobs/{name} |
-[**replaceNamespacedJobStatus**](Batch_v1Api.md#replaceNamespacedJobStatus) | **PUT** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status |
-
-
-
-# **createNamespacedJob**
-> V1Job createNamespacedJob(namespacebody, opts)
-
-
-
-create a Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Job(); // V1Job |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedJob(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Job**](V1Job.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Job**](V1Job.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedJob**
-> V1Status deleteCollectionNamespacedJob(namespace, opts)
-
-
-
-delete collection of Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedJob(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedJob**
-> V1Status deleteNamespacedJob(name, namespace, body, opts)
-
-
-
-delete a Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var name = "name_example"; // String | name of the Job
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Job |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listJobForAllNamespaces**
-> V1JobList listJobForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listJobForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1JobList**](V1JobList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedJob**
-> V1JobList listNamespacedJob(namespace, opts)
-
-
-
-list or watch objects of kind Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedJob(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1JobList**](V1JobList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespacedJob**
-> V1Job patchNamespacedJob(name, namespace, body, opts)
-
-
-
-partially update the specified Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var name = "name_example"; // String | name of the Job
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Job |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Job**](V1Job.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedJobStatus**
-> V1Job patchNamespacedJobStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var name = "name_example"; // String | name of the Job
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedJobStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Job |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Job**](V1Job.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedJob**
-> V1Job readNamespacedJob(name, namespace, , opts)
-
-
-
-read the specified Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var name = "name_example"; // String | name of the Job
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedJob(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Job |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1Job**](V1Job.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedJobStatus**
-> V1Job readNamespacedJobStatus(name, namespace, , opts)
-
-
-
-read status of the specified Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var name = "name_example"; // String | name of the Job
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedJobStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Job |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Job**](V1Job.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedJob**
-> V1Job replaceNamespacedJob(name, namespace, body, opts)
-
-
-
-replace the specified Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var name = "name_example"; // String | name of the Job
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Job(); // V1Job |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Job |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Job**](V1Job.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Job**](V1Job.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedJobStatus**
-> V1Job replaceNamespacedJobStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified Job
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v1Api();
-
-var name = "name_example"; // String | name of the Job
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Job(); // V1Job |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedJobStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Job |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Job**](V1Job.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Job**](V1Job.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Batch_v2alpha1Api.md b/kubernetes/docs/Batch_v2alpha1Api.md
deleted file mode 100644
index 0409fa749e..0000000000
--- a/kubernetes/docs/Batch_v2alpha1Api.md
+++ /dev/null
@@ -1,1484 +0,0 @@
-# KubernetesJsClient.Batch_v2alpha1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedCronJob**](Batch_v2alpha1Api.md#createNamespacedCronJob) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs |
-[**createNamespacedScheduledJob**](Batch_v2alpha1Api.md#createNamespacedScheduledJob) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs |
-[**deleteCollectionNamespacedCronJob**](Batch_v2alpha1Api.md#deleteCollectionNamespacedCronJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs |
-[**deleteCollectionNamespacedScheduledJob**](Batch_v2alpha1Api.md#deleteCollectionNamespacedScheduledJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs |
-[**deleteNamespacedCronJob**](Batch_v2alpha1Api.md#deleteNamespacedCronJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} |
-[**deleteNamespacedScheduledJob**](Batch_v2alpha1Api.md#deleteNamespacedScheduledJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} |
-[**getAPIResources**](Batch_v2alpha1Api.md#getAPIResources) | **GET** /apis/batch/v2alpha1/ |
-[**listCronJobForAllNamespaces**](Batch_v2alpha1Api.md#listCronJobForAllNamespaces) | **GET** /apis/batch/v2alpha1/cronjobs |
-[**listNamespacedCronJob**](Batch_v2alpha1Api.md#listNamespacedCronJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs |
-[**listNamespacedScheduledJob**](Batch_v2alpha1Api.md#listNamespacedScheduledJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs |
-[**listScheduledJobForAllNamespaces**](Batch_v2alpha1Api.md#listScheduledJobForAllNamespaces) | **GET** /apis/batch/v2alpha1/scheduledjobs |
-[**patchNamespacedCronJob**](Batch_v2alpha1Api.md#patchNamespacedCronJob) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} |
-[**patchNamespacedCronJobStatus**](Batch_v2alpha1Api.md#patchNamespacedCronJobStatus) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status |
-[**patchNamespacedScheduledJob**](Batch_v2alpha1Api.md#patchNamespacedScheduledJob) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} |
-[**patchNamespacedScheduledJobStatus**](Batch_v2alpha1Api.md#patchNamespacedScheduledJobStatus) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status |
-[**readNamespacedCronJob**](Batch_v2alpha1Api.md#readNamespacedCronJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} |
-[**readNamespacedCronJobStatus**](Batch_v2alpha1Api.md#readNamespacedCronJobStatus) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status |
-[**readNamespacedScheduledJob**](Batch_v2alpha1Api.md#readNamespacedScheduledJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} |
-[**readNamespacedScheduledJobStatus**](Batch_v2alpha1Api.md#readNamespacedScheduledJobStatus) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status |
-[**replaceNamespacedCronJob**](Batch_v2alpha1Api.md#replaceNamespacedCronJob) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} |
-[**replaceNamespacedCronJobStatus**](Batch_v2alpha1Api.md#replaceNamespacedCronJobStatus) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status |
-[**replaceNamespacedScheduledJob**](Batch_v2alpha1Api.md#replaceNamespacedScheduledJob) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} |
-[**replaceNamespacedScheduledJobStatus**](Batch_v2alpha1Api.md#replaceNamespacedScheduledJobStatus) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status |
-
-
-
-# **createNamespacedCronJob**
-> V2alpha1CronJob createNamespacedCronJob(namespacebody, opts)
-
-
-
-create a CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1CronJob(); // V2alpha1CronJob |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedCronJob(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedScheduledJob**
-> V2alpha1CronJob createNamespacedScheduledJob(namespacebody, opts)
-
-
-
-create a ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1CronJob(); // V2alpha1CronJob |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedScheduledJob(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedCronJob**
-> V1Status deleteCollectionNamespacedCronJob(namespace, opts)
-
-
-
-delete collection of CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedCronJob(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedScheduledJob**
-> V1Status deleteCollectionNamespacedScheduledJob(namespace, opts)
-
-
-
-delete collection of ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedScheduledJob(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedCronJob**
-> V1Status deleteNamespacedCronJob(name, namespace, body, opts)
-
-
-
-delete a CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the CronJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedCronJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CronJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedScheduledJob**
-> V1Status deleteNamespacedScheduledJob(name, namespace, body, opts)
-
-
-
-delete a ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the ScheduledJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedScheduledJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ScheduledJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listCronJobForAllNamespaces**
-> V2alpha1CronJobList listCronJobForAllNamespaces(opts)
-
-
-
-list or watch objects of kind CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listCronJobForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V2alpha1CronJobList**](V2alpha1CronJobList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedCronJob**
-> V2alpha1CronJobList listNamespacedCronJob(namespace, opts)
-
-
-
-list or watch objects of kind CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedCronJob(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V2alpha1CronJobList**](V2alpha1CronJobList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedScheduledJob**
-> V2alpha1CronJobList listNamespacedScheduledJob(namespace, opts)
-
-
-
-list or watch objects of kind ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedScheduledJob(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V2alpha1CronJobList**](V2alpha1CronJobList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listScheduledJobForAllNamespaces**
-> V2alpha1CronJobList listScheduledJobForAllNamespaces(opts)
-
-
-
-list or watch objects of kind ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listScheduledJobForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V2alpha1CronJobList**](V2alpha1CronJobList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespacedCronJob**
-> V2alpha1CronJob patchNamespacedCronJob(name, namespace, body, opts)
-
-
-
-partially update the specified CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the CronJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedCronJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CronJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedCronJobStatus**
-> V2alpha1CronJob patchNamespacedCronJobStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the CronJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedCronJobStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CronJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedScheduledJob**
-> V2alpha1CronJob patchNamespacedScheduledJob(name, namespace, body, opts)
-
-
-
-partially update the specified ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the ScheduledJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedScheduledJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ScheduledJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedScheduledJobStatus**
-> V2alpha1CronJob patchNamespacedScheduledJobStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the ScheduledJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedScheduledJobStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ScheduledJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedCronJob**
-> V2alpha1CronJob readNamespacedCronJob(name, namespace, , opts)
-
-
-
-read the specified CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the CronJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedCronJob(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CronJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedCronJobStatus**
-> V2alpha1CronJob readNamespacedCronJobStatus(name, namespace, , opts)
-
-
-
-read status of the specified CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the CronJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedCronJobStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CronJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedScheduledJob**
-> V2alpha1CronJob readNamespacedScheduledJob(name, namespace, , opts)
-
-
-
-read the specified ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the ScheduledJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedScheduledJob(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ScheduledJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedScheduledJobStatus**
-> V2alpha1CronJob readNamespacedScheduledJobStatus(name, namespace, , opts)
-
-
-
-read status of the specified ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the ScheduledJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedScheduledJobStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ScheduledJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedCronJob**
-> V2alpha1CronJob replaceNamespacedCronJob(name, namespace, body, opts)
-
-
-
-replace the specified CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the CronJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1CronJob(); // V2alpha1CronJob |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedCronJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CronJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedCronJobStatus**
-> V2alpha1CronJob replaceNamespacedCronJobStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified CronJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the CronJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1CronJob(); // V2alpha1CronJob |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedCronJobStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CronJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedScheduledJob**
-> V2alpha1CronJob replaceNamespacedScheduledJob(name, namespace, body, opts)
-
-
-
-replace the specified ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the ScheduledJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1CronJob(); // V2alpha1CronJob |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedScheduledJob(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ScheduledJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedScheduledJobStatus**
-> V2alpha1CronJob replaceNamespacedScheduledJobStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified ScheduledJob
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Batch_v2alpha1Api();
-
-var name = "name_example"; // String | name of the ScheduledJob
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V2alpha1CronJob(); // V2alpha1CronJob |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedScheduledJobStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ScheduledJob |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V2alpha1CronJob**](V2alpha1CronJob.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/CertificatesApi.md b/kubernetes/docs/CertificatesApi.md
deleted file mode 100644
index bb7a153142..0000000000
--- a/kubernetes/docs/CertificatesApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.CertificatesApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](CertificatesApi.md#getAPIGroup) | **GET** /apis/certificates.k8s.io/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.CertificatesApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Certificates_v1beta1Api.md b/kubernetes/docs/Certificates_v1beta1Api.md
deleted file mode 100644
index b1e669b6b1..0000000000
--- a/kubernetes/docs/Certificates_v1beta1Api.md
+++ /dev/null
@@ -1,617 +0,0 @@
-# KubernetesJsClient.Certificates_v1beta1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createCertificateSigningRequest**](Certificates_v1beta1Api.md#createCertificateSigningRequest) | **POST** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests |
-[**deleteCertificateSigningRequest**](Certificates_v1beta1Api.md#deleteCertificateSigningRequest) | **DELETE** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} |
-[**deleteCollectionCertificateSigningRequest**](Certificates_v1beta1Api.md#deleteCollectionCertificateSigningRequest) | **DELETE** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests |
-[**getAPIResources**](Certificates_v1beta1Api.md#getAPIResources) | **GET** /apis/certificates.k8s.io/v1beta1/ |
-[**listCertificateSigningRequest**](Certificates_v1beta1Api.md#listCertificateSigningRequest) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests |
-[**patchCertificateSigningRequest**](Certificates_v1beta1Api.md#patchCertificateSigningRequest) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} |
-[**readCertificateSigningRequest**](Certificates_v1beta1Api.md#readCertificateSigningRequest) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} |
-[**replaceCertificateSigningRequest**](Certificates_v1beta1Api.md#replaceCertificateSigningRequest) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} |
-[**replaceCertificateSigningRequestApproval**](Certificates_v1beta1Api.md#replaceCertificateSigningRequestApproval) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval |
-[**replaceCertificateSigningRequestStatus**](Certificates_v1beta1Api.md#replaceCertificateSigningRequestStatus) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status |
-
-
-
-# **createCertificateSigningRequest**
-> V1beta1CertificateSigningRequest createCertificateSigningRequest(body, opts)
-
-
-
-create a CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1CertificateSigningRequest(); // V1beta1CertificateSigningRequest |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createCertificateSigningRequest(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCertificateSigningRequest**
-> V1Status deleteCertificateSigningRequest(name, body, opts)
-
-
-
-delete a CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var name = "name_example"; // String | name of the CertificateSigningRequest
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCertificateSigningRequest(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CertificateSigningRequest |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionCertificateSigningRequest**
-> V1Status deleteCollectionCertificateSigningRequest(opts)
-
-
-
-delete collection of CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionCertificateSigningRequest(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listCertificateSigningRequest**
-> V1beta1CertificateSigningRequestList listCertificateSigningRequest(opts)
-
-
-
-list or watch objects of kind CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listCertificateSigningRequest(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1CertificateSigningRequestList**](V1beta1CertificateSigningRequestList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchCertificateSigningRequest**
-> V1beta1CertificateSigningRequest patchCertificateSigningRequest(name, body, opts)
-
-
-
-partially update the specified CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var name = "name_example"; // String | name of the CertificateSigningRequest
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchCertificateSigningRequest(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CertificateSigningRequest |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readCertificateSigningRequest**
-> V1beta1CertificateSigningRequest readCertificateSigningRequest(name, , opts)
-
-
-
-read the specified CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var name = "name_example"; // String | name of the CertificateSigningRequest
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readCertificateSigningRequest(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CertificateSigningRequest |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceCertificateSigningRequest**
-> V1beta1CertificateSigningRequest replaceCertificateSigningRequest(name, body, opts)
-
-
-
-replace the specified CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var name = "name_example"; // String | name of the CertificateSigningRequest
-
-var body = new KubernetesJsClient.V1beta1CertificateSigningRequest(); // V1beta1CertificateSigningRequest |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceCertificateSigningRequest(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CertificateSigningRequest |
- **body** | [**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceCertificateSigningRequestApproval**
-> V1beta1CertificateSigningRequest replaceCertificateSigningRequestApproval(name, body, opts)
-
-
-
-replace approval of the specified CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var name = "name_example"; // String | name of the CertificateSigningRequest
-
-var body = new KubernetesJsClient.V1beta1CertificateSigningRequest(); // V1beta1CertificateSigningRequest |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceCertificateSigningRequestApproval(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CertificateSigningRequest |
- **body** | [**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceCertificateSigningRequestStatus**
-> V1beta1CertificateSigningRequest replaceCertificateSigningRequestStatus(name, body, opts)
-
-
-
-replace status of the specified CertificateSigningRequest
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Certificates_v1beta1Api();
-
-var name = "name_example"; // String | name of the CertificateSigningRequest
-
-var body = new KubernetesJsClient.V1beta1CertificateSigningRequest(); // V1beta1CertificateSigningRequest |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceCertificateSigningRequestStatus(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the CertificateSigningRequest |
- **body** | [**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/CoreApi.md b/kubernetes/docs/CoreApi.md
deleted file mode 100644
index b15cef5b9e..0000000000
--- a/kubernetes/docs/CoreApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.CoreApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIVersions**](CoreApi.md#getAPIVersions) | **GET** /api/ |
-
-
-
-# **getAPIVersions**
-> V1APIVersions getAPIVersions()
-
-
-
-get available API versions
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.CoreApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIVersions(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIVersions**](V1APIVersions.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Core_v1Api.md b/kubernetes/docs/Core_v1Api.md
deleted file mode 100644
index ed409d002d..0000000000
--- a/kubernetes/docs/Core_v1Api.md
+++ /dev/null
@@ -1,14749 +0,0 @@
-# KubernetesJsClient.Core_v1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**connectDeleteNamespacedPodProxy**](Core_v1Api.md#connectDeleteNamespacedPodProxy) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-[**connectDeleteNamespacedPodProxyWithPath**](Core_v1Api.md#connectDeleteNamespacedPodProxyWithPath) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-[**connectDeleteNamespacedServiceProxy**](Core_v1Api.md#connectDeleteNamespacedServiceProxy) | **DELETE** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-[**connectDeleteNamespacedServiceProxyWithPath**](Core_v1Api.md#connectDeleteNamespacedServiceProxyWithPath) | **DELETE** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-[**connectDeleteNodeProxy**](Core_v1Api.md#connectDeleteNodeProxy) | **DELETE** /api/v1/nodes/{name}/proxy |
-[**connectDeleteNodeProxyWithPath**](Core_v1Api.md#connectDeleteNodeProxyWithPath) | **DELETE** /api/v1/nodes/{name}/proxy/{path} |
-[**connectGetNamespacedPodAttach**](Core_v1Api.md#connectGetNamespacedPodAttach) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/attach |
-[**connectGetNamespacedPodExec**](Core_v1Api.md#connectGetNamespacedPodExec) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/exec |
-[**connectGetNamespacedPodPortforward**](Core_v1Api.md#connectGetNamespacedPodPortforward) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/portforward |
-[**connectGetNamespacedPodProxy**](Core_v1Api.md#connectGetNamespacedPodProxy) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-[**connectGetNamespacedPodProxyWithPath**](Core_v1Api.md#connectGetNamespacedPodProxyWithPath) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-[**connectGetNamespacedServiceProxy**](Core_v1Api.md#connectGetNamespacedServiceProxy) | **GET** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-[**connectGetNamespacedServiceProxyWithPath**](Core_v1Api.md#connectGetNamespacedServiceProxyWithPath) | **GET** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-[**connectGetNodeProxy**](Core_v1Api.md#connectGetNodeProxy) | **GET** /api/v1/nodes/{name}/proxy |
-[**connectGetNodeProxyWithPath**](Core_v1Api.md#connectGetNodeProxyWithPath) | **GET** /api/v1/nodes/{name}/proxy/{path} |
-[**connectHeadNamespacedPodProxy**](Core_v1Api.md#connectHeadNamespacedPodProxy) | **HEAD** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-[**connectHeadNamespacedPodProxyWithPath**](Core_v1Api.md#connectHeadNamespacedPodProxyWithPath) | **HEAD** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-[**connectHeadNamespacedServiceProxy**](Core_v1Api.md#connectHeadNamespacedServiceProxy) | **HEAD** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-[**connectHeadNamespacedServiceProxyWithPath**](Core_v1Api.md#connectHeadNamespacedServiceProxyWithPath) | **HEAD** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-[**connectHeadNodeProxy**](Core_v1Api.md#connectHeadNodeProxy) | **HEAD** /api/v1/nodes/{name}/proxy |
-[**connectHeadNodeProxyWithPath**](Core_v1Api.md#connectHeadNodeProxyWithPath) | **HEAD** /api/v1/nodes/{name}/proxy/{path} |
-[**connectOptionsNamespacedPodProxy**](Core_v1Api.md#connectOptionsNamespacedPodProxy) | **OPTIONS** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-[**connectOptionsNamespacedPodProxyWithPath**](Core_v1Api.md#connectOptionsNamespacedPodProxyWithPath) | **OPTIONS** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-[**connectOptionsNamespacedServiceProxy**](Core_v1Api.md#connectOptionsNamespacedServiceProxy) | **OPTIONS** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-[**connectOptionsNamespacedServiceProxyWithPath**](Core_v1Api.md#connectOptionsNamespacedServiceProxyWithPath) | **OPTIONS** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-[**connectOptionsNodeProxy**](Core_v1Api.md#connectOptionsNodeProxy) | **OPTIONS** /api/v1/nodes/{name}/proxy |
-[**connectOptionsNodeProxyWithPath**](Core_v1Api.md#connectOptionsNodeProxyWithPath) | **OPTIONS** /api/v1/nodes/{name}/proxy/{path} |
-[**connectPostNamespacedPodAttach**](Core_v1Api.md#connectPostNamespacedPodAttach) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/attach |
-[**connectPostNamespacedPodExec**](Core_v1Api.md#connectPostNamespacedPodExec) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/exec |
-[**connectPostNamespacedPodPortforward**](Core_v1Api.md#connectPostNamespacedPodPortforward) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/portforward |
-[**connectPostNamespacedPodProxy**](Core_v1Api.md#connectPostNamespacedPodProxy) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-[**connectPostNamespacedPodProxyWithPath**](Core_v1Api.md#connectPostNamespacedPodProxyWithPath) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-[**connectPostNamespacedServiceProxy**](Core_v1Api.md#connectPostNamespacedServiceProxy) | **POST** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-[**connectPostNamespacedServiceProxyWithPath**](Core_v1Api.md#connectPostNamespacedServiceProxyWithPath) | **POST** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-[**connectPostNodeProxy**](Core_v1Api.md#connectPostNodeProxy) | **POST** /api/v1/nodes/{name}/proxy |
-[**connectPostNodeProxyWithPath**](Core_v1Api.md#connectPostNodeProxyWithPath) | **POST** /api/v1/nodes/{name}/proxy/{path} |
-[**connectPutNamespacedPodProxy**](Core_v1Api.md#connectPutNamespacedPodProxy) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/proxy |
-[**connectPutNamespacedPodProxyWithPath**](Core_v1Api.md#connectPutNamespacedPodProxyWithPath) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} |
-[**connectPutNamespacedServiceProxy**](Core_v1Api.md#connectPutNamespacedServiceProxy) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/proxy |
-[**connectPutNamespacedServiceProxyWithPath**](Core_v1Api.md#connectPutNamespacedServiceProxyWithPath) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} |
-[**connectPutNodeProxy**](Core_v1Api.md#connectPutNodeProxy) | **PUT** /api/v1/nodes/{name}/proxy |
-[**connectPutNodeProxyWithPath**](Core_v1Api.md#connectPutNodeProxyWithPath) | **PUT** /api/v1/nodes/{name}/proxy/{path} |
-[**createNamespace**](Core_v1Api.md#createNamespace) | **POST** /api/v1/namespaces |
-[**createNamespacedBinding**](Core_v1Api.md#createNamespacedBinding) | **POST** /api/v1/namespaces/{namespace}/bindings |
-[**createNamespacedBindingBinding**](Core_v1Api.md#createNamespacedBindingBinding) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/binding |
-[**createNamespacedConfigMap**](Core_v1Api.md#createNamespacedConfigMap) | **POST** /api/v1/namespaces/{namespace}/configmaps |
-[**createNamespacedEndpoints**](Core_v1Api.md#createNamespacedEndpoints) | **POST** /api/v1/namespaces/{namespace}/endpoints |
-[**createNamespacedEvent**](Core_v1Api.md#createNamespacedEvent) | **POST** /api/v1/namespaces/{namespace}/events |
-[**createNamespacedEvictionEviction**](Core_v1Api.md#createNamespacedEvictionEviction) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/eviction |
-[**createNamespacedLimitRange**](Core_v1Api.md#createNamespacedLimitRange) | **POST** /api/v1/namespaces/{namespace}/limitranges |
-[**createNamespacedPersistentVolumeClaim**](Core_v1Api.md#createNamespacedPersistentVolumeClaim) | **POST** /api/v1/namespaces/{namespace}/persistentvolumeclaims |
-[**createNamespacedPod**](Core_v1Api.md#createNamespacedPod) | **POST** /api/v1/namespaces/{namespace}/pods |
-[**createNamespacedPodTemplate**](Core_v1Api.md#createNamespacedPodTemplate) | **POST** /api/v1/namespaces/{namespace}/podtemplates |
-[**createNamespacedReplicationController**](Core_v1Api.md#createNamespacedReplicationController) | **POST** /api/v1/namespaces/{namespace}/replicationcontrollers |
-[**createNamespacedResourceQuota**](Core_v1Api.md#createNamespacedResourceQuota) | **POST** /api/v1/namespaces/{namespace}/resourcequotas |
-[**createNamespacedSecret**](Core_v1Api.md#createNamespacedSecret) | **POST** /api/v1/namespaces/{namespace}/secrets |
-[**createNamespacedService**](Core_v1Api.md#createNamespacedService) | **POST** /api/v1/namespaces/{namespace}/services |
-[**createNamespacedServiceAccount**](Core_v1Api.md#createNamespacedServiceAccount) | **POST** /api/v1/namespaces/{namespace}/serviceaccounts |
-[**createNode**](Core_v1Api.md#createNode) | **POST** /api/v1/nodes |
-[**createPersistentVolume**](Core_v1Api.md#createPersistentVolume) | **POST** /api/v1/persistentvolumes |
-[**deleteCollectionNamespace**](Core_v1Api.md#deleteCollectionNamespace) | **DELETE** /api/v1/namespaces |
-[**deleteCollectionNamespacedConfigMap**](Core_v1Api.md#deleteCollectionNamespacedConfigMap) | **DELETE** /api/v1/namespaces/{namespace}/configmaps |
-[**deleteCollectionNamespacedEndpoints**](Core_v1Api.md#deleteCollectionNamespacedEndpoints) | **DELETE** /api/v1/namespaces/{namespace}/endpoints |
-[**deleteCollectionNamespacedEvent**](Core_v1Api.md#deleteCollectionNamespacedEvent) | **DELETE** /api/v1/namespaces/{namespace}/events |
-[**deleteCollectionNamespacedLimitRange**](Core_v1Api.md#deleteCollectionNamespacedLimitRange) | **DELETE** /api/v1/namespaces/{namespace}/limitranges |
-[**deleteCollectionNamespacedPersistentVolumeClaim**](Core_v1Api.md#deleteCollectionNamespacedPersistentVolumeClaim) | **DELETE** /api/v1/namespaces/{namespace}/persistentvolumeclaims |
-[**deleteCollectionNamespacedPod**](Core_v1Api.md#deleteCollectionNamespacedPod) | **DELETE** /api/v1/namespaces/{namespace}/pods |
-[**deleteCollectionNamespacedPodTemplate**](Core_v1Api.md#deleteCollectionNamespacedPodTemplate) | **DELETE** /api/v1/namespaces/{namespace}/podtemplates |
-[**deleteCollectionNamespacedReplicationController**](Core_v1Api.md#deleteCollectionNamespacedReplicationController) | **DELETE** /api/v1/namespaces/{namespace}/replicationcontrollers |
-[**deleteCollectionNamespacedResourceQuota**](Core_v1Api.md#deleteCollectionNamespacedResourceQuota) | **DELETE** /api/v1/namespaces/{namespace}/resourcequotas |
-[**deleteCollectionNamespacedSecret**](Core_v1Api.md#deleteCollectionNamespacedSecret) | **DELETE** /api/v1/namespaces/{namespace}/secrets |
-[**deleteCollectionNamespacedServiceAccount**](Core_v1Api.md#deleteCollectionNamespacedServiceAccount) | **DELETE** /api/v1/namespaces/{namespace}/serviceaccounts |
-[**deleteCollectionNode**](Core_v1Api.md#deleteCollectionNode) | **DELETE** /api/v1/nodes |
-[**deleteCollectionPersistentVolume**](Core_v1Api.md#deleteCollectionPersistentVolume) | **DELETE** /api/v1/persistentvolumes |
-[**deleteNamespace**](Core_v1Api.md#deleteNamespace) | **DELETE** /api/v1/namespaces/{name} |
-[**deleteNamespacedConfigMap**](Core_v1Api.md#deleteNamespacedConfigMap) | **DELETE** /api/v1/namespaces/{namespace}/configmaps/{name} |
-[**deleteNamespacedEndpoints**](Core_v1Api.md#deleteNamespacedEndpoints) | **DELETE** /api/v1/namespaces/{namespace}/endpoints/{name} |
-[**deleteNamespacedEvent**](Core_v1Api.md#deleteNamespacedEvent) | **DELETE** /api/v1/namespaces/{namespace}/events/{name} |
-[**deleteNamespacedLimitRange**](Core_v1Api.md#deleteNamespacedLimitRange) | **DELETE** /api/v1/namespaces/{namespace}/limitranges/{name} |
-[**deleteNamespacedPersistentVolumeClaim**](Core_v1Api.md#deleteNamespacedPersistentVolumeClaim) | **DELETE** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
-[**deleteNamespacedPod**](Core_v1Api.md#deleteNamespacedPod) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name} |
-[**deleteNamespacedPodTemplate**](Core_v1Api.md#deleteNamespacedPodTemplate) | **DELETE** /api/v1/namespaces/{namespace}/podtemplates/{name} |
-[**deleteNamespacedReplicationController**](Core_v1Api.md#deleteNamespacedReplicationController) | **DELETE** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} |
-[**deleteNamespacedResourceQuota**](Core_v1Api.md#deleteNamespacedResourceQuota) | **DELETE** /api/v1/namespaces/{namespace}/resourcequotas/{name} |
-[**deleteNamespacedSecret**](Core_v1Api.md#deleteNamespacedSecret) | **DELETE** /api/v1/namespaces/{namespace}/secrets/{name} |
-[**deleteNamespacedService**](Core_v1Api.md#deleteNamespacedService) | **DELETE** /api/v1/namespaces/{namespace}/services/{name} |
-[**deleteNamespacedServiceAccount**](Core_v1Api.md#deleteNamespacedServiceAccount) | **DELETE** /api/v1/namespaces/{namespace}/serviceaccounts/{name} |
-[**deleteNode**](Core_v1Api.md#deleteNode) | **DELETE** /api/v1/nodes/{name} |
-[**deletePersistentVolume**](Core_v1Api.md#deletePersistentVolume) | **DELETE** /api/v1/persistentvolumes/{name} |
-[**getAPIResources**](Core_v1Api.md#getAPIResources) | **GET** /api/v1/ |
-[**listComponentStatus**](Core_v1Api.md#listComponentStatus) | **GET** /api/v1/componentstatuses |
-[**listConfigMapForAllNamespaces**](Core_v1Api.md#listConfigMapForAllNamespaces) | **GET** /api/v1/configmaps |
-[**listEndpointsForAllNamespaces**](Core_v1Api.md#listEndpointsForAllNamespaces) | **GET** /api/v1/endpoints |
-[**listEventForAllNamespaces**](Core_v1Api.md#listEventForAllNamespaces) | **GET** /api/v1/events |
-[**listLimitRangeForAllNamespaces**](Core_v1Api.md#listLimitRangeForAllNamespaces) | **GET** /api/v1/limitranges |
-[**listNamespace**](Core_v1Api.md#listNamespace) | **GET** /api/v1/namespaces |
-[**listNamespacedConfigMap**](Core_v1Api.md#listNamespacedConfigMap) | **GET** /api/v1/namespaces/{namespace}/configmaps |
-[**listNamespacedEndpoints**](Core_v1Api.md#listNamespacedEndpoints) | **GET** /api/v1/namespaces/{namespace}/endpoints |
-[**listNamespacedEvent**](Core_v1Api.md#listNamespacedEvent) | **GET** /api/v1/namespaces/{namespace}/events |
-[**listNamespacedLimitRange**](Core_v1Api.md#listNamespacedLimitRange) | **GET** /api/v1/namespaces/{namespace}/limitranges |
-[**listNamespacedPersistentVolumeClaim**](Core_v1Api.md#listNamespacedPersistentVolumeClaim) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims |
-[**listNamespacedPod**](Core_v1Api.md#listNamespacedPod) | **GET** /api/v1/namespaces/{namespace}/pods |
-[**listNamespacedPodTemplate**](Core_v1Api.md#listNamespacedPodTemplate) | **GET** /api/v1/namespaces/{namespace}/podtemplates |
-[**listNamespacedReplicationController**](Core_v1Api.md#listNamespacedReplicationController) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers |
-[**listNamespacedResourceQuota**](Core_v1Api.md#listNamespacedResourceQuota) | **GET** /api/v1/namespaces/{namespace}/resourcequotas |
-[**listNamespacedSecret**](Core_v1Api.md#listNamespacedSecret) | **GET** /api/v1/namespaces/{namespace}/secrets |
-[**listNamespacedService**](Core_v1Api.md#listNamespacedService) | **GET** /api/v1/namespaces/{namespace}/services |
-[**listNamespacedServiceAccount**](Core_v1Api.md#listNamespacedServiceAccount) | **GET** /api/v1/namespaces/{namespace}/serviceaccounts |
-[**listNode**](Core_v1Api.md#listNode) | **GET** /api/v1/nodes |
-[**listPersistentVolume**](Core_v1Api.md#listPersistentVolume) | **GET** /api/v1/persistentvolumes |
-[**listPersistentVolumeClaimForAllNamespaces**](Core_v1Api.md#listPersistentVolumeClaimForAllNamespaces) | **GET** /api/v1/persistentvolumeclaims |
-[**listPodForAllNamespaces**](Core_v1Api.md#listPodForAllNamespaces) | **GET** /api/v1/pods |
-[**listPodTemplateForAllNamespaces**](Core_v1Api.md#listPodTemplateForAllNamespaces) | **GET** /api/v1/podtemplates |
-[**listReplicationControllerForAllNamespaces**](Core_v1Api.md#listReplicationControllerForAllNamespaces) | **GET** /api/v1/replicationcontrollers |
-[**listResourceQuotaForAllNamespaces**](Core_v1Api.md#listResourceQuotaForAllNamespaces) | **GET** /api/v1/resourcequotas |
-[**listSecretForAllNamespaces**](Core_v1Api.md#listSecretForAllNamespaces) | **GET** /api/v1/secrets |
-[**listServiceAccountForAllNamespaces**](Core_v1Api.md#listServiceAccountForAllNamespaces) | **GET** /api/v1/serviceaccounts |
-[**listServiceForAllNamespaces**](Core_v1Api.md#listServiceForAllNamespaces) | **GET** /api/v1/services |
-[**patchNamespace**](Core_v1Api.md#patchNamespace) | **PATCH** /api/v1/namespaces/{name} |
-[**patchNamespaceStatus**](Core_v1Api.md#patchNamespaceStatus) | **PATCH** /api/v1/namespaces/{name}/status |
-[**patchNamespacedConfigMap**](Core_v1Api.md#patchNamespacedConfigMap) | **PATCH** /api/v1/namespaces/{namespace}/configmaps/{name} |
-[**patchNamespacedEndpoints**](Core_v1Api.md#patchNamespacedEndpoints) | **PATCH** /api/v1/namespaces/{namespace}/endpoints/{name} |
-[**patchNamespacedEvent**](Core_v1Api.md#patchNamespacedEvent) | **PATCH** /api/v1/namespaces/{namespace}/events/{name} |
-[**patchNamespacedLimitRange**](Core_v1Api.md#patchNamespacedLimitRange) | **PATCH** /api/v1/namespaces/{namespace}/limitranges/{name} |
-[**patchNamespacedPersistentVolumeClaim**](Core_v1Api.md#patchNamespacedPersistentVolumeClaim) | **PATCH** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
-[**patchNamespacedPersistentVolumeClaimStatus**](Core_v1Api.md#patchNamespacedPersistentVolumeClaimStatus) | **PATCH** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status |
-[**patchNamespacedPod**](Core_v1Api.md#patchNamespacedPod) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name} |
-[**patchNamespacedPodStatus**](Core_v1Api.md#patchNamespacedPodStatus) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/status |
-[**patchNamespacedPodTemplate**](Core_v1Api.md#patchNamespacedPodTemplate) | **PATCH** /api/v1/namespaces/{namespace}/podtemplates/{name} |
-[**patchNamespacedReplicationController**](Core_v1Api.md#patchNamespacedReplicationController) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} |
-[**patchNamespacedReplicationControllerStatus**](Core_v1Api.md#patchNamespacedReplicationControllerStatus) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status |
-[**patchNamespacedResourceQuota**](Core_v1Api.md#patchNamespacedResourceQuota) | **PATCH** /api/v1/namespaces/{namespace}/resourcequotas/{name} |
-[**patchNamespacedResourceQuotaStatus**](Core_v1Api.md#patchNamespacedResourceQuotaStatus) | **PATCH** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status |
-[**patchNamespacedScaleScale**](Core_v1Api.md#patchNamespacedScaleScale) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-[**patchNamespacedSecret**](Core_v1Api.md#patchNamespacedSecret) | **PATCH** /api/v1/namespaces/{namespace}/secrets/{name} |
-[**patchNamespacedService**](Core_v1Api.md#patchNamespacedService) | **PATCH** /api/v1/namespaces/{namespace}/services/{name} |
-[**patchNamespacedServiceAccount**](Core_v1Api.md#patchNamespacedServiceAccount) | **PATCH** /api/v1/namespaces/{namespace}/serviceaccounts/{name} |
-[**patchNamespacedServiceStatus**](Core_v1Api.md#patchNamespacedServiceStatus) | **PATCH** /api/v1/namespaces/{namespace}/services/{name}/status |
-[**patchNode**](Core_v1Api.md#patchNode) | **PATCH** /api/v1/nodes/{name} |
-[**patchNodeStatus**](Core_v1Api.md#patchNodeStatus) | **PATCH** /api/v1/nodes/{name}/status |
-[**patchPersistentVolume**](Core_v1Api.md#patchPersistentVolume) | **PATCH** /api/v1/persistentvolumes/{name} |
-[**patchPersistentVolumeStatus**](Core_v1Api.md#patchPersistentVolumeStatus) | **PATCH** /api/v1/persistentvolumes/{name}/status |
-[**proxyDELETENamespacedPod**](Core_v1Api.md#proxyDELETENamespacedPod) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-[**proxyDELETENamespacedPodWithPath**](Core_v1Api.md#proxyDELETENamespacedPodWithPath) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-[**proxyDELETENamespacedService**](Core_v1Api.md#proxyDELETENamespacedService) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-[**proxyDELETENamespacedServiceWithPath**](Core_v1Api.md#proxyDELETENamespacedServiceWithPath) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-[**proxyDELETENode**](Core_v1Api.md#proxyDELETENode) | **DELETE** /api/v1/proxy/nodes/{name} |
-[**proxyDELETENodeWithPath**](Core_v1Api.md#proxyDELETENodeWithPath) | **DELETE** /api/v1/proxy/nodes/{name}/{path} |
-[**proxyGETNamespacedPod**](Core_v1Api.md#proxyGETNamespacedPod) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-[**proxyGETNamespacedPodWithPath**](Core_v1Api.md#proxyGETNamespacedPodWithPath) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-[**proxyGETNamespacedService**](Core_v1Api.md#proxyGETNamespacedService) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-[**proxyGETNamespacedServiceWithPath**](Core_v1Api.md#proxyGETNamespacedServiceWithPath) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-[**proxyGETNode**](Core_v1Api.md#proxyGETNode) | **GET** /api/v1/proxy/nodes/{name} |
-[**proxyGETNodeWithPath**](Core_v1Api.md#proxyGETNodeWithPath) | **GET** /api/v1/proxy/nodes/{name}/{path} |
-[**proxyHEADNamespacedPod**](Core_v1Api.md#proxyHEADNamespacedPod) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-[**proxyHEADNamespacedPodWithPath**](Core_v1Api.md#proxyHEADNamespacedPodWithPath) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-[**proxyHEADNamespacedService**](Core_v1Api.md#proxyHEADNamespacedService) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-[**proxyHEADNamespacedServiceWithPath**](Core_v1Api.md#proxyHEADNamespacedServiceWithPath) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-[**proxyHEADNode**](Core_v1Api.md#proxyHEADNode) | **HEAD** /api/v1/proxy/nodes/{name} |
-[**proxyHEADNodeWithPath**](Core_v1Api.md#proxyHEADNodeWithPath) | **HEAD** /api/v1/proxy/nodes/{name}/{path} |
-[**proxyOPTIONSNamespacedPod**](Core_v1Api.md#proxyOPTIONSNamespacedPod) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-[**proxyOPTIONSNamespacedPodWithPath**](Core_v1Api.md#proxyOPTIONSNamespacedPodWithPath) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-[**proxyOPTIONSNamespacedService**](Core_v1Api.md#proxyOPTIONSNamespacedService) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-[**proxyOPTIONSNamespacedServiceWithPath**](Core_v1Api.md#proxyOPTIONSNamespacedServiceWithPath) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-[**proxyOPTIONSNode**](Core_v1Api.md#proxyOPTIONSNode) | **OPTIONS** /api/v1/proxy/nodes/{name} |
-[**proxyOPTIONSNodeWithPath**](Core_v1Api.md#proxyOPTIONSNodeWithPath) | **OPTIONS** /api/v1/proxy/nodes/{name}/{path} |
-[**proxyPATCHNamespacedPod**](Core_v1Api.md#proxyPATCHNamespacedPod) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-[**proxyPATCHNamespacedPodWithPath**](Core_v1Api.md#proxyPATCHNamespacedPodWithPath) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-[**proxyPATCHNamespacedService**](Core_v1Api.md#proxyPATCHNamespacedService) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-[**proxyPATCHNamespacedServiceWithPath**](Core_v1Api.md#proxyPATCHNamespacedServiceWithPath) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-[**proxyPATCHNode**](Core_v1Api.md#proxyPATCHNode) | **PATCH** /api/v1/proxy/nodes/{name} |
-[**proxyPATCHNodeWithPath**](Core_v1Api.md#proxyPATCHNodeWithPath) | **PATCH** /api/v1/proxy/nodes/{name}/{path} |
-[**proxyPOSTNamespacedPod**](Core_v1Api.md#proxyPOSTNamespacedPod) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-[**proxyPOSTNamespacedPodWithPath**](Core_v1Api.md#proxyPOSTNamespacedPodWithPath) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-[**proxyPOSTNamespacedService**](Core_v1Api.md#proxyPOSTNamespacedService) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-[**proxyPOSTNamespacedServiceWithPath**](Core_v1Api.md#proxyPOSTNamespacedServiceWithPath) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-[**proxyPOSTNode**](Core_v1Api.md#proxyPOSTNode) | **POST** /api/v1/proxy/nodes/{name} |
-[**proxyPOSTNodeWithPath**](Core_v1Api.md#proxyPOSTNodeWithPath) | **POST** /api/v1/proxy/nodes/{name}/{path} |
-[**proxyPUTNamespacedPod**](Core_v1Api.md#proxyPUTNamespacedPod) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name} |
-[**proxyPUTNamespacedPodWithPath**](Core_v1Api.md#proxyPUTNamespacedPodWithPath) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} |
-[**proxyPUTNamespacedService**](Core_v1Api.md#proxyPUTNamespacedService) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name} |
-[**proxyPUTNamespacedServiceWithPath**](Core_v1Api.md#proxyPUTNamespacedServiceWithPath) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} |
-[**proxyPUTNode**](Core_v1Api.md#proxyPUTNode) | **PUT** /api/v1/proxy/nodes/{name} |
-[**proxyPUTNodeWithPath**](Core_v1Api.md#proxyPUTNodeWithPath) | **PUT** /api/v1/proxy/nodes/{name}/{path} |
-[**readComponentStatus**](Core_v1Api.md#readComponentStatus) | **GET** /api/v1/componentstatuses/{name} |
-[**readNamespace**](Core_v1Api.md#readNamespace) | **GET** /api/v1/namespaces/{name} |
-[**readNamespaceStatus**](Core_v1Api.md#readNamespaceStatus) | **GET** /api/v1/namespaces/{name}/status |
-[**readNamespacedConfigMap**](Core_v1Api.md#readNamespacedConfigMap) | **GET** /api/v1/namespaces/{namespace}/configmaps/{name} |
-[**readNamespacedEndpoints**](Core_v1Api.md#readNamespacedEndpoints) | **GET** /api/v1/namespaces/{namespace}/endpoints/{name} |
-[**readNamespacedEvent**](Core_v1Api.md#readNamespacedEvent) | **GET** /api/v1/namespaces/{namespace}/events/{name} |
-[**readNamespacedLimitRange**](Core_v1Api.md#readNamespacedLimitRange) | **GET** /api/v1/namespaces/{namespace}/limitranges/{name} |
-[**readNamespacedPersistentVolumeClaim**](Core_v1Api.md#readNamespacedPersistentVolumeClaim) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
-[**readNamespacedPersistentVolumeClaimStatus**](Core_v1Api.md#readNamespacedPersistentVolumeClaimStatus) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status |
-[**readNamespacedPod**](Core_v1Api.md#readNamespacedPod) | **GET** /api/v1/namespaces/{namespace}/pods/{name} |
-[**readNamespacedPodLog**](Core_v1Api.md#readNamespacedPodLog) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/log |
-[**readNamespacedPodStatus**](Core_v1Api.md#readNamespacedPodStatus) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/status |
-[**readNamespacedPodTemplate**](Core_v1Api.md#readNamespacedPodTemplate) | **GET** /api/v1/namespaces/{namespace}/podtemplates/{name} |
-[**readNamespacedReplicationController**](Core_v1Api.md#readNamespacedReplicationController) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} |
-[**readNamespacedReplicationControllerStatus**](Core_v1Api.md#readNamespacedReplicationControllerStatus) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status |
-[**readNamespacedResourceQuota**](Core_v1Api.md#readNamespacedResourceQuota) | **GET** /api/v1/namespaces/{namespace}/resourcequotas/{name} |
-[**readNamespacedResourceQuotaStatus**](Core_v1Api.md#readNamespacedResourceQuotaStatus) | **GET** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status |
-[**readNamespacedScaleScale**](Core_v1Api.md#readNamespacedScaleScale) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-[**readNamespacedSecret**](Core_v1Api.md#readNamespacedSecret) | **GET** /api/v1/namespaces/{namespace}/secrets/{name} |
-[**readNamespacedService**](Core_v1Api.md#readNamespacedService) | **GET** /api/v1/namespaces/{namespace}/services/{name} |
-[**readNamespacedServiceAccount**](Core_v1Api.md#readNamespacedServiceAccount) | **GET** /api/v1/namespaces/{namespace}/serviceaccounts/{name} |
-[**readNamespacedServiceStatus**](Core_v1Api.md#readNamespacedServiceStatus) | **GET** /api/v1/namespaces/{namespace}/services/{name}/status |
-[**readNode**](Core_v1Api.md#readNode) | **GET** /api/v1/nodes/{name} |
-[**readNodeStatus**](Core_v1Api.md#readNodeStatus) | **GET** /api/v1/nodes/{name}/status |
-[**readPersistentVolume**](Core_v1Api.md#readPersistentVolume) | **GET** /api/v1/persistentvolumes/{name} |
-[**readPersistentVolumeStatus**](Core_v1Api.md#readPersistentVolumeStatus) | **GET** /api/v1/persistentvolumes/{name}/status |
-[**replaceNamespace**](Core_v1Api.md#replaceNamespace) | **PUT** /api/v1/namespaces/{name} |
-[**replaceNamespaceFinalize**](Core_v1Api.md#replaceNamespaceFinalize) | **PUT** /api/v1/namespaces/{name}/finalize |
-[**replaceNamespaceStatus**](Core_v1Api.md#replaceNamespaceStatus) | **PUT** /api/v1/namespaces/{name}/status |
-[**replaceNamespacedConfigMap**](Core_v1Api.md#replaceNamespacedConfigMap) | **PUT** /api/v1/namespaces/{namespace}/configmaps/{name} |
-[**replaceNamespacedEndpoints**](Core_v1Api.md#replaceNamespacedEndpoints) | **PUT** /api/v1/namespaces/{namespace}/endpoints/{name} |
-[**replaceNamespacedEvent**](Core_v1Api.md#replaceNamespacedEvent) | **PUT** /api/v1/namespaces/{namespace}/events/{name} |
-[**replaceNamespacedLimitRange**](Core_v1Api.md#replaceNamespacedLimitRange) | **PUT** /api/v1/namespaces/{namespace}/limitranges/{name} |
-[**replaceNamespacedPersistentVolumeClaim**](Core_v1Api.md#replaceNamespacedPersistentVolumeClaim) | **PUT** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} |
-[**replaceNamespacedPersistentVolumeClaimStatus**](Core_v1Api.md#replaceNamespacedPersistentVolumeClaimStatus) | **PUT** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status |
-[**replaceNamespacedPod**](Core_v1Api.md#replaceNamespacedPod) | **PUT** /api/v1/namespaces/{namespace}/pods/{name} |
-[**replaceNamespacedPodStatus**](Core_v1Api.md#replaceNamespacedPodStatus) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/status |
-[**replaceNamespacedPodTemplate**](Core_v1Api.md#replaceNamespacedPodTemplate) | **PUT** /api/v1/namespaces/{namespace}/podtemplates/{name} |
-[**replaceNamespacedReplicationController**](Core_v1Api.md#replaceNamespacedReplicationController) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} |
-[**replaceNamespacedReplicationControllerStatus**](Core_v1Api.md#replaceNamespacedReplicationControllerStatus) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status |
-[**replaceNamespacedResourceQuota**](Core_v1Api.md#replaceNamespacedResourceQuota) | **PUT** /api/v1/namespaces/{namespace}/resourcequotas/{name} |
-[**replaceNamespacedResourceQuotaStatus**](Core_v1Api.md#replaceNamespacedResourceQuotaStatus) | **PUT** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status |
-[**replaceNamespacedScaleScale**](Core_v1Api.md#replaceNamespacedScaleScale) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-[**replaceNamespacedSecret**](Core_v1Api.md#replaceNamespacedSecret) | **PUT** /api/v1/namespaces/{namespace}/secrets/{name} |
-[**replaceNamespacedService**](Core_v1Api.md#replaceNamespacedService) | **PUT** /api/v1/namespaces/{namespace}/services/{name} |
-[**replaceNamespacedServiceAccount**](Core_v1Api.md#replaceNamespacedServiceAccount) | **PUT** /api/v1/namespaces/{namespace}/serviceaccounts/{name} |
-[**replaceNamespacedServiceStatus**](Core_v1Api.md#replaceNamespacedServiceStatus) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/status |
-[**replaceNode**](Core_v1Api.md#replaceNode) | **PUT** /api/v1/nodes/{name} |
-[**replaceNodeStatus**](Core_v1Api.md#replaceNodeStatus) | **PUT** /api/v1/nodes/{name}/status |
-[**replacePersistentVolume**](Core_v1Api.md#replacePersistentVolume) | **PUT** /api/v1/persistentvolumes/{name} |
-[**replacePersistentVolumeStatus**](Core_v1Api.md#replacePersistentVolumeStatus) | **PUT** /api/v1/persistentvolumes/{name}/status |
-
-
-
-# **connectDeleteNamespacedPodProxy**
-> 'String' connectDeleteNamespacedPodProxy(name, namespace, opts)
-
-
-
-connect DELETE requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectDeleteNamespacedPodProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectDeleteNamespacedPodProxyWithPath**
-> 'String' connectDeleteNamespacedPodProxyWithPath(name, namespace, path, opts)
-
-
-
-connect DELETE requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectDeleteNamespacedPodProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectDeleteNamespacedServiceProxy**
-> 'String' connectDeleteNamespacedServiceProxy(name, namespace, opts)
-
-
-
-connect DELETE requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectDeleteNamespacedServiceProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectDeleteNamespacedServiceProxyWithPath**
-> 'String' connectDeleteNamespacedServiceProxyWithPath(name, namespace, path, opts)
-
-
-
-connect DELETE requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectDeleteNamespacedServiceProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectDeleteNodeProxy**
-> 'String' connectDeleteNodeProxy(name, opts)
-
-
-
-connect DELETE requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectDeleteNodeProxy(name, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectDeleteNodeProxyWithPath**
-> 'String' connectDeleteNodeProxyWithPath(name, path, opts)
-
-
-
-connect DELETE requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectDeleteNodeProxyWithPath(name, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNamespacedPodAttach**
-> 'String' connectGetNamespacedPodAttach(name, namespace, opts)
-
-
-
-connect GET requests to attach of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'container': "container_example", // String | The container in which to execute the command. Defaults to only container if there is only one container in the pod.
- 'stderr': true, // Boolean | Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.
- 'stdin': true, // Boolean | Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.
- 'stdout': true, // Boolean | Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.
- 'tty': true // Boolean | TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNamespacedPodAttach(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **container** | **String**| The container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional]
- **stderr** | **Boolean**| Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional]
- **stdin** | **Boolean**| Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. | [optional]
- **stdout** | **Boolean**| Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. | [optional]
- **tty** | **Boolean**| TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNamespacedPodExec**
-> 'String' connectGetNamespacedPodExec(name, namespace, opts)
-
-
-
-connect GET requests to exec of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'command': "command_example", // String | Command is the remote command to execute. argv array. Not executed within a shell.
- 'container': "container_example", // String | Container in which to execute the command. Defaults to only container if there is only one container in the pod.
- 'stderr': true, // Boolean | Redirect the standard error stream of the pod for this call. Defaults to true.
- 'stdin': true, // Boolean | Redirect the standard input stream of the pod for this call. Defaults to false.
- 'stdout': true, // Boolean | Redirect the standard output stream of the pod for this call. Defaults to true.
- 'tty': true // Boolean | TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNamespacedPodExec(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **command** | **String**| Command is the remote command to execute. argv array. Not executed within a shell. | [optional]
- **container** | **String**| Container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional]
- **stderr** | **Boolean**| Redirect the standard error stream of the pod for this call. Defaults to true. | [optional]
- **stdin** | **Boolean**| Redirect the standard input stream of the pod for this call. Defaults to false. | [optional]
- **stdout** | **Boolean**| Redirect the standard output stream of the pod for this call. Defaults to true. | [optional]
- **tty** | **Boolean**| TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNamespacedPodPortforward**
-> 'String' connectGetNamespacedPodPortforward(name, namespace, opts)
-
-
-
-connect GET requests to portforward of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'ports': 56 // Number | List of ports to forward Required when using WebSockets
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNamespacedPodPortforward(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **ports** | **Number**| List of ports to forward Required when using WebSockets | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNamespacedPodProxy**
-> 'String' connectGetNamespacedPodProxy(name, namespace, opts)
-
-
-
-connect GET requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNamespacedPodProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNamespacedPodProxyWithPath**
-> 'String' connectGetNamespacedPodProxyWithPath(name, namespace, path, opts)
-
-
-
-connect GET requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNamespacedPodProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNamespacedServiceProxy**
-> 'String' connectGetNamespacedServiceProxy(name, namespace, opts)
-
-
-
-connect GET requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNamespacedServiceProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNamespacedServiceProxyWithPath**
-> 'String' connectGetNamespacedServiceProxyWithPath(name, namespace, path, opts)
-
-
-
-connect GET requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNamespacedServiceProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNodeProxy**
-> 'String' connectGetNodeProxy(name, opts)
-
-
-
-connect GET requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNodeProxy(name, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectGetNodeProxyWithPath**
-> 'String' connectGetNodeProxyWithPath(name, path, opts)
-
-
-
-connect GET requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectGetNodeProxyWithPath(name, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectHeadNamespacedPodProxy**
-> 'String' connectHeadNamespacedPodProxy(name, namespace, opts)
-
-
-
-connect HEAD requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectHeadNamespacedPodProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectHeadNamespacedPodProxyWithPath**
-> 'String' connectHeadNamespacedPodProxyWithPath(name, namespace, path, opts)
-
-
-
-connect HEAD requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectHeadNamespacedPodProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectHeadNamespacedServiceProxy**
-> 'String' connectHeadNamespacedServiceProxy(name, namespace, opts)
-
-
-
-connect HEAD requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectHeadNamespacedServiceProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectHeadNamespacedServiceProxyWithPath**
-> 'String' connectHeadNamespacedServiceProxyWithPath(name, namespace, path, opts)
-
-
-
-connect HEAD requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectHeadNamespacedServiceProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectHeadNodeProxy**
-> 'String' connectHeadNodeProxy(name, opts)
-
-
-
-connect HEAD requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectHeadNodeProxy(name, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectHeadNodeProxyWithPath**
-> 'String' connectHeadNodeProxyWithPath(name, path, opts)
-
-
-
-connect HEAD requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectHeadNodeProxyWithPath(name, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectOptionsNamespacedPodProxy**
-> 'String' connectOptionsNamespacedPodProxy(name, namespace, opts)
-
-
-
-connect OPTIONS requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectOptionsNamespacedPodProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectOptionsNamespacedPodProxyWithPath**
-> 'String' connectOptionsNamespacedPodProxyWithPath(name, namespace, path, opts)
-
-
-
-connect OPTIONS requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectOptionsNamespacedPodProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectOptionsNamespacedServiceProxy**
-> 'String' connectOptionsNamespacedServiceProxy(name, namespace, opts)
-
-
-
-connect OPTIONS requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectOptionsNamespacedServiceProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectOptionsNamespacedServiceProxyWithPath**
-> 'String' connectOptionsNamespacedServiceProxyWithPath(name, namespace, path, opts)
-
-
-
-connect OPTIONS requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectOptionsNamespacedServiceProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectOptionsNodeProxy**
-> 'String' connectOptionsNodeProxy(name, opts)
-
-
-
-connect OPTIONS requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectOptionsNodeProxy(name, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectOptionsNodeProxyWithPath**
-> 'String' connectOptionsNodeProxyWithPath(name, path, opts)
-
-
-
-connect OPTIONS requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectOptionsNodeProxyWithPath(name, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNamespacedPodAttach**
-> 'String' connectPostNamespacedPodAttach(name, namespace, opts)
-
-
-
-connect POST requests to attach of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'container': "container_example", // String | The container in which to execute the command. Defaults to only container if there is only one container in the pod.
- 'stderr': true, // Boolean | Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.
- 'stdin': true, // Boolean | Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.
- 'stdout': true, // Boolean | Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.
- 'tty': true // Boolean | TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNamespacedPodAttach(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **container** | **String**| The container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional]
- **stderr** | **Boolean**| Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional]
- **stdin** | **Boolean**| Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. | [optional]
- **stdout** | **Boolean**| Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. | [optional]
- **tty** | **Boolean**| TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNamespacedPodExec**
-> 'String' connectPostNamespacedPodExec(name, namespace, opts)
-
-
-
-connect POST requests to exec of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'command': "command_example", // String | Command is the remote command to execute. argv array. Not executed within a shell.
- 'container': "container_example", // String | Container in which to execute the command. Defaults to only container if there is only one container in the pod.
- 'stderr': true, // Boolean | Redirect the standard error stream of the pod for this call. Defaults to true.
- 'stdin': true, // Boolean | Redirect the standard input stream of the pod for this call. Defaults to false.
- 'stdout': true, // Boolean | Redirect the standard output stream of the pod for this call. Defaults to true.
- 'tty': true // Boolean | TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNamespacedPodExec(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **command** | **String**| Command is the remote command to execute. argv array. Not executed within a shell. | [optional]
- **container** | **String**| Container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional]
- **stderr** | **Boolean**| Redirect the standard error stream of the pod for this call. Defaults to true. | [optional]
- **stdin** | **Boolean**| Redirect the standard input stream of the pod for this call. Defaults to false. | [optional]
- **stdout** | **Boolean**| Redirect the standard output stream of the pod for this call. Defaults to true. | [optional]
- **tty** | **Boolean**| TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNamespacedPodPortforward**
-> 'String' connectPostNamespacedPodPortforward(name, namespace, opts)
-
-
-
-connect POST requests to portforward of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'ports': 56 // Number | List of ports to forward Required when using WebSockets
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNamespacedPodPortforward(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **ports** | **Number**| List of ports to forward Required when using WebSockets | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNamespacedPodProxy**
-> 'String' connectPostNamespacedPodProxy(name, namespace, opts)
-
-
-
-connect POST requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNamespacedPodProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNamespacedPodProxyWithPath**
-> 'String' connectPostNamespacedPodProxyWithPath(name, namespace, path, opts)
-
-
-
-connect POST requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNamespacedPodProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNamespacedServiceProxy**
-> 'String' connectPostNamespacedServiceProxy(name, namespace, opts)
-
-
-
-connect POST requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNamespacedServiceProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNamespacedServiceProxyWithPath**
-> 'String' connectPostNamespacedServiceProxyWithPath(name, namespace, path, opts)
-
-
-
-connect POST requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNamespacedServiceProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNodeProxy**
-> 'String' connectPostNodeProxy(name, opts)
-
-
-
-connect POST requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNodeProxy(name, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPostNodeProxyWithPath**
-> 'String' connectPostNodeProxyWithPath(name, path, opts)
-
-
-
-connect POST requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPostNodeProxyWithPath(name, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPutNamespacedPodProxy**
-> 'String' connectPutNamespacedPodProxy(name, namespace, opts)
-
-
-
-connect PUT requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPutNamespacedPodProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPutNamespacedPodProxyWithPath**
-> 'String' connectPutNamespacedPodProxyWithPath(name, namespace, path, opts)
-
-
-
-connect PUT requests to proxy of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to pod.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPutNamespacedPodProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPutNamespacedServiceProxy**
-> 'String' connectPutNamespacedServiceProxy(name, namespace, opts)
-
-
-
-connect PUT requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'path': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPutNamespacedServiceProxy(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPutNamespacedServiceProxyWithPath**
-> 'String' connectPutNamespacedServiceProxyWithPath(name, namespace, path, opts)
-
-
-
-connect PUT requests to proxy of Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPutNamespacedServiceProxyWithPath(name, namespace, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPutNodeProxy**
-> 'String' connectPutNodeProxy(name, opts)
-
-
-
-connect PUT requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var opts = {
- 'path': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPutNodeProxy(name, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **connectPutNodeProxyWithPath**
-> 'String' connectPutNodeProxyWithPath(name, path, opts)
-
-
-
-connect PUT requests to proxy of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-var opts = {
- 'path2': "path_example" // String | Path is the URL path to use for the current proxy request to node.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.connectPutNodeProxyWithPath(name, path, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
- **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **createNamespace**
-> V1Namespace createNamespace(body, opts)
-
-
-
-create a Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var body = new KubernetesJsClient.V1Namespace(); // V1Namespace |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespace(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1Namespace**](V1Namespace.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Namespace**](V1Namespace.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedBinding**
-> V1Binding createNamespacedBinding(namespace, body, opts)
-
-
-
-create a Binding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Binding(); // V1Binding |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedBinding(namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Binding**](V1Binding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Binding**](V1Binding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedBindingBinding**
-> V1Binding createNamespacedBindingBinding(name, namespace, body, opts)
-
-
-
-create binding of a Binding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Binding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Binding(); // V1Binding |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedBindingBinding(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Binding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Binding**](V1Binding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Binding**](V1Binding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedConfigMap**
-> V1ConfigMap createNamespacedConfigMap(namespacebody, opts)
-
-
-
-create a ConfigMap
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ConfigMap(); // V1ConfigMap |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedConfigMap(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ConfigMap**](V1ConfigMap.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ConfigMap**](V1ConfigMap.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedEndpoints**
-> V1Endpoints createNamespacedEndpoints(namespacebody, opts)
-
-
-
-create Endpoints
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Endpoints(); // V1Endpoints |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedEndpoints(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Endpoints**](V1Endpoints.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Endpoints**](V1Endpoints.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedEvent**
-> V1Event createNamespacedEvent(namespacebody, opts)
-
-
-
-create an Event
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Event(); // V1Event |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedEvent(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Event**](V1Event.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Event**](V1Event.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedEvictionEviction**
-> V1beta1Eviction createNamespacedEvictionEviction(name, namespace, body, opts)
-
-
-
-create eviction of an Eviction
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Eviction
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1Eviction(); // V1beta1Eviction |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedEvictionEviction(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Eviction |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1Eviction**](V1beta1Eviction.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Eviction**](V1beta1Eviction.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedLimitRange**
-> V1LimitRange createNamespacedLimitRange(namespacebody, opts)
-
-
-
-create a LimitRange
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1LimitRange(); // V1LimitRange |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedLimitRange(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1LimitRange**](V1LimitRange.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1LimitRange**](V1LimitRange.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedPersistentVolumeClaim**
-> V1PersistentVolumeClaim createNamespacedPersistentVolumeClaim(namespacebody, opts)
-
-
-
-create a PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1PersistentVolumeClaim(); // V1PersistentVolumeClaim |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedPersistentVolumeClaim(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedPod**
-> V1Pod createNamespacedPod(namespacebody, opts)
-
-
-
-create a Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Pod(); // V1Pod |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedPod(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Pod**](V1Pod.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Pod**](V1Pod.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedPodTemplate**
-> V1PodTemplate createNamespacedPodTemplate(namespacebody, opts)
-
-
-
-create a PodTemplate
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1PodTemplate(); // V1PodTemplate |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedPodTemplate(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1PodTemplate**](V1PodTemplate.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PodTemplate**](V1PodTemplate.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedReplicationController**
-> V1ReplicationController createNamespacedReplicationController(namespacebody, opts)
-
-
-
-create a ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ReplicationController(); // V1ReplicationController |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedReplicationController(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ReplicationController**](V1ReplicationController.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ReplicationController**](V1ReplicationController.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedResourceQuota**
-> V1ResourceQuota createNamespacedResourceQuota(namespacebody, opts)
-
-
-
-create a ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ResourceQuota(); // V1ResourceQuota |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedResourceQuota(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ResourceQuota**](V1ResourceQuota.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedSecret**
-> V1Secret createNamespacedSecret(namespacebody, opts)
-
-
-
-create a Secret
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Secret(); // V1Secret |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedSecret(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Secret**](V1Secret.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Secret**](V1Secret.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedService**
-> V1Service createNamespacedService(namespace, body, opts)
-
-
-
-create a Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Service(); // V1Service |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedService(namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Service**](V1Service.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Service**](V1Service.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedServiceAccount**
-> V1ServiceAccount createNamespacedServiceAccount(namespacebody, opts)
-
-
-
-create a ServiceAccount
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ServiceAccount(); // V1ServiceAccount |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedServiceAccount(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ServiceAccount**](V1ServiceAccount.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ServiceAccount**](V1ServiceAccount.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNode**
-> V1Node createNode(body, opts)
-
-
-
-create a Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var body = new KubernetesJsClient.V1Node(); // V1Node |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNode(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1Node**](V1Node.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Node**](V1Node.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createPersistentVolume**
-> V1PersistentVolume createPersistentVolume(body, opts)
-
-
-
-create a PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var body = new KubernetesJsClient.V1PersistentVolume(); // V1PersistentVolume |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createPersistentVolume(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolume**](V1PersistentVolume.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespace**
-> V1Status deleteCollectionNamespace(opts)
-
-
-
-delete collection of Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespace(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedConfigMap**
-> V1Status deleteCollectionNamespacedConfigMap(namespace, opts)
-
-
-
-delete collection of ConfigMap
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedConfigMap(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedEndpoints**
-> V1Status deleteCollectionNamespacedEndpoints(namespace, opts)
-
-
-
-delete collection of Endpoints
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedEndpoints(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedEvent**
-> V1Status deleteCollectionNamespacedEvent(namespace, opts)
-
-
-
-delete collection of Event
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedEvent(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedLimitRange**
-> V1Status deleteCollectionNamespacedLimitRange(namespace, opts)
-
-
-
-delete collection of LimitRange
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedLimitRange(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedPersistentVolumeClaim**
-> V1Status deleteCollectionNamespacedPersistentVolumeClaim(namespace, opts)
-
-
-
-delete collection of PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedPersistentVolumeClaim(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedPod**
-> V1Status deleteCollectionNamespacedPod(namespace, opts)
-
-
-
-delete collection of Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedPod(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedPodTemplate**
-> V1Status deleteCollectionNamespacedPodTemplate(namespace, opts)
-
-
-
-delete collection of PodTemplate
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedPodTemplate(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedReplicationController**
-> V1Status deleteCollectionNamespacedReplicationController(namespace, opts)
-
-
-
-delete collection of ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedReplicationController(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedResourceQuota**
-> V1Status deleteCollectionNamespacedResourceQuota(namespace, opts)
-
-
-
-delete collection of ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedResourceQuota(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedSecret**
-> V1Status deleteCollectionNamespacedSecret(namespace, opts)
-
-
-
-delete collection of Secret
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedSecret(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedServiceAccount**
-> V1Status deleteCollectionNamespacedServiceAccount(namespace, opts)
-
-
-
-delete collection of ServiceAccount
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedServiceAccount(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNode**
-> V1Status deleteCollectionNode(opts)
-
-
-
-delete collection of Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNode(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionPersistentVolume**
-> V1Status deleteCollectionPersistentVolume(opts)
-
-
-
-delete collection of PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionPersistentVolume(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespace**
-> V1Status deleteNamespace(name, body, opts)
-
-
-
-delete a Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Namespace
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespace(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Namespace |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedConfigMap**
-> V1Status deleteNamespacedConfigMap(name, namespace, body, opts)
-
-
-
-delete a ConfigMap
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ConfigMap
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedConfigMap(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ConfigMap |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedEndpoints**
-> V1Status deleteNamespacedEndpoints(name, namespace, body, opts)
-
-
-
-delete Endpoints
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Endpoints
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedEndpoints(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Endpoints |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedEvent**
-> V1Status deleteNamespacedEvent(name, namespace, body, opts)
-
-
-
-delete an Event
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Event
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedEvent(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Event |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedLimitRange**
-> V1Status deleteNamespacedLimitRange(name, namespace, body, opts)
-
-
-
-delete a LimitRange
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the LimitRange
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedLimitRange(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the LimitRange |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedPersistentVolumeClaim**
-> V1Status deleteNamespacedPersistentVolumeClaim(name, namespace, body, opts)
-
-
-
-delete a PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolumeClaim
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedPersistentVolumeClaim(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolumeClaim |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedPod**
-> V1Status deleteNamespacedPod(name, namespace, body, opts)
-
-
-
-delete a Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedPod(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedPodTemplate**
-> V1Status deleteNamespacedPodTemplate(name, namespace, body, opts)
-
-
-
-delete a PodTemplate
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PodTemplate
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedPodTemplate(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodTemplate |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedReplicationController**
-> V1Status deleteNamespacedReplicationController(name, namespace, body, opts)
-
-
-
-delete a ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ReplicationController
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedReplicationController(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicationController |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedResourceQuota**
-> V1Status deleteNamespacedResourceQuota(name, namespace, body, opts)
-
-
-
-delete a ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ResourceQuota
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedResourceQuota(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ResourceQuota |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedSecret**
-> V1Status deleteNamespacedSecret(name, namespace, body, opts)
-
-
-
-delete a Secret
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Secret
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedSecret(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Secret |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedService**
-> V1Status deleteNamespacedService(name, namespace, , opts)
-
-
-
-delete a Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedService(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedServiceAccount**
-> V1Status deleteNamespacedServiceAccount(name, namespace, body, opts)
-
-
-
-delete a ServiceAccount
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ServiceAccount
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedServiceAccount(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ServiceAccount |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNode**
-> V1Status deleteNode(name, body, opts)
-
-
-
-delete a Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNode(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deletePersistentVolume**
-> V1Status deletePersistentVolume(name, body, opts)
-
-
-
-delete a PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolume
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deletePersistentVolume(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolume |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listComponentStatus**
-> V1ComponentStatusList listComponentStatus(opts)
-
-
-
-list objects of kind ComponentStatus
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listComponentStatus(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ComponentStatusList**](V1ComponentStatusList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listConfigMapForAllNamespaces**
-> V1ConfigMapList listConfigMapForAllNamespaces(opts)
-
-
-
-list or watch objects of kind ConfigMap
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listConfigMapForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ConfigMapList**](V1ConfigMapList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listEndpointsForAllNamespaces**
-> V1EndpointsList listEndpointsForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Endpoints
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listEndpointsForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1EndpointsList**](V1EndpointsList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listEventForAllNamespaces**
-> V1EventList listEventForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Event
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listEventForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1EventList**](V1EventList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listLimitRangeForAllNamespaces**
-> V1LimitRangeList listLimitRangeForAllNamespaces(opts)
-
-
-
-list or watch objects of kind LimitRange
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listLimitRangeForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1LimitRangeList**](V1LimitRangeList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespace**
-> V1NamespaceList listNamespace(opts)
-
-
-
-list or watch objects of kind Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespace(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1NamespaceList**](V1NamespaceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedConfigMap**
-> V1ConfigMapList listNamespacedConfigMap(namespace, opts)
-
-
-
-list or watch objects of kind ConfigMap
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedConfigMap(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ConfigMapList**](V1ConfigMapList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedEndpoints**
-> V1EndpointsList listNamespacedEndpoints(namespace, opts)
-
-
-
-list or watch objects of kind Endpoints
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedEndpoints(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1EndpointsList**](V1EndpointsList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedEvent**
-> V1EventList listNamespacedEvent(namespace, opts)
-
-
-
-list or watch objects of kind Event
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedEvent(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1EventList**](V1EventList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedLimitRange**
-> V1LimitRangeList listNamespacedLimitRange(namespace, opts)
-
-
-
-list or watch objects of kind LimitRange
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedLimitRange(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1LimitRangeList**](V1LimitRangeList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedPersistentVolumeClaim**
-> V1PersistentVolumeClaimList listNamespacedPersistentVolumeClaim(namespace, opts)
-
-
-
-list or watch objects of kind PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedPersistentVolumeClaim(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaimList**](V1PersistentVolumeClaimList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedPod**
-> V1PodList listNamespacedPod(namespace, opts)
-
-
-
-list or watch objects of kind Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedPod(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1PodList**](V1PodList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedPodTemplate**
-> V1PodTemplateList listNamespacedPodTemplate(namespace, opts)
-
-
-
-list or watch objects of kind PodTemplate
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedPodTemplate(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1PodTemplateList**](V1PodTemplateList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedReplicationController**
-> V1ReplicationControllerList listNamespacedReplicationController(namespace, opts)
-
-
-
-list or watch objects of kind ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedReplicationController(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ReplicationControllerList**](V1ReplicationControllerList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedResourceQuota**
-> V1ResourceQuotaList listNamespacedResourceQuota(namespace, opts)
-
-
-
-list or watch objects of kind ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedResourceQuota(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ResourceQuotaList**](V1ResourceQuotaList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedSecret**
-> V1SecretList listNamespacedSecret(namespace, opts)
-
-
-
-list or watch objects of kind Secret
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedSecret(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1SecretList**](V1SecretList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedService**
-> V1ServiceList listNamespacedService(namespace, , opts)
-
-
-
-list or watch objects of kind Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedService(namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ServiceList**](V1ServiceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedServiceAccount**
-> V1ServiceAccountList listNamespacedServiceAccount(namespace, opts)
-
-
-
-list or watch objects of kind ServiceAccount
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedServiceAccount(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ServiceAccountList**](V1ServiceAccountList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNode**
-> V1NodeList listNode(opts)
-
-
-
-list or watch objects of kind Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNode(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1NodeList**](V1NodeList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listPersistentVolume**
-> V1PersistentVolumeList listPersistentVolume(opts)
-
-
-
-list or watch objects of kind PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listPersistentVolume(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeList**](V1PersistentVolumeList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listPersistentVolumeClaimForAllNamespaces**
-> V1PersistentVolumeClaimList listPersistentVolumeClaimForAllNamespaces(opts)
-
-
-
-list or watch objects of kind PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listPersistentVolumeClaimForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaimList**](V1PersistentVolumeClaimList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listPodForAllNamespaces**
-> V1PodList listPodForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listPodForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1PodList**](V1PodList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listPodTemplateForAllNamespaces**
-> V1PodTemplateList listPodTemplateForAllNamespaces(opts)
-
-
-
-list or watch objects of kind PodTemplate
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listPodTemplateForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1PodTemplateList**](V1PodTemplateList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listReplicationControllerForAllNamespaces**
-> V1ReplicationControllerList listReplicationControllerForAllNamespaces(opts)
-
-
-
-list or watch objects of kind ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listReplicationControllerForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ReplicationControllerList**](V1ReplicationControllerList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listResourceQuotaForAllNamespaces**
-> V1ResourceQuotaList listResourceQuotaForAllNamespaces(opts)
-
-
-
-list or watch objects of kind ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listResourceQuotaForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ResourceQuotaList**](V1ResourceQuotaList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listSecretForAllNamespaces**
-> V1SecretList listSecretForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Secret
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listSecretForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1SecretList**](V1SecretList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listServiceAccountForAllNamespaces**
-> V1ServiceAccountList listServiceAccountForAllNamespaces(opts)
-
-
-
-list or watch objects of kind ServiceAccount
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listServiceAccountForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ServiceAccountList**](V1ServiceAccountList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listServiceForAllNamespaces**
-> V1ServiceList listServiceForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listServiceForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1ServiceList**](V1ServiceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespace**
-> V1Namespace patchNamespace(name, body, opts)
-
-
-
-partially update the specified Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Namespace
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespace(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Namespace |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Namespace**](V1Namespace.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespaceStatus**
-> V1Namespace patchNamespaceStatus(name, body, opts)
-
-
-
-partially update status of the specified Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Namespace
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespaceStatus(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Namespace |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Namespace**](V1Namespace.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedConfigMap**
-> V1ConfigMap patchNamespacedConfigMap(name, namespace, body, opts)
-
-
-
-partially update the specified ConfigMap
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ConfigMap
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedConfigMap(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ConfigMap |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ConfigMap**](V1ConfigMap.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedEndpoints**
-> V1Endpoints patchNamespacedEndpoints(name, namespace, body, opts)
-
-
-
-partially update the specified Endpoints
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Endpoints
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedEndpoints(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Endpoints |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Endpoints**](V1Endpoints.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedEvent**
-> V1Event patchNamespacedEvent(name, namespace, body, opts)
-
-
-
-partially update the specified Event
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Event
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedEvent(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Event |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Event**](V1Event.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedLimitRange**
-> V1LimitRange patchNamespacedLimitRange(name, namespace, body, opts)
-
-
-
-partially update the specified LimitRange
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the LimitRange
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedLimitRange(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the LimitRange |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1LimitRange**](V1LimitRange.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedPersistentVolumeClaim**
-> V1PersistentVolumeClaim patchNamespacedPersistentVolumeClaim(name, namespace, body, opts)
-
-
-
-partially update the specified PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolumeClaim
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedPersistentVolumeClaim(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolumeClaim |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedPersistentVolumeClaimStatus**
-> V1PersistentVolumeClaim patchNamespacedPersistentVolumeClaimStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolumeClaim
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedPersistentVolumeClaimStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolumeClaim |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedPod**
-> V1Pod patchNamespacedPod(name, namespace, body, opts)
-
-
-
-partially update the specified Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedPod(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Pod**](V1Pod.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedPodStatus**
-> V1Pod patchNamespacedPodStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedPodStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Pod**](V1Pod.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedPodTemplate**
-> V1PodTemplate patchNamespacedPodTemplate(name, namespace, body, opts)
-
-
-
-partially update the specified PodTemplate
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PodTemplate
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedPodTemplate(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodTemplate |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PodTemplate**](V1PodTemplate.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedReplicationController**
-> V1ReplicationController patchNamespacedReplicationController(name, namespace, body, opts)
-
-
-
-partially update the specified ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ReplicationController
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedReplicationController(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicationController |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ReplicationController**](V1ReplicationController.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedReplicationControllerStatus**
-> V1ReplicationController patchNamespacedReplicationControllerStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ReplicationController
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedReplicationControllerStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicationController |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ReplicationController**](V1ReplicationController.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedResourceQuota**
-> V1ResourceQuota patchNamespacedResourceQuota(name, namespace, body, opts)
-
-
-
-partially update the specified ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ResourceQuota
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedResourceQuota(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ResourceQuota |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ResourceQuota**](V1ResourceQuota.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedResourceQuotaStatus**
-> V1ResourceQuota patchNamespacedResourceQuotaStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ResourceQuota
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedResourceQuotaStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ResourceQuota |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ResourceQuota**](V1ResourceQuota.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedScaleScale**
-> V1Scale patchNamespacedScaleScale(name, namespace, body, opts)
-
-
-
-partially update scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedScaleScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Scale**](V1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedSecret**
-> V1Secret patchNamespacedSecret(name, namespace, body, opts)
-
-
-
-partially update the specified Secret
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Secret
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedSecret(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Secret |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Secret**](V1Secret.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedService**
-> V1Service patchNamespacedService(name, namespace, body, opts)
-
-
-
-partially update the specified Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedService(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Service**](V1Service.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedServiceAccount**
-> V1ServiceAccount patchNamespacedServiceAccount(name, namespace, body, opts)
-
-
-
-partially update the specified ServiceAccount
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ServiceAccount
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedServiceAccount(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ServiceAccount |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ServiceAccount**](V1ServiceAccount.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedServiceStatus**
-> V1Service patchNamespacedServiceStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedServiceStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Service**](V1Service.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNode**
-> V1Node patchNode(name, body, opts)
-
-
-
-partially update the specified Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNode(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Node**](V1Node.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNodeStatus**
-> V1Node patchNodeStatus(name, body, opts)
-
-
-
-partially update status of the specified Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNodeStatus(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Node**](V1Node.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchPersistentVolume**
-> V1PersistentVolume patchPersistentVolume(name, body, opts)
-
-
-
-partially update the specified PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolume
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchPersistentVolume(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolume |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolume**](V1PersistentVolume.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchPersistentVolumeStatus**
-> V1PersistentVolume patchPersistentVolumeStatus(name, body, opts)
-
-
-
-partially update status of the specified PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolume
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchPersistentVolumeStatus(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolume |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolume**](V1PersistentVolume.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **proxyDELETENamespacedPod**
-> 'String' proxyDELETENamespacedPod(name, namespace)
-
-
-
-proxy DELETE requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyDELETENamespacedPod(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyDELETENamespacedPodWithPath**
-> 'String' proxyDELETENamespacedPodWithPath(name, namespace, path)
-
-
-
-proxy DELETE requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyDELETENamespacedPodWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyDELETENamespacedService**
-> 'String' proxyDELETENamespacedService(name, namespace)
-
-
-
-proxy DELETE requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyDELETENamespacedService(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyDELETENamespacedServiceWithPath**
-> 'String' proxyDELETENamespacedServiceWithPath(name, namespace, path)
-
-
-
-proxy DELETE requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyDELETENamespacedServiceWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyDELETENode**
-> 'String' proxyDELETENode(name)
-
-
-
-proxy DELETE requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyDELETENode(name, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyDELETENodeWithPath**
-> 'String' proxyDELETENodeWithPath(name, path)
-
-
-
-proxy DELETE requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyDELETENodeWithPath(name, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyGETNamespacedPod**
-> 'String' proxyGETNamespacedPod(name, namespace)
-
-
-
-proxy GET requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyGETNamespacedPod(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyGETNamespacedPodWithPath**
-> 'String' proxyGETNamespacedPodWithPath(name, namespace, path)
-
-
-
-proxy GET requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyGETNamespacedPodWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyGETNamespacedService**
-> 'String' proxyGETNamespacedService(name, namespace)
-
-
-
-proxy GET requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyGETNamespacedService(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyGETNamespacedServiceWithPath**
-> 'String' proxyGETNamespacedServiceWithPath(name, namespace, path)
-
-
-
-proxy GET requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyGETNamespacedServiceWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyGETNode**
-> 'String' proxyGETNode(name)
-
-
-
-proxy GET requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyGETNode(name, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyGETNodeWithPath**
-> 'String' proxyGETNodeWithPath(name, path)
-
-
-
-proxy GET requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyGETNodeWithPath(name, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyHEADNamespacedPod**
-> 'String' proxyHEADNamespacedPod(name, namespace)
-
-
-
-proxy HEAD requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyHEADNamespacedPod(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyHEADNamespacedPodWithPath**
-> 'String' proxyHEADNamespacedPodWithPath(name, namespace, path)
-
-
-
-proxy HEAD requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyHEADNamespacedPodWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyHEADNamespacedService**
-> 'String' proxyHEADNamespacedService(name, namespace)
-
-
-
-proxy HEAD requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyHEADNamespacedService(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyHEADNamespacedServiceWithPath**
-> 'String' proxyHEADNamespacedServiceWithPath(name, namespace, path)
-
-
-
-proxy HEAD requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyHEADNamespacedServiceWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyHEADNode**
-> 'String' proxyHEADNode(name)
-
-
-
-proxy HEAD requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyHEADNode(name, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyHEADNodeWithPath**
-> 'String' proxyHEADNodeWithPath(name, path)
-
-
-
-proxy HEAD requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyHEADNodeWithPath(name, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyOPTIONSNamespacedPod**
-> 'String' proxyOPTIONSNamespacedPod(name, namespace)
-
-
-
-proxy OPTIONS requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyOPTIONSNamespacedPod(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyOPTIONSNamespacedPodWithPath**
-> 'String' proxyOPTIONSNamespacedPodWithPath(name, namespace, path)
-
-
-
-proxy OPTIONS requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyOPTIONSNamespacedPodWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyOPTIONSNamespacedService**
-> 'String' proxyOPTIONSNamespacedService(name, namespace)
-
-
-
-proxy OPTIONS requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyOPTIONSNamespacedService(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyOPTIONSNamespacedServiceWithPath**
-> 'String' proxyOPTIONSNamespacedServiceWithPath(name, namespace, path)
-
-
-
-proxy OPTIONS requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyOPTIONSNamespacedServiceWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyOPTIONSNode**
-> 'String' proxyOPTIONSNode(name)
-
-
-
-proxy OPTIONS requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyOPTIONSNode(name, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyOPTIONSNodeWithPath**
-> 'String' proxyOPTIONSNodeWithPath(name, path)
-
-
-
-proxy OPTIONS requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyOPTIONSNodeWithPath(name, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPATCHNamespacedPod**
-> 'String' proxyPATCHNamespacedPod(name, namespace)
-
-
-
-proxy PATCH requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPATCHNamespacedPod(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPATCHNamespacedPodWithPath**
-> 'String' proxyPATCHNamespacedPodWithPath(name, namespace, path)
-
-
-
-proxy PATCH requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPATCHNamespacedPodWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPATCHNamespacedService**
-> 'String' proxyPATCHNamespacedService(name, namespace)
-
-
-
-proxy PATCH requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPATCHNamespacedService(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPATCHNamespacedServiceWithPath**
-> 'String' proxyPATCHNamespacedServiceWithPath(name, namespace, path)
-
-
-
-proxy PATCH requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPATCHNamespacedServiceWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPATCHNode**
-> 'String' proxyPATCHNode(name)
-
-
-
-proxy PATCH requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPATCHNode(name, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPATCHNodeWithPath**
-> 'String' proxyPATCHNodeWithPath(name, path)
-
-
-
-proxy PATCH requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPATCHNodeWithPath(name, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPOSTNamespacedPod**
-> 'String' proxyPOSTNamespacedPod(name, namespace)
-
-
-
-proxy POST requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPOSTNamespacedPod(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPOSTNamespacedPodWithPath**
-> 'String' proxyPOSTNamespacedPodWithPath(name, namespace, path)
-
-
-
-proxy POST requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPOSTNamespacedPodWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPOSTNamespacedService**
-> 'String' proxyPOSTNamespacedService(name, namespace)
-
-
-
-proxy POST requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPOSTNamespacedService(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPOSTNamespacedServiceWithPath**
-> 'String' proxyPOSTNamespacedServiceWithPath(name, namespace, path)
-
-
-
-proxy POST requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPOSTNamespacedServiceWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPOSTNode**
-> 'String' proxyPOSTNode(name)
-
-
-
-proxy POST requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPOSTNode(name, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPOSTNodeWithPath**
-> 'String' proxyPOSTNodeWithPath(name, path)
-
-
-
-proxy POST requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPOSTNodeWithPath(name, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPUTNamespacedPod**
-> 'String' proxyPUTNamespacedPod(name, namespace)
-
-
-
-proxy PUT requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPUTNamespacedPod(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPUTNamespacedPodWithPath**
-> 'String' proxyPUTNamespacedPodWithPath(name, namespace, path)
-
-
-
-proxy PUT requests to Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPUTNamespacedPodWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPUTNamespacedService**
-> 'String' proxyPUTNamespacedService(name, namespace)
-
-
-
-proxy PUT requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPUTNamespacedService(name, namespace, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPUTNamespacedServiceWithPath**
-> 'String' proxyPUTNamespacedServiceWithPath(name, namespace, path)
-
-
-
-proxy PUT requests to Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPUTNamespacedServiceWithPath(name, namespace, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPUTNode**
-> 'String' proxyPUTNode(name)
-
-
-
-proxy PUT requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPUTNode(name, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **proxyPUTNodeWithPath**
-> 'String' proxyPUTNodeWithPath(name, path)
-
-
-
-proxy PUT requests to Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var path = "path_example"; // String | path to the resource
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.proxyPUTNodeWithPath(name, path, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **path** | **String**| path to the resource |
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: */*
-
-
-# **readComponentStatus**
-> V1ComponentStatus readComponentStatus(name, opts)
-
-
-
-read the specified ComponentStatus
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ComponentStatus
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readComponentStatus(name, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ComponentStatus |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ComponentStatus**](V1ComponentStatus.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespace**
-> V1Namespace readNamespace(name, , opts)
-
-
-
-read the specified Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Namespace
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespace(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Namespace |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1Namespace**](V1Namespace.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespaceStatus**
-> V1Namespace readNamespaceStatus(name, , opts)
-
-
-
-read status of the specified Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Namespace
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespaceStatus(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Namespace |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Namespace**](V1Namespace.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedConfigMap**
-> V1ConfigMap readNamespacedConfigMap(name, namespace, , opts)
-
-
-
-read the specified ConfigMap
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ConfigMap
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedConfigMap(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ConfigMap |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1ConfigMap**](V1ConfigMap.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedEndpoints**
-> V1Endpoints readNamespacedEndpoints(name, namespace, , opts)
-
-
-
-read the specified Endpoints
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Endpoints
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedEndpoints(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Endpoints |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1Endpoints**](V1Endpoints.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedEvent**
-> V1Event readNamespacedEvent(name, namespace, , opts)
-
-
-
-read the specified Event
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Event
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedEvent(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Event |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1Event**](V1Event.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedLimitRange**
-> V1LimitRange readNamespacedLimitRange(name, namespace, , opts)
-
-
-
-read the specified LimitRange
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the LimitRange
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedLimitRange(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the LimitRange |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1LimitRange**](V1LimitRange.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPersistentVolumeClaim**
-> V1PersistentVolumeClaim readNamespacedPersistentVolumeClaim(name, namespace, , opts)
-
-
-
-read the specified PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolumeClaim
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPersistentVolumeClaim(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolumeClaim |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPersistentVolumeClaimStatus**
-> V1PersistentVolumeClaim readNamespacedPersistentVolumeClaimStatus(name, namespace, , opts)
-
-
-
-read status of the specified PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolumeClaim
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPersistentVolumeClaimStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolumeClaim |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPod**
-> V1Pod readNamespacedPod(name, namespace, , opts)
-
-
-
-read the specified Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPod(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1Pod**](V1Pod.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPodLog**
-> 'String' readNamespacedPodLog(name, namespace, opts)
-
-
-
-read log of the specified Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'container': "container_example", // String | The container for which to stream logs. Defaults to only container if there is one container in the pod.
- 'follow': true, // Boolean | Follow the log stream of the pod. Defaults to false.
- 'limitBytes': 56, // Number | If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'previous': true, // Boolean | Return previous terminated container logs. Defaults to false.
- 'sinceSeconds': 56, // Number | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.
- 'tailLines': 56, // Number | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime
- 'timestamps': true // Boolean | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPodLog(name, namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **container** | **String**| The container for which to stream logs. Defaults to only container if there is one container in the pod. | [optional]
- **follow** | **Boolean**| Follow the log stream of the pod. Defaults to false. | [optional]
- **limitBytes** | **Number**| If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **previous** | **Boolean**| Return previous terminated container logs. Defaults to false. | [optional]
- **sinceSeconds** | **Number**| A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional]
- **tailLines** | **Number**| If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | [optional]
- **timestamps** | **Boolean**| If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional]
-
-### Return type
-
-**'String'**
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: text/plain, application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPodStatus**
-> V1Pod readNamespacedPodStatus(name, namespace, , opts)
-
-
-
-read status of the specified Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPodStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Pod**](V1Pod.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPodTemplate**
-> V1PodTemplate readNamespacedPodTemplate(name, namespace, , opts)
-
-
-
-read the specified PodTemplate
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PodTemplate
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPodTemplate(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodTemplate |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1PodTemplate**](V1PodTemplate.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedReplicationController**
-> V1ReplicationController readNamespacedReplicationController(name, namespace, , opts)
-
-
-
-read the specified ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ReplicationController
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedReplicationController(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicationController |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1ReplicationController**](V1ReplicationController.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedReplicationControllerStatus**
-> V1ReplicationController readNamespacedReplicationControllerStatus(name, namespace, , opts)
-
-
-
-read status of the specified ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ReplicationController
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedReplicationControllerStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicationController |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ReplicationController**](V1ReplicationController.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedResourceQuota**
-> V1ResourceQuota readNamespacedResourceQuota(name, namespace, , opts)
-
-
-
-read the specified ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ResourceQuota
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedResourceQuota(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ResourceQuota |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1ResourceQuota**](V1ResourceQuota.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedResourceQuotaStatus**
-> V1ResourceQuota readNamespacedResourceQuotaStatus(name, namespace, , opts)
-
-
-
-read status of the specified ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ResourceQuota
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedResourceQuotaStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ResourceQuota |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ResourceQuota**](V1ResourceQuota.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedScaleScale**
-> V1Scale readNamespacedScaleScale(name, namespace, , opts)
-
-
-
-read scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedScaleScale(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Scale**](V1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedSecret**
-> V1Secret readNamespacedSecret(name, namespace, , opts)
-
-
-
-read the specified Secret
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Secret
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedSecret(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Secret |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1Secret**](V1Secret.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedService**
-> V1Service readNamespacedService(name, namespace, , opts)
-
-
-
-read the specified Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedService(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1Service**](V1Service.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedServiceAccount**
-> V1ServiceAccount readNamespacedServiceAccount(name, namespace, , opts)
-
-
-
-read the specified ServiceAccount
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ServiceAccount
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedServiceAccount(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ServiceAccount |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1ServiceAccount**](V1ServiceAccount.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedServiceStatus**
-> V1Service readNamespacedServiceStatus(name, namespace, , opts)
-
-
-
-read status of the specified Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedServiceStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Service**](V1Service.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNode**
-> V1Node readNode(name, , opts)
-
-
-
-read the specified Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNode(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1Node**](V1Node.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNodeStatus**
-> V1Node readNodeStatus(name, , opts)
-
-
-
-read status of the specified Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNodeStatus(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Node**](V1Node.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readPersistentVolume**
-> V1PersistentVolume readPersistentVolume(name, , opts)
-
-
-
-read the specified PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolume
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readPersistentVolume(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolume |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1PersistentVolume**](V1PersistentVolume.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readPersistentVolumeStatus**
-> V1PersistentVolume readPersistentVolumeStatus(name, , opts)
-
-
-
-read status of the specified PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolume
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readPersistentVolumeStatus(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolume |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolume**](V1PersistentVolume.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespace**
-> V1Namespace replaceNamespace(name, body, opts)
-
-
-
-replace the specified Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Namespace
-
-var body = new KubernetesJsClient.V1Namespace(); // V1Namespace |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespace(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Namespace |
- **body** | [**V1Namespace**](V1Namespace.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Namespace**](V1Namespace.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespaceFinalize**
-> V1Namespace replaceNamespaceFinalize(name, body, opts)
-
-
-
-replace finalize of the specified Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Namespace
-
-var body = new KubernetesJsClient.V1Namespace(); // V1Namespace |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespaceFinalize(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Namespace |
- **body** | [**V1Namespace**](V1Namespace.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Namespace**](V1Namespace.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespaceStatus**
-> V1Namespace replaceNamespaceStatus(name, body, opts)
-
-
-
-replace status of the specified Namespace
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Namespace
-
-var body = new KubernetesJsClient.V1Namespace(); // V1Namespace |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespaceStatus(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Namespace |
- **body** | [**V1Namespace**](V1Namespace.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Namespace**](V1Namespace.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedConfigMap**
-> V1ConfigMap replaceNamespacedConfigMap(name, namespace, body, opts)
-
-
-
-replace the specified ConfigMap
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ConfigMap
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ConfigMap(); // V1ConfigMap |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedConfigMap(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ConfigMap |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ConfigMap**](V1ConfigMap.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ConfigMap**](V1ConfigMap.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedEndpoints**
-> V1Endpoints replaceNamespacedEndpoints(name, namespace, body, opts)
-
-
-
-replace the specified Endpoints
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Endpoints
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Endpoints(); // V1Endpoints |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedEndpoints(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Endpoints |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Endpoints**](V1Endpoints.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Endpoints**](V1Endpoints.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedEvent**
-> V1Event replaceNamespacedEvent(name, namespace, body, opts)
-
-
-
-replace the specified Event
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Event
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Event(); // V1Event |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedEvent(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Event |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Event**](V1Event.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Event**](V1Event.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedLimitRange**
-> V1LimitRange replaceNamespacedLimitRange(name, namespace, body, opts)
-
-
-
-replace the specified LimitRange
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the LimitRange
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1LimitRange(); // V1LimitRange |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedLimitRange(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the LimitRange |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1LimitRange**](V1LimitRange.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1LimitRange**](V1LimitRange.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedPersistentVolumeClaim**
-> V1PersistentVolumeClaim replaceNamespacedPersistentVolumeClaim(name, namespace, body, opts)
-
-
-
-replace the specified PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolumeClaim
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1PersistentVolumeClaim(); // V1PersistentVolumeClaim |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedPersistentVolumeClaim(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolumeClaim |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedPersistentVolumeClaimStatus**
-> V1PersistentVolumeClaim replaceNamespacedPersistentVolumeClaimStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified PersistentVolumeClaim
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolumeClaim
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1PersistentVolumeClaim(); // V1PersistentVolumeClaim |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedPersistentVolumeClaimStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolumeClaim |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedPod**
-> V1Pod replaceNamespacedPod(name, namespace, body, opts)
-
-
-
-replace the specified Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Pod(); // V1Pod |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedPod(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Pod**](V1Pod.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Pod**](V1Pod.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedPodStatus**
-> V1Pod replaceNamespacedPodStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified Pod
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Pod
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Pod(); // V1Pod |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedPodStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Pod |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Pod**](V1Pod.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Pod**](V1Pod.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedPodTemplate**
-> V1PodTemplate replaceNamespacedPodTemplate(name, namespace, body, opts)
-
-
-
-replace the specified PodTemplate
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PodTemplate
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1PodTemplate(); // V1PodTemplate |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedPodTemplate(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodTemplate |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1PodTemplate**](V1PodTemplate.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PodTemplate**](V1PodTemplate.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedReplicationController**
-> V1ReplicationController replaceNamespacedReplicationController(name, namespace, body, opts)
-
-
-
-replace the specified ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ReplicationController
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ReplicationController(); // V1ReplicationController |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedReplicationController(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicationController |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ReplicationController**](V1ReplicationController.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ReplicationController**](V1ReplicationController.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedReplicationControllerStatus**
-> V1ReplicationController replaceNamespacedReplicationControllerStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified ReplicationController
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ReplicationController
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ReplicationController(); // V1ReplicationController |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedReplicationControllerStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicationController |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ReplicationController**](V1ReplicationController.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ReplicationController**](V1ReplicationController.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedResourceQuota**
-> V1ResourceQuota replaceNamespacedResourceQuota(name, namespace, body, opts)
-
-
-
-replace the specified ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ResourceQuota
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ResourceQuota(); // V1ResourceQuota |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedResourceQuota(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ResourceQuota |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ResourceQuota**](V1ResourceQuota.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedResourceQuotaStatus**
-> V1ResourceQuota replaceNamespacedResourceQuotaStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified ResourceQuota
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ResourceQuota
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ResourceQuota(); // V1ResourceQuota |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedResourceQuotaStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ResourceQuota |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ResourceQuota**](V1ResourceQuota.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedScaleScale**
-> V1Scale replaceNamespacedScaleScale(name, namespace, body, opts)
-
-
-
-replace scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Scale(); // V1Scale |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedScaleScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Scale**](V1Scale.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Scale**](V1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedSecret**
-> V1Secret replaceNamespacedSecret(name, namespace, body, opts)
-
-
-
-replace the specified Secret
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Secret
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Secret(); // V1Secret |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedSecret(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Secret |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Secret**](V1Secret.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Secret**](V1Secret.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedService**
-> V1Service replaceNamespacedService(name, namespace, body, opts)
-
-
-
-replace the specified Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Service(); // V1Service |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedService(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Service**](V1Service.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Service**](V1Service.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedServiceAccount**
-> V1ServiceAccount replaceNamespacedServiceAccount(name, namespace, body, opts)
-
-
-
-replace the specified ServiceAccount
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the ServiceAccount
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1ServiceAccount(); // V1ServiceAccount |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedServiceAccount(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ServiceAccount |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1ServiceAccount**](V1ServiceAccount.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1ServiceAccount**](V1ServiceAccount.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedServiceStatus**
-> V1Service replaceNamespacedServiceStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified Service
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Service
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1Service(); // V1Service |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedServiceStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Service |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1Service**](V1Service.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Service**](V1Service.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNode**
-> V1Node replaceNode(name, body, opts)
-
-
-
-replace the specified Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var body = new KubernetesJsClient.V1Node(); // V1Node |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNode(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **body** | [**V1Node**](V1Node.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Node**](V1Node.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNodeStatus**
-> V1Node replaceNodeStatus(name, body, opts)
-
-
-
-replace status of the specified Node
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the Node
-
-var body = new KubernetesJsClient.V1Node(); // V1Node |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNodeStatus(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Node |
- **body** | [**V1Node**](V1Node.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1Node**](V1Node.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replacePersistentVolume**
-> V1PersistentVolume replacePersistentVolume(name, body, opts)
-
-
-
-replace the specified PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolume
-
-var body = new KubernetesJsClient.V1PersistentVolume(); // V1PersistentVolume |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replacePersistentVolume(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolume |
- **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolume**](V1PersistentVolume.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replacePersistentVolumeStatus**
-> V1PersistentVolume replacePersistentVolumeStatus(name, body, opts)
-
-
-
-replace status of the specified PersistentVolume
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Core_v1Api();
-
-var name = "name_example"; // String | name of the PersistentVolume
-
-var body = new KubernetesJsClient.V1PersistentVolume(); // V1PersistentVolume |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replacePersistentVolumeStatus(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PersistentVolume |
- **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1PersistentVolume**](V1PersistentVolume.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/ExtensionsApi.md b/kubernetes/docs/ExtensionsApi.md
deleted file mode 100644
index 7f31968a8d..0000000000
--- a/kubernetes/docs/ExtensionsApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.ExtensionsApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](ExtensionsApi.md#getAPIGroup) | **GET** /apis/extensions/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.ExtensionsApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/ExtensionsV1beta1Deployment.md b/kubernetes/docs/ExtensionsV1beta1Deployment.md
deleted file mode 100644
index 278e68ba9e..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1Deployment.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1Deployment
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional]
-**spec** | [**ExtensionsV1beta1DeploymentSpec**](ExtensionsV1beta1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional]
-**status** | [**ExtensionsV1beta1DeploymentStatus**](ExtensionsV1beta1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentCondition.md b/kubernetes/docs/ExtensionsV1beta1DeploymentCondition.md
deleted file mode 100644
index 39352d788c..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1DeploymentCondition.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1DeploymentCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastTransitionTime** | **Date** | Last time the condition transitioned from one status to another. | [optional]
-**lastUpdateTime** | **Date** | The last time this condition was updated. | [optional]
-**message** | **String** | A human readable message indicating details about the transition. | [optional]
-**reason** | **String** | The reason for the condition's last transition. | [optional]
-**status** | **String** | Status of the condition, one of True, False, Unknown. |
-**type** | **String** | Type of deployment condition. |
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentList.md b/kubernetes/docs/ExtensionsV1beta1DeploymentList.md
deleted file mode 100644
index 8a6a7f0670..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1DeploymentList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1DeploymentList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[ExtensionsV1beta1Deployment]**](ExtensionsV1beta1Deployment.md) | Items is the list of Deployments. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentRollback.md b/kubernetes/docs/ExtensionsV1beta1DeploymentRollback.md
deleted file mode 100644
index 0fc9a8270b..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1DeploymentRollback.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1DeploymentRollback
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**name** | **String** | Required: This must match the Name of a deployment. |
-**rollbackTo** | [**ExtensionsV1beta1RollbackConfig**](ExtensionsV1beta1RollbackConfig.md) | The config of this deployment rollback. |
-**updatedAnnotations** | **{String: String}** | The annotations to be updated to a deployment | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md b/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md
deleted file mode 100644
index e750746ee7..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1DeploymentSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**minReadySeconds** | **Number** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional]
-**paused** | **Boolean** | Indicates that the deployment is paused and will not be processed by the deployment controller. | [optional]
-**progressDeadlineSeconds** | **Number** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. | [optional]
-**replicas** | **Number** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional]
-**revisionHistoryLimit** | **Number** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. | [optional]
-**rollbackTo** | [**ExtensionsV1beta1RollbackConfig**](ExtensionsV1beta1RollbackConfig.md) | The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional]
-**strategy** | [**ExtensionsV1beta1DeploymentStrategy**](ExtensionsV1beta1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional]
-**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. |
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentStatus.md b/kubernetes/docs/ExtensionsV1beta1DeploymentStatus.md
deleted file mode 100644
index 223d9bdc17..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1DeploymentStatus.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1DeploymentStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**availableReplicas** | **Number** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional]
-**conditions** | [**[ExtensionsV1beta1DeploymentCondition]**](ExtensionsV1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional]
-**observedGeneration** | **Number** | The generation observed by the deployment controller. | [optional]
-**readyReplicas** | **Number** | Total number of ready pods targeted by this deployment. | [optional]
-**replicas** | **Number** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional]
-**unavailableReplicas** | **Number** | Total number of unavailable pods targeted by this deployment. | [optional]
-**updatedReplicas** | **Number** | Total number of non-terminated pods targeted by this deployment that have the desired template spec. | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentStrategy.md b/kubernetes/docs/ExtensionsV1beta1DeploymentStrategy.md
deleted file mode 100644
index 061d95ed22..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1DeploymentStrategy.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1DeploymentStrategy
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**rollingUpdate** | [**ExtensionsV1beta1RollingUpdateDeployment**](ExtensionsV1beta1RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional]
-**type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1RollbackConfig.md b/kubernetes/docs/ExtensionsV1beta1RollbackConfig.md
deleted file mode 100644
index 2580298797..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1RollbackConfig.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1RollbackConfig
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**revision** | **Number** | The revision to rollback to. If set to 0, rollbck to the last revision. | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1RollingUpdateDeployment.md b/kubernetes/docs/ExtensionsV1beta1RollingUpdateDeployment.md
deleted file mode 100644
index c9e9ddb17a..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1RollingUpdateDeployment.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1RollingUpdateDeployment
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**maxSurge** | **String** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional]
-**maxUnavailable** | **String** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1Scale.md b/kubernetes/docs/ExtensionsV1beta1Scale.md
deleted file mode 100644
index 2c051bfb07..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1Scale.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1Scale
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. | [optional]
-**spec** | [**ExtensionsV1beta1ScaleSpec**](ExtensionsV1beta1ScaleSpec.md) | defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional]
-**status** | [**ExtensionsV1beta1ScaleStatus**](ExtensionsV1beta1ScaleStatus.md) | current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1ScaleSpec.md b/kubernetes/docs/ExtensionsV1beta1ScaleSpec.md
deleted file mode 100644
index 867c815348..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1ScaleSpec.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1ScaleSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**replicas** | **Number** | desired number of instances for the scaled object. | [optional]
-
-
diff --git a/kubernetes/docs/ExtensionsV1beta1ScaleStatus.md b/kubernetes/docs/ExtensionsV1beta1ScaleStatus.md
deleted file mode 100644
index 275f284109..0000000000
--- a/kubernetes/docs/ExtensionsV1beta1ScaleStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.ExtensionsV1beta1ScaleStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**replicas** | **Number** | actual number of observed instances of the scaled object. |
-**selector** | **{String: String}** | label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-**targetSelector** | **String** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the kubernetes.clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-
-
diff --git a/kubernetes/docs/Extensions_v1beta1Api.md b/kubernetes/docs/Extensions_v1beta1Api.md
deleted file mode 100644
index cee7041976..0000000000
--- a/kubernetes/docs/Extensions_v1beta1Api.md
+++ /dev/null
@@ -1,4946 +0,0 @@
-# KubernetesJsClient.Extensions_v1beta1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedDaemonSet**](Extensions_v1beta1Api.md#createNamespacedDaemonSet) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets |
-[**createNamespacedDeployment**](Extensions_v1beta1Api.md#createNamespacedDeployment) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments |
-[**createNamespacedDeploymentRollbackRollback**](Extensions_v1beta1Api.md#createNamespacedDeploymentRollbackRollback) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback |
-[**createNamespacedIngress**](Extensions_v1beta1Api.md#createNamespacedIngress) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
-[**createNamespacedNetworkPolicy**](Extensions_v1beta1Api.md#createNamespacedNetworkPolicy) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies |
-[**createNamespacedReplicaSet**](Extensions_v1beta1Api.md#createNamespacedReplicaSet) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets |
-[**createPodSecurityPolicy**](Extensions_v1beta1Api.md#createPodSecurityPolicy) | **POST** /apis/extensions/v1beta1/podsecuritypolicies |
-[**createThirdPartyResource**](Extensions_v1beta1Api.md#createThirdPartyResource) | **POST** /apis/extensions/v1beta1/thirdpartyresources |
-[**deleteCollectionNamespacedDaemonSet**](Extensions_v1beta1Api.md#deleteCollectionNamespacedDaemonSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets |
-[**deleteCollectionNamespacedDeployment**](Extensions_v1beta1Api.md#deleteCollectionNamespacedDeployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments |
-[**deleteCollectionNamespacedIngress**](Extensions_v1beta1Api.md#deleteCollectionNamespacedIngress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
-[**deleteCollectionNamespacedNetworkPolicy**](Extensions_v1beta1Api.md#deleteCollectionNamespacedNetworkPolicy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies |
-[**deleteCollectionNamespacedReplicaSet**](Extensions_v1beta1Api.md#deleteCollectionNamespacedReplicaSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets |
-[**deleteCollectionPodSecurityPolicy**](Extensions_v1beta1Api.md#deleteCollectionPodSecurityPolicy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies |
-[**deleteCollectionThirdPartyResource**](Extensions_v1beta1Api.md#deleteCollectionThirdPartyResource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources |
-[**deleteNamespacedDaemonSet**](Extensions_v1beta1Api.md#deleteNamespacedDaemonSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} |
-[**deleteNamespacedDeployment**](Extensions_v1beta1Api.md#deleteNamespacedDeployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} |
-[**deleteNamespacedIngress**](Extensions_v1beta1Api.md#deleteNamespacedIngress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
-[**deleteNamespacedNetworkPolicy**](Extensions_v1beta1Api.md#deleteNamespacedNetworkPolicy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} |
-[**deleteNamespacedReplicaSet**](Extensions_v1beta1Api.md#deleteNamespacedReplicaSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} |
-[**deletePodSecurityPolicy**](Extensions_v1beta1Api.md#deletePodSecurityPolicy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies/{name} |
-[**deleteThirdPartyResource**](Extensions_v1beta1Api.md#deleteThirdPartyResource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources/{name} |
-[**getAPIResources**](Extensions_v1beta1Api.md#getAPIResources) | **GET** /apis/extensions/v1beta1/ |
-[**listDaemonSetForAllNamespaces**](Extensions_v1beta1Api.md#listDaemonSetForAllNamespaces) | **GET** /apis/extensions/v1beta1/daemonsets |
-[**listDeploymentForAllNamespaces**](Extensions_v1beta1Api.md#listDeploymentForAllNamespaces) | **GET** /apis/extensions/v1beta1/deployments |
-[**listIngressForAllNamespaces**](Extensions_v1beta1Api.md#listIngressForAllNamespaces) | **GET** /apis/extensions/v1beta1/ingresses |
-[**listNamespacedDaemonSet**](Extensions_v1beta1Api.md#listNamespacedDaemonSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets |
-[**listNamespacedDeployment**](Extensions_v1beta1Api.md#listNamespacedDeployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments |
-[**listNamespacedIngress**](Extensions_v1beta1Api.md#listNamespacedIngress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses |
-[**listNamespacedNetworkPolicy**](Extensions_v1beta1Api.md#listNamespacedNetworkPolicy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies |
-[**listNamespacedReplicaSet**](Extensions_v1beta1Api.md#listNamespacedReplicaSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets |
-[**listNetworkPolicyForAllNamespaces**](Extensions_v1beta1Api.md#listNetworkPolicyForAllNamespaces) | **GET** /apis/extensions/v1beta1/networkpolicies |
-[**listPodSecurityPolicy**](Extensions_v1beta1Api.md#listPodSecurityPolicy) | **GET** /apis/extensions/v1beta1/podsecuritypolicies |
-[**listReplicaSetForAllNamespaces**](Extensions_v1beta1Api.md#listReplicaSetForAllNamespaces) | **GET** /apis/extensions/v1beta1/replicasets |
-[**listThirdPartyResource**](Extensions_v1beta1Api.md#listThirdPartyResource) | **GET** /apis/extensions/v1beta1/thirdpartyresources |
-[**patchNamespacedDaemonSet**](Extensions_v1beta1Api.md#patchNamespacedDaemonSet) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} |
-[**patchNamespacedDaemonSetStatus**](Extensions_v1beta1Api.md#patchNamespacedDaemonSetStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status |
-[**patchNamespacedDeployment**](Extensions_v1beta1Api.md#patchNamespacedDeployment) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} |
-[**patchNamespacedDeploymentStatus**](Extensions_v1beta1Api.md#patchNamespacedDeploymentStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-[**patchNamespacedDeploymentsScale**](Extensions_v1beta1Api.md#patchNamespacedDeploymentsScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-[**patchNamespacedIngress**](Extensions_v1beta1Api.md#patchNamespacedIngress) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
-[**patchNamespacedIngressStatus**](Extensions_v1beta1Api.md#patchNamespacedIngressStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status |
-[**patchNamespacedNetworkPolicy**](Extensions_v1beta1Api.md#patchNamespacedNetworkPolicy) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} |
-[**patchNamespacedReplicaSet**](Extensions_v1beta1Api.md#patchNamespacedReplicaSet) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} |
-[**patchNamespacedReplicaSetStatus**](Extensions_v1beta1Api.md#patchNamespacedReplicaSetStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status |
-[**patchNamespacedReplicasetsScale**](Extensions_v1beta1Api.md#patchNamespacedReplicasetsScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale |
-[**patchNamespacedReplicationcontrollersScale**](Extensions_v1beta1Api.md#patchNamespacedReplicationcontrollersScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-[**patchPodSecurityPolicy**](Extensions_v1beta1Api.md#patchPodSecurityPolicy) | **PATCH** /apis/extensions/v1beta1/podsecuritypolicies/{name} |
-[**patchThirdPartyResource**](Extensions_v1beta1Api.md#patchThirdPartyResource) | **PATCH** /apis/extensions/v1beta1/thirdpartyresources/{name} |
-[**readNamespacedDaemonSet**](Extensions_v1beta1Api.md#readNamespacedDaemonSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} |
-[**readNamespacedDaemonSetStatus**](Extensions_v1beta1Api.md#readNamespacedDaemonSetStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status |
-[**readNamespacedDeployment**](Extensions_v1beta1Api.md#readNamespacedDeployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} |
-[**readNamespacedDeploymentStatus**](Extensions_v1beta1Api.md#readNamespacedDeploymentStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-[**readNamespacedDeploymentsScale**](Extensions_v1beta1Api.md#readNamespacedDeploymentsScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-[**readNamespacedIngress**](Extensions_v1beta1Api.md#readNamespacedIngress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
-[**readNamespacedIngressStatus**](Extensions_v1beta1Api.md#readNamespacedIngressStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status |
-[**readNamespacedNetworkPolicy**](Extensions_v1beta1Api.md#readNamespacedNetworkPolicy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} |
-[**readNamespacedReplicaSet**](Extensions_v1beta1Api.md#readNamespacedReplicaSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} |
-[**readNamespacedReplicaSetStatus**](Extensions_v1beta1Api.md#readNamespacedReplicaSetStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status |
-[**readNamespacedReplicasetsScale**](Extensions_v1beta1Api.md#readNamespacedReplicasetsScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale |
-[**readNamespacedReplicationcontrollersScale**](Extensions_v1beta1Api.md#readNamespacedReplicationcontrollersScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-[**readPodSecurityPolicy**](Extensions_v1beta1Api.md#readPodSecurityPolicy) | **GET** /apis/extensions/v1beta1/podsecuritypolicies/{name} |
-[**readThirdPartyResource**](Extensions_v1beta1Api.md#readThirdPartyResource) | **GET** /apis/extensions/v1beta1/thirdpartyresources/{name} |
-[**replaceNamespacedDaemonSet**](Extensions_v1beta1Api.md#replaceNamespacedDaemonSet) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} |
-[**replaceNamespacedDaemonSetStatus**](Extensions_v1beta1Api.md#replaceNamespacedDaemonSetStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status |
-[**replaceNamespacedDeployment**](Extensions_v1beta1Api.md#replaceNamespacedDeployment) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} |
-[**replaceNamespacedDeploymentStatus**](Extensions_v1beta1Api.md#replaceNamespacedDeploymentStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status |
-[**replaceNamespacedDeploymentsScale**](Extensions_v1beta1Api.md#replaceNamespacedDeploymentsScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale |
-[**replaceNamespacedIngress**](Extensions_v1beta1Api.md#replaceNamespacedIngress) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} |
-[**replaceNamespacedIngressStatus**](Extensions_v1beta1Api.md#replaceNamespacedIngressStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status |
-[**replaceNamespacedNetworkPolicy**](Extensions_v1beta1Api.md#replaceNamespacedNetworkPolicy) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} |
-[**replaceNamespacedReplicaSet**](Extensions_v1beta1Api.md#replaceNamespacedReplicaSet) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} |
-[**replaceNamespacedReplicaSetStatus**](Extensions_v1beta1Api.md#replaceNamespacedReplicaSetStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status |
-[**replaceNamespacedReplicasetsScale**](Extensions_v1beta1Api.md#replaceNamespacedReplicasetsScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale |
-[**replaceNamespacedReplicationcontrollersScale**](Extensions_v1beta1Api.md#replaceNamespacedReplicationcontrollersScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale |
-[**replacePodSecurityPolicy**](Extensions_v1beta1Api.md#replacePodSecurityPolicy) | **PUT** /apis/extensions/v1beta1/podsecuritypolicies/{name} |
-[**replaceThirdPartyResource**](Extensions_v1beta1Api.md#replaceThirdPartyResource) | **PUT** /apis/extensions/v1beta1/thirdpartyresources/{name} |
-
-
-
-# **createNamespacedDaemonSet**
-> V1beta1DaemonSet createNamespacedDaemonSet(namespacebody, opts)
-
-
-
-create a DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1DaemonSet(); // V1beta1DaemonSet |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedDaemonSet(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSet**](V1beta1DaemonSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedDeployment**
-> ExtensionsV1beta1Deployment createNamespacedDeployment(namespacebody, opts)
-
-
-
-create a Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.ExtensionsV1beta1Deployment(); // ExtensionsV1beta1Deployment |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedDeployment(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedDeploymentRollbackRollback**
-> ExtensionsV1beta1DeploymentRollback createNamespacedDeploymentRollbackRollback(name, namespace, body, opts)
-
-
-
-create rollback of a DeploymentRollback
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the DeploymentRollback
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.ExtensionsV1beta1DeploymentRollback(); // ExtensionsV1beta1DeploymentRollback |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedDeploymentRollbackRollback(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DeploymentRollback |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**ExtensionsV1beta1DeploymentRollback**](ExtensionsV1beta1DeploymentRollback.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1DeploymentRollback**](ExtensionsV1beta1DeploymentRollback.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedIngress**
-> V1beta1Ingress createNamespacedIngress(namespacebody, opts)
-
-
-
-create an Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1Ingress(); // V1beta1Ingress |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedIngress(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Ingress**](V1beta1Ingress.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedNetworkPolicy**
-> V1beta1NetworkPolicy createNamespacedNetworkPolicy(namespacebody, opts)
-
-
-
-create a NetworkPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1NetworkPolicy(); // V1beta1NetworkPolicy |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedNetworkPolicy(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedReplicaSet**
-> V1beta1ReplicaSet createNamespacedReplicaSet(namespacebody, opts)
-
-
-
-create a ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1ReplicaSet(); // V1beta1ReplicaSet |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedReplicaSet(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createPodSecurityPolicy**
-> V1beta1PodSecurityPolicy createPodSecurityPolicy(body, opts)
-
-
-
-create a PodSecurityPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1PodSecurityPolicy(); // V1beta1PodSecurityPolicy |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createPodSecurityPolicy(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createThirdPartyResource**
-> V1beta1ThirdPartyResource createThirdPartyResource(body, opts)
-
-
-
-create a ThirdPartyResource
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1ThirdPartyResource(); // V1beta1ThirdPartyResource |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createThirdPartyResource(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedDaemonSet**
-> V1Status deleteCollectionNamespacedDaemonSet(namespace, opts)
-
-
-
-delete collection of DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedDaemonSet(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedDeployment**
-> V1Status deleteCollectionNamespacedDeployment(namespace, opts)
-
-
-
-delete collection of Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedDeployment(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedIngress**
-> V1Status deleteCollectionNamespacedIngress(namespace, opts)
-
-
-
-delete collection of Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedIngress(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedNetworkPolicy**
-> V1Status deleteCollectionNamespacedNetworkPolicy(namespace, opts)
-
-
-
-delete collection of NetworkPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedNetworkPolicy(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedReplicaSet**
-> V1Status deleteCollectionNamespacedReplicaSet(namespace, opts)
-
-
-
-delete collection of ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedReplicaSet(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionPodSecurityPolicy**
-> V1Status deleteCollectionPodSecurityPolicy(opts)
-
-
-
-delete collection of PodSecurityPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionPodSecurityPolicy(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionThirdPartyResource**
-> V1Status deleteCollectionThirdPartyResource(opts)
-
-
-
-delete collection of ThirdPartyResource
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionThirdPartyResource(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedDaemonSet**
-> V1Status deleteNamespacedDaemonSet(name, namespace, body, opts)
-
-
-
-delete a DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the DaemonSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedDaemonSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DaemonSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedDeployment**
-> V1Status deleteNamespacedDeployment(name, namespace, body, opts)
-
-
-
-delete a Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedDeployment(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedIngress**
-> V1Status deleteNamespacedIngress(name, namespace, body, opts)
-
-
-
-delete an Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Ingress
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedIngress(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Ingress |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedNetworkPolicy**
-> V1Status deleteNamespacedNetworkPolicy(name, namespace, body, opts)
-
-
-
-delete a NetworkPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the NetworkPolicy
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedNetworkPolicy(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the NetworkPolicy |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedReplicaSet**
-> V1Status deleteNamespacedReplicaSet(name, namespace, body, opts)
-
-
-
-delete a ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ReplicaSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedReplicaSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicaSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deletePodSecurityPolicy**
-> V1Status deletePodSecurityPolicy(name, body, opts)
-
-
-
-delete a PodSecurityPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodSecurityPolicy
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deletePodSecurityPolicy(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodSecurityPolicy |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteThirdPartyResource**
-> V1Status deleteThirdPartyResource(name, body, opts)
-
-
-
-delete a ThirdPartyResource
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ThirdPartyResource
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteThirdPartyResource(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ThirdPartyResource |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listDaemonSetForAllNamespaces**
-> V1beta1DaemonSetList listDaemonSetForAllNamespaces(opts)
-
-
-
-list or watch objects of kind DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listDaemonSetForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSetList**](V1beta1DaemonSetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listDeploymentForAllNamespaces**
-> ExtensionsV1beta1DeploymentList listDeploymentForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listDeploymentForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1DeploymentList**](ExtensionsV1beta1DeploymentList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listIngressForAllNamespaces**
-> V1beta1IngressList listIngressForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listIngressForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1IngressList**](V1beta1IngressList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedDaemonSet**
-> V1beta1DaemonSetList listNamespacedDaemonSet(namespace, opts)
-
-
-
-list or watch objects of kind DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedDaemonSet(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSetList**](V1beta1DaemonSetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedDeployment**
-> ExtensionsV1beta1DeploymentList listNamespacedDeployment(namespace, opts)
-
-
-
-list or watch objects of kind Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedDeployment(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1DeploymentList**](ExtensionsV1beta1DeploymentList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedIngress**
-> V1beta1IngressList listNamespacedIngress(namespace, opts)
-
-
-
-list or watch objects of kind Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedIngress(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1IngressList**](V1beta1IngressList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedNetworkPolicy**
-> V1beta1NetworkPolicyList listNamespacedNetworkPolicy(namespace, opts)
-
-
-
-list or watch objects of kind NetworkPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedNetworkPolicy(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1NetworkPolicyList**](V1beta1NetworkPolicyList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedReplicaSet**
-> V1beta1ReplicaSetList listNamespacedReplicaSet(namespace, opts)
-
-
-
-list or watch objects of kind ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedReplicaSet(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSetList**](V1beta1ReplicaSetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNetworkPolicyForAllNamespaces**
-> V1beta1NetworkPolicyList listNetworkPolicyForAllNamespaces(opts)
-
-
-
-list or watch objects of kind NetworkPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNetworkPolicyForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1NetworkPolicyList**](V1beta1NetworkPolicyList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listPodSecurityPolicy**
-> V1beta1PodSecurityPolicyList listPodSecurityPolicy(opts)
-
-
-
-list or watch objects of kind PodSecurityPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listPodSecurityPolicy(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1PodSecurityPolicyList**](V1beta1PodSecurityPolicyList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listReplicaSetForAllNamespaces**
-> V1beta1ReplicaSetList listReplicaSetForAllNamespaces(opts)
-
-
-
-list or watch objects of kind ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listReplicaSetForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSetList**](V1beta1ReplicaSetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listThirdPartyResource**
-> V1beta1ThirdPartyResourceList listThirdPartyResource(opts)
-
-
-
-list or watch objects of kind ThirdPartyResource
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listThirdPartyResource(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1ThirdPartyResourceList**](V1beta1ThirdPartyResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespacedDaemonSet**
-> V1beta1DaemonSet patchNamespacedDaemonSet(name, namespace, body, opts)
-
-
-
-partially update the specified DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the DaemonSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedDaemonSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DaemonSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSet**](V1beta1DaemonSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedDaemonSetStatus**
-> V1beta1DaemonSet patchNamespacedDaemonSetStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the DaemonSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedDaemonSetStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DaemonSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSet**](V1beta1DaemonSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedDeployment**
-> ExtensionsV1beta1Deployment patchNamespacedDeployment(name, namespace, body, opts)
-
-
-
-partially update the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedDeployment(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedDeploymentStatus**
-> ExtensionsV1beta1Deployment patchNamespacedDeploymentStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedDeploymentStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedDeploymentsScale**
-> ExtensionsV1beta1Scale patchNamespacedDeploymentsScale(name, namespace, body, opts)
-
-
-
-partially update scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedDeploymentsScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedIngress**
-> V1beta1Ingress patchNamespacedIngress(name, namespace, body, opts)
-
-
-
-partially update the specified Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Ingress
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedIngress(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Ingress |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Ingress**](V1beta1Ingress.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedIngressStatus**
-> V1beta1Ingress patchNamespacedIngressStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Ingress
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedIngressStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Ingress |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Ingress**](V1beta1Ingress.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedNetworkPolicy**
-> V1beta1NetworkPolicy patchNamespacedNetworkPolicy(name, namespace, body, opts)
-
-
-
-partially update the specified NetworkPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the NetworkPolicy
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedNetworkPolicy(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the NetworkPolicy |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedReplicaSet**
-> V1beta1ReplicaSet patchNamespacedReplicaSet(name, namespace, body, opts)
-
-
-
-partially update the specified ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ReplicaSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedReplicaSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicaSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedReplicaSetStatus**
-> V1beta1ReplicaSet patchNamespacedReplicaSetStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ReplicaSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedReplicaSetStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicaSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedReplicasetsScale**
-> ExtensionsV1beta1Scale patchNamespacedReplicasetsScale(name, namespace, body, opts)
-
-
-
-partially update scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedReplicasetsScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedReplicationcontrollersScale**
-> ExtensionsV1beta1Scale patchNamespacedReplicationcontrollersScale(name, namespace, body, opts)
-
-
-
-partially update scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedReplicationcontrollersScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchPodSecurityPolicy**
-> V1beta1PodSecurityPolicy patchPodSecurityPolicy(name, body, opts)
-
-
-
-partially update the specified PodSecurityPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodSecurityPolicy
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchPodSecurityPolicy(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodSecurityPolicy |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchThirdPartyResource**
-> V1beta1ThirdPartyResource patchThirdPartyResource(name, body, opts)
-
-
-
-partially update the specified ThirdPartyResource
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ThirdPartyResource
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchThirdPartyResource(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ThirdPartyResource |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedDaemonSet**
-> V1beta1DaemonSet readNamespacedDaemonSet(name, namespace, , opts)
-
-
-
-read the specified DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the DaemonSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedDaemonSet(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DaemonSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSet**](V1beta1DaemonSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedDaemonSetStatus**
-> V1beta1DaemonSet readNamespacedDaemonSetStatus(name, namespace, , opts)
-
-
-
-read status of the specified DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the DaemonSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedDaemonSetStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DaemonSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSet**](V1beta1DaemonSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedDeployment**
-> ExtensionsV1beta1Deployment readNamespacedDeployment(name, namespace, , opts)
-
-
-
-read the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedDeployment(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedDeploymentStatus**
-> ExtensionsV1beta1Deployment readNamespacedDeploymentStatus(name, namespace, , opts)
-
-
-
-read status of the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedDeploymentStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedDeploymentsScale**
-> ExtensionsV1beta1Scale readNamespacedDeploymentsScale(name, namespace, , opts)
-
-
-
-read scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedDeploymentsScale(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedIngress**
-> V1beta1Ingress readNamespacedIngress(name, namespace, , opts)
-
-
-
-read the specified Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Ingress
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedIngress(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Ingress |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1Ingress**](V1beta1Ingress.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedIngressStatus**
-> V1beta1Ingress readNamespacedIngressStatus(name, namespace, , opts)
-
-
-
-read status of the specified Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Ingress
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedIngressStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Ingress |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Ingress**](V1beta1Ingress.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedNetworkPolicy**
-> V1beta1NetworkPolicy readNamespacedNetworkPolicy(name, namespace, , opts)
-
-
-
-read the specified NetworkPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the NetworkPolicy
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedNetworkPolicy(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the NetworkPolicy |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedReplicaSet**
-> V1beta1ReplicaSet readNamespacedReplicaSet(name, namespace, , opts)
-
-
-
-read the specified ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ReplicaSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedReplicaSet(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicaSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedReplicaSetStatus**
-> V1beta1ReplicaSet readNamespacedReplicaSetStatus(name, namespace, , opts)
-
-
-
-read status of the specified ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ReplicaSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedReplicaSetStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicaSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedReplicasetsScale**
-> ExtensionsV1beta1Scale readNamespacedReplicasetsScale(name, namespace, , opts)
-
-
-
-read scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedReplicasetsScale(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedReplicationcontrollersScale**
-> ExtensionsV1beta1Scale readNamespacedReplicationcontrollersScale(name, namespace, , opts)
-
-
-
-read scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedReplicationcontrollersScale(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readPodSecurityPolicy**
-> V1beta1PodSecurityPolicy readPodSecurityPolicy(name, , opts)
-
-
-
-read the specified PodSecurityPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodSecurityPolicy
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readPodSecurityPolicy(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodSecurityPolicy |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readThirdPartyResource**
-> V1beta1ThirdPartyResource readThirdPartyResource(name, , opts)
-
-
-
-read the specified ThirdPartyResource
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ThirdPartyResource
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readThirdPartyResource(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ThirdPartyResource |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedDaemonSet**
-> V1beta1DaemonSet replaceNamespacedDaemonSet(name, namespace, body, opts)
-
-
-
-replace the specified DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the DaemonSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1DaemonSet(); // V1beta1DaemonSet |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedDaemonSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DaemonSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSet**](V1beta1DaemonSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedDaemonSetStatus**
-> V1beta1DaemonSet replaceNamespacedDaemonSetStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified DaemonSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the DaemonSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1DaemonSet(); // V1beta1DaemonSet |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedDaemonSetStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the DaemonSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1DaemonSet**](V1beta1DaemonSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedDeployment**
-> ExtensionsV1beta1Deployment replaceNamespacedDeployment(name, namespace, body, opts)
-
-
-
-replace the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.ExtensionsV1beta1Deployment(); // ExtensionsV1beta1Deployment |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedDeployment(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedDeploymentStatus**
-> ExtensionsV1beta1Deployment replaceNamespacedDeploymentStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified Deployment
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Deployment
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.ExtensionsV1beta1Deployment(); // ExtensionsV1beta1Deployment |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedDeploymentStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Deployment |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedDeploymentsScale**
-> ExtensionsV1beta1Scale replaceNamespacedDeploymentsScale(name, namespace, body, opts)
-
-
-
-replace scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.ExtensionsV1beta1Scale(); // ExtensionsV1beta1Scale |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedDeploymentsScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedIngress**
-> V1beta1Ingress replaceNamespacedIngress(name, namespace, body, opts)
-
-
-
-replace the specified Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Ingress
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1Ingress(); // V1beta1Ingress |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedIngress(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Ingress |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Ingress**](V1beta1Ingress.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedIngressStatus**
-> V1beta1Ingress replaceNamespacedIngressStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified Ingress
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Ingress
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1Ingress(); // V1beta1Ingress |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedIngressStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Ingress |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Ingress**](V1beta1Ingress.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedNetworkPolicy**
-> V1beta1NetworkPolicy replaceNamespacedNetworkPolicy(name, namespace, body, opts)
-
-
-
-replace the specified NetworkPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the NetworkPolicy
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1NetworkPolicy(); // V1beta1NetworkPolicy |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedNetworkPolicy(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the NetworkPolicy |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedReplicaSet**
-> V1beta1ReplicaSet replaceNamespacedReplicaSet(name, namespace, body, opts)
-
-
-
-replace the specified ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ReplicaSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1ReplicaSet(); // V1beta1ReplicaSet |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedReplicaSet(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicaSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedReplicaSetStatus**
-> V1beta1ReplicaSet replaceNamespacedReplicaSetStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified ReplicaSet
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ReplicaSet
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1ReplicaSet(); // V1beta1ReplicaSet |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedReplicaSetStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ReplicaSet |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedReplicasetsScale**
-> ExtensionsV1beta1Scale replaceNamespacedReplicasetsScale(name, namespace, body, opts)
-
-
-
-replace scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.ExtensionsV1beta1Scale(); // ExtensionsV1beta1Scale |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedReplicasetsScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedReplicationcontrollersScale**
-> ExtensionsV1beta1Scale replaceNamespacedReplicationcontrollersScale(name, namespace, body, opts)
-
-
-
-replace scale of the specified Scale
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the Scale
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.ExtensionsV1beta1Scale(); // ExtensionsV1beta1Scale |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedReplicationcontrollersScale(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Scale |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replacePodSecurityPolicy**
-> V1beta1PodSecurityPolicy replacePodSecurityPolicy(name, body, opts)
-
-
-
-replace the specified PodSecurityPolicy
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodSecurityPolicy
-
-var body = new KubernetesJsClient.V1beta1PodSecurityPolicy(); // V1beta1PodSecurityPolicy |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replacePodSecurityPolicy(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodSecurityPolicy |
- **body** | [**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceThirdPartyResource**
-> V1beta1ThirdPartyResource replaceThirdPartyResource(name, body, opts)
-
-
-
-replace the specified ThirdPartyResource
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Extensions_v1beta1Api();
-
-var name = "name_example"; // String | name of the ThirdPartyResource
-
-var body = new KubernetesJsClient.V1beta1ThirdPartyResource(); // V1beta1ThirdPartyResource |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceThirdPartyResource(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ThirdPartyResource |
- **body** | [**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/LogsApi.md b/kubernetes/docs/LogsApi.md
deleted file mode 100644
index 1273af5880..0000000000
--- a/kubernetes/docs/LogsApi.md
+++ /dev/null
@@ -1,106 +0,0 @@
-# KubernetesJsClient.LogsApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**logFileHandler**](LogsApi.md#logFileHandler) | **GET** /logs/{logpath} |
-[**logFileListHandler**](LogsApi.md#logFileListHandler) | **GET** /logs/ |
-
-
-
-# **logFileHandler**
-> logFileHandler(logpath)
-
-
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.LogsApi();
-
-var logpath = "logpath_example"; // String | path to the log
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully.');
- }
-};
-apiInstance.logFileHandler(logpath, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **logpath** | **String**| path to the log |
-
-### Return type
-
-null (empty response body)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-
-# **logFileListHandler**
-> logFileListHandler()
-
-
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.LogsApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully.');
- }
-};
-apiInstance.logFileListHandler(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-null (empty response body)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
diff --git a/kubernetes/docs/PolicyApi.md b/kubernetes/docs/PolicyApi.md
deleted file mode 100644
index f31844d611..0000000000
--- a/kubernetes/docs/PolicyApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.PolicyApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](PolicyApi.md#getAPIGroup) | **GET** /apis/policy/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.PolicyApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Policy_v1beta1Api.md b/kubernetes/docs/Policy_v1beta1Api.md
deleted file mode 100644
index ba285ac9a9..0000000000
--- a/kubernetes/docs/Policy_v1beta1Api.md
+++ /dev/null
@@ -1,770 +0,0 @@
-# KubernetesJsClient.Policy_v1beta1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedPodDisruptionBudget**](Policy_v1beta1Api.md#createNamespacedPodDisruptionBudget) | **POST** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets |
-[**deleteCollectionNamespacedPodDisruptionBudget**](Policy_v1beta1Api.md#deleteCollectionNamespacedPodDisruptionBudget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets |
-[**deleteNamespacedPodDisruptionBudget**](Policy_v1beta1Api.md#deleteNamespacedPodDisruptionBudget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} |
-[**getAPIResources**](Policy_v1beta1Api.md#getAPIResources) | **GET** /apis/policy/v1beta1/ |
-[**listNamespacedPodDisruptionBudget**](Policy_v1beta1Api.md#listNamespacedPodDisruptionBudget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets |
-[**listPodDisruptionBudgetForAllNamespaces**](Policy_v1beta1Api.md#listPodDisruptionBudgetForAllNamespaces) | **GET** /apis/policy/v1beta1/poddisruptionbudgets |
-[**patchNamespacedPodDisruptionBudget**](Policy_v1beta1Api.md#patchNamespacedPodDisruptionBudget) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} |
-[**patchNamespacedPodDisruptionBudgetStatus**](Policy_v1beta1Api.md#patchNamespacedPodDisruptionBudgetStatus) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status |
-[**readNamespacedPodDisruptionBudget**](Policy_v1beta1Api.md#readNamespacedPodDisruptionBudget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} |
-[**readNamespacedPodDisruptionBudgetStatus**](Policy_v1beta1Api.md#readNamespacedPodDisruptionBudgetStatus) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status |
-[**replaceNamespacedPodDisruptionBudget**](Policy_v1beta1Api.md#replaceNamespacedPodDisruptionBudget) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} |
-[**replaceNamespacedPodDisruptionBudgetStatus**](Policy_v1beta1Api.md#replaceNamespacedPodDisruptionBudgetStatus) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status |
-
-
-
-# **createNamespacedPodDisruptionBudget**
-> V1beta1PodDisruptionBudget createNamespacedPodDisruptionBudget(namespacebody, opts)
-
-
-
-create a PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1PodDisruptionBudget(); // V1beta1PodDisruptionBudget |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedPodDisruptionBudget(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedPodDisruptionBudget**
-> V1Status deleteCollectionNamespacedPodDisruptionBudget(namespace, opts)
-
-
-
-delete collection of PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedPodDisruptionBudget(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedPodDisruptionBudget**
-> V1Status deleteNamespacedPodDisruptionBudget(name, namespace, body, opts)
-
-
-
-delete a PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodDisruptionBudget
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedPodDisruptionBudget(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodDisruptionBudget |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listNamespacedPodDisruptionBudget**
-> V1beta1PodDisruptionBudgetList listNamespacedPodDisruptionBudget(namespace, opts)
-
-
-
-list or watch objects of kind PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedPodDisruptionBudget(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudgetList**](V1beta1PodDisruptionBudgetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listPodDisruptionBudgetForAllNamespaces**
-> V1beta1PodDisruptionBudgetList listPodDisruptionBudgetForAllNamespaces(opts)
-
-
-
-list or watch objects of kind PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listPodDisruptionBudgetForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudgetList**](V1beta1PodDisruptionBudgetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespacedPodDisruptionBudget**
-> V1beta1PodDisruptionBudget patchNamespacedPodDisruptionBudget(name, namespace, body, opts)
-
-
-
-partially update the specified PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodDisruptionBudget
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedPodDisruptionBudget(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodDisruptionBudget |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedPodDisruptionBudgetStatus**
-> V1beta1PodDisruptionBudget patchNamespacedPodDisruptionBudgetStatus(name, namespace, body, opts)
-
-
-
-partially update status of the specified PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodDisruptionBudget
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedPodDisruptionBudgetStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodDisruptionBudget |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPodDisruptionBudget**
-> V1beta1PodDisruptionBudget readNamespacedPodDisruptionBudget(name, namespace, , opts)
-
-
-
-read the specified PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodDisruptionBudget
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPodDisruptionBudget(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodDisruptionBudget |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPodDisruptionBudgetStatus**
-> V1beta1PodDisruptionBudget readNamespacedPodDisruptionBudgetStatus(name, namespace, , opts)
-
-
-
-read status of the specified PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodDisruptionBudget
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPodDisruptionBudgetStatus(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodDisruptionBudget |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedPodDisruptionBudget**
-> V1beta1PodDisruptionBudget replaceNamespacedPodDisruptionBudget(name, namespace, body, opts)
-
-
-
-replace the specified PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodDisruptionBudget
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1PodDisruptionBudget(); // V1beta1PodDisruptionBudget |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedPodDisruptionBudget(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodDisruptionBudget |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedPodDisruptionBudgetStatus**
-> V1beta1PodDisruptionBudget replaceNamespacedPodDisruptionBudgetStatus(name, namespace, body, opts)
-
-
-
-replace status of the specified PodDisruptionBudget
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Policy_v1beta1Api();
-
-var name = "name_example"; // String | name of the PodDisruptionBudget
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1PodDisruptionBudget(); // V1beta1PodDisruptionBudget |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedPodDisruptionBudgetStatus(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodDisruptionBudget |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/RbacAuthorizationApi.md b/kubernetes/docs/RbacAuthorizationApi.md
deleted file mode 100644
index 255752d6ce..0000000000
--- a/kubernetes/docs/RbacAuthorizationApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.RbacAuthorizationApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](RbacAuthorizationApi.md#getAPIGroup) | **GET** /apis/rbac.authorization.k8s.io/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorizationApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/RbacAuthorization_v1alpha1Api.md b/kubernetes/docs/RbacAuthorization_v1alpha1Api.md
deleted file mode 100644
index 94f6ab1f33..0000000000
--- a/kubernetes/docs/RbacAuthorization_v1alpha1Api.md
+++ /dev/null
@@ -1,1968 +0,0 @@
-# KubernetesJsClient.RbacAuthorization_v1alpha1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createClusterRole**](RbacAuthorization_v1alpha1Api.md#createClusterRole) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles |
-[**createClusterRoleBinding**](RbacAuthorization_v1alpha1Api.md#createClusterRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings |
-[**createNamespacedRole**](RbacAuthorization_v1alpha1Api.md#createNamespacedRole) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles |
-[**createNamespacedRoleBinding**](RbacAuthorization_v1alpha1Api.md#createNamespacedRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings |
-[**deleteClusterRole**](RbacAuthorization_v1alpha1Api.md#deleteClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} |
-[**deleteClusterRoleBinding**](RbacAuthorization_v1alpha1Api.md#deleteClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} |
-[**deleteCollectionClusterRole**](RbacAuthorization_v1alpha1Api.md#deleteCollectionClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles |
-[**deleteCollectionClusterRoleBinding**](RbacAuthorization_v1alpha1Api.md#deleteCollectionClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings |
-[**deleteCollectionNamespacedRole**](RbacAuthorization_v1alpha1Api.md#deleteCollectionNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles |
-[**deleteCollectionNamespacedRoleBinding**](RbacAuthorization_v1alpha1Api.md#deleteCollectionNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings |
-[**deleteNamespacedRole**](RbacAuthorization_v1alpha1Api.md#deleteNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} |
-[**deleteNamespacedRoleBinding**](RbacAuthorization_v1alpha1Api.md#deleteNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} |
-[**getAPIResources**](RbacAuthorization_v1alpha1Api.md#getAPIResources) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/ |
-[**listClusterRole**](RbacAuthorization_v1alpha1Api.md#listClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles |
-[**listClusterRoleBinding**](RbacAuthorization_v1alpha1Api.md#listClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings |
-[**listNamespacedRole**](RbacAuthorization_v1alpha1Api.md#listNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles |
-[**listNamespacedRoleBinding**](RbacAuthorization_v1alpha1Api.md#listNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings |
-[**listRoleBindingForAllNamespaces**](RbacAuthorization_v1alpha1Api.md#listRoleBindingForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/rolebindings |
-[**listRoleForAllNamespaces**](RbacAuthorization_v1alpha1Api.md#listRoleForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/roles |
-[**patchClusterRole**](RbacAuthorization_v1alpha1Api.md#patchClusterRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} |
-[**patchClusterRoleBinding**](RbacAuthorization_v1alpha1Api.md#patchClusterRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} |
-[**patchNamespacedRole**](RbacAuthorization_v1alpha1Api.md#patchNamespacedRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} |
-[**patchNamespacedRoleBinding**](RbacAuthorization_v1alpha1Api.md#patchNamespacedRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} |
-[**readClusterRole**](RbacAuthorization_v1alpha1Api.md#readClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} |
-[**readClusterRoleBinding**](RbacAuthorization_v1alpha1Api.md#readClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} |
-[**readNamespacedRole**](RbacAuthorization_v1alpha1Api.md#readNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} |
-[**readNamespacedRoleBinding**](RbacAuthorization_v1alpha1Api.md#readNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} |
-[**replaceClusterRole**](RbacAuthorization_v1alpha1Api.md#replaceClusterRole) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} |
-[**replaceClusterRoleBinding**](RbacAuthorization_v1alpha1Api.md#replaceClusterRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} |
-[**replaceNamespacedRole**](RbacAuthorization_v1alpha1Api.md#replaceNamespacedRole) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} |
-[**replaceNamespacedRoleBinding**](RbacAuthorization_v1alpha1Api.md#replaceNamespacedRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} |
-
-
-
-# **createClusterRole**
-> V1alpha1ClusterRole createClusterRole(body, opts)
-
-
-
-create a ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var body = new KubernetesJsClient.V1alpha1ClusterRole(); // V1alpha1ClusterRole |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createClusterRole(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1alpha1ClusterRole**](V1alpha1ClusterRole.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRole**](V1alpha1ClusterRole.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createClusterRoleBinding**
-> V1alpha1ClusterRoleBinding createClusterRoleBinding(body, opts)
-
-
-
-create a ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var body = new KubernetesJsClient.V1alpha1ClusterRoleBinding(); // V1alpha1ClusterRoleBinding |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createClusterRoleBinding(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1alpha1ClusterRoleBinding**](V1alpha1ClusterRoleBinding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRoleBinding**](V1alpha1ClusterRoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedRole**
-> V1alpha1Role createNamespacedRole(namespacebody, opts)
-
-
-
-create a Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1alpha1Role(); // V1alpha1Role |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedRole(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1alpha1Role**](V1alpha1Role.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1Role**](V1alpha1Role.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedRoleBinding**
-> V1alpha1RoleBinding createNamespacedRoleBinding(namespacebody, opts)
-
-
-
-create a RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1alpha1RoleBinding(); // V1alpha1RoleBinding |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedRoleBinding(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1alpha1RoleBinding**](V1alpha1RoleBinding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1RoleBinding**](V1alpha1RoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteClusterRole**
-> V1Status deleteClusterRole(name, body, opts)
-
-
-
-delete a ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the ClusterRole
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteClusterRole(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRole |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteClusterRoleBinding**
-> V1Status deleteClusterRoleBinding(name, body, opts)
-
-
-
-delete a ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the ClusterRoleBinding
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteClusterRoleBinding(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRoleBinding |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionClusterRole**
-> V1Status deleteCollectionClusterRole(opts)
-
-
-
-delete collection of ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionClusterRole(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionClusterRoleBinding**
-> V1Status deleteCollectionClusterRoleBinding(opts)
-
-
-
-delete collection of ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionClusterRoleBinding(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedRole**
-> V1Status deleteCollectionNamespacedRole(namespace, opts)
-
-
-
-delete collection of Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedRole(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedRoleBinding**
-> V1Status deleteCollectionNamespacedRoleBinding(namespace, opts)
-
-
-
-delete collection of RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedRoleBinding(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedRole**
-> V1Status deleteNamespacedRole(name, namespace, body, opts)
-
-
-
-delete a Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the Role
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedRole(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Role |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedRoleBinding**
-> V1Status deleteNamespacedRoleBinding(name, namespace, body, opts)
-
-
-
-delete a RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the RoleBinding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedRoleBinding(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the RoleBinding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listClusterRole**
-> V1alpha1ClusterRoleList listClusterRole(opts)
-
-
-
-list or watch objects of kind ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listClusterRole(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRoleList**](V1alpha1ClusterRoleList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listClusterRoleBinding**
-> V1alpha1ClusterRoleBindingList listClusterRoleBinding(opts)
-
-
-
-list or watch objects of kind ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listClusterRoleBinding(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRoleBindingList**](V1alpha1ClusterRoleBindingList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedRole**
-> V1alpha1RoleList listNamespacedRole(namespace, opts)
-
-
-
-list or watch objects of kind Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedRole(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1alpha1RoleList**](V1alpha1RoleList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedRoleBinding**
-> V1alpha1RoleBindingList listNamespacedRoleBinding(namespace, opts)
-
-
-
-list or watch objects of kind RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedRoleBinding(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1alpha1RoleBindingList**](V1alpha1RoleBindingList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listRoleBindingForAllNamespaces**
-> V1alpha1RoleBindingList listRoleBindingForAllNamespaces(opts)
-
-
-
-list or watch objects of kind RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listRoleBindingForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1alpha1RoleBindingList**](V1alpha1RoleBindingList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listRoleForAllNamespaces**
-> V1alpha1RoleList listRoleForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listRoleForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1alpha1RoleList**](V1alpha1RoleList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchClusterRole**
-> V1alpha1ClusterRole patchClusterRole(name, body, opts)
-
-
-
-partially update the specified ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the ClusterRole
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchClusterRole(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRole |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRole**](V1alpha1ClusterRole.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchClusterRoleBinding**
-> V1alpha1ClusterRoleBinding patchClusterRoleBinding(name, body, opts)
-
-
-
-partially update the specified ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the ClusterRoleBinding
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchClusterRoleBinding(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRoleBinding |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRoleBinding**](V1alpha1ClusterRoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedRole**
-> V1alpha1Role patchNamespacedRole(name, namespace, body, opts)
-
-
-
-partially update the specified Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the Role
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedRole(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Role |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1Role**](V1alpha1Role.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedRoleBinding**
-> V1alpha1RoleBinding patchNamespacedRoleBinding(name, namespace, body, opts)
-
-
-
-partially update the specified RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the RoleBinding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedRoleBinding(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the RoleBinding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1RoleBinding**](V1alpha1RoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readClusterRole**
-> V1alpha1ClusterRole readClusterRole(name, , opts)
-
-
-
-read the specified ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the ClusterRole
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readClusterRole(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRole |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRole**](V1alpha1ClusterRole.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readClusterRoleBinding**
-> V1alpha1ClusterRoleBinding readClusterRoleBinding(name, , opts)
-
-
-
-read the specified ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the ClusterRoleBinding
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readClusterRoleBinding(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRoleBinding |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRoleBinding**](V1alpha1ClusterRoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedRole**
-> V1alpha1Role readNamespacedRole(name, namespace, , opts)
-
-
-
-read the specified Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the Role
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedRole(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Role |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1Role**](V1alpha1Role.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedRoleBinding**
-> V1alpha1RoleBinding readNamespacedRoleBinding(name, namespace, , opts)
-
-
-
-read the specified RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the RoleBinding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedRoleBinding(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the RoleBinding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1RoleBinding**](V1alpha1RoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceClusterRole**
-> V1alpha1ClusterRole replaceClusterRole(name, body, opts)
-
-
-
-replace the specified ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the ClusterRole
-
-var body = new KubernetesJsClient.V1alpha1ClusterRole(); // V1alpha1ClusterRole |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceClusterRole(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRole |
- **body** | [**V1alpha1ClusterRole**](V1alpha1ClusterRole.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRole**](V1alpha1ClusterRole.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceClusterRoleBinding**
-> V1alpha1ClusterRoleBinding replaceClusterRoleBinding(name, body, opts)
-
-
-
-replace the specified ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the ClusterRoleBinding
-
-var body = new KubernetesJsClient.V1alpha1ClusterRoleBinding(); // V1alpha1ClusterRoleBinding |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceClusterRoleBinding(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRoleBinding |
- **body** | [**V1alpha1ClusterRoleBinding**](V1alpha1ClusterRoleBinding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1ClusterRoleBinding**](V1alpha1ClusterRoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedRole**
-> V1alpha1Role replaceNamespacedRole(name, namespace, body, opts)
-
-
-
-replace the specified Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the Role
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1alpha1Role(); // V1alpha1Role |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedRole(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Role |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1alpha1Role**](V1alpha1Role.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1Role**](V1alpha1Role.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedRoleBinding**
-> V1alpha1RoleBinding replaceNamespacedRoleBinding(name, namespace, body, opts)
-
-
-
-replace the specified RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1alpha1Api();
-
-var name = "name_example"; // String | name of the RoleBinding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1alpha1RoleBinding(); // V1alpha1RoleBinding |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedRoleBinding(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the RoleBinding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1alpha1RoleBinding**](V1alpha1RoleBinding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1RoleBinding**](V1alpha1RoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/RbacAuthorization_v1beta1Api.md b/kubernetes/docs/RbacAuthorization_v1beta1Api.md
deleted file mode 100644
index 28ad563217..0000000000
--- a/kubernetes/docs/RbacAuthorization_v1beta1Api.md
+++ /dev/null
@@ -1,1968 +0,0 @@
-# KubernetesJsClient.RbacAuthorization_v1beta1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createClusterRole**](RbacAuthorization_v1beta1Api.md#createClusterRole) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles |
-[**createClusterRoleBinding**](RbacAuthorization_v1beta1Api.md#createClusterRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings |
-[**createNamespacedRole**](RbacAuthorization_v1beta1Api.md#createNamespacedRole) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles |
-[**createNamespacedRoleBinding**](RbacAuthorization_v1beta1Api.md#createNamespacedRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings |
-[**deleteClusterRole**](RbacAuthorization_v1beta1Api.md#deleteClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} |
-[**deleteClusterRoleBinding**](RbacAuthorization_v1beta1Api.md#deleteClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} |
-[**deleteCollectionClusterRole**](RbacAuthorization_v1beta1Api.md#deleteCollectionClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles |
-[**deleteCollectionClusterRoleBinding**](RbacAuthorization_v1beta1Api.md#deleteCollectionClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings |
-[**deleteCollectionNamespacedRole**](RbacAuthorization_v1beta1Api.md#deleteCollectionNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles |
-[**deleteCollectionNamespacedRoleBinding**](RbacAuthorization_v1beta1Api.md#deleteCollectionNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings |
-[**deleteNamespacedRole**](RbacAuthorization_v1beta1Api.md#deleteNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} |
-[**deleteNamespacedRoleBinding**](RbacAuthorization_v1beta1Api.md#deleteNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} |
-[**getAPIResources**](RbacAuthorization_v1beta1Api.md#getAPIResources) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/ |
-[**listClusterRole**](RbacAuthorization_v1beta1Api.md#listClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles |
-[**listClusterRoleBinding**](RbacAuthorization_v1beta1Api.md#listClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings |
-[**listNamespacedRole**](RbacAuthorization_v1beta1Api.md#listNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles |
-[**listNamespacedRoleBinding**](RbacAuthorization_v1beta1Api.md#listNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings |
-[**listRoleBindingForAllNamespaces**](RbacAuthorization_v1beta1Api.md#listRoleBindingForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/rolebindings |
-[**listRoleForAllNamespaces**](RbacAuthorization_v1beta1Api.md#listRoleForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/roles |
-[**patchClusterRole**](RbacAuthorization_v1beta1Api.md#patchClusterRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} |
-[**patchClusterRoleBinding**](RbacAuthorization_v1beta1Api.md#patchClusterRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} |
-[**patchNamespacedRole**](RbacAuthorization_v1beta1Api.md#patchNamespacedRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} |
-[**patchNamespacedRoleBinding**](RbacAuthorization_v1beta1Api.md#patchNamespacedRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} |
-[**readClusterRole**](RbacAuthorization_v1beta1Api.md#readClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} |
-[**readClusterRoleBinding**](RbacAuthorization_v1beta1Api.md#readClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} |
-[**readNamespacedRole**](RbacAuthorization_v1beta1Api.md#readNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} |
-[**readNamespacedRoleBinding**](RbacAuthorization_v1beta1Api.md#readNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} |
-[**replaceClusterRole**](RbacAuthorization_v1beta1Api.md#replaceClusterRole) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} |
-[**replaceClusterRoleBinding**](RbacAuthorization_v1beta1Api.md#replaceClusterRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} |
-[**replaceNamespacedRole**](RbacAuthorization_v1beta1Api.md#replaceNamespacedRole) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} |
-[**replaceNamespacedRoleBinding**](RbacAuthorization_v1beta1Api.md#replaceNamespacedRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} |
-
-
-
-# **createClusterRole**
-> V1beta1ClusterRole createClusterRole(body, opts)
-
-
-
-create a ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1ClusterRole(); // V1beta1ClusterRole |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createClusterRole(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1ClusterRole**](V1beta1ClusterRole.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRole**](V1beta1ClusterRole.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createClusterRoleBinding**
-> V1beta1ClusterRoleBinding createClusterRoleBinding(body, opts)
-
-
-
-create a ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1ClusterRoleBinding(); // V1beta1ClusterRoleBinding |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createClusterRoleBinding(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1ClusterRoleBinding**](V1beta1ClusterRoleBinding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRoleBinding**](V1beta1ClusterRoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedRole**
-> V1beta1Role createNamespacedRole(namespacebody, opts)
-
-
-
-create a Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1Role(); // V1beta1Role |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedRole(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1Role**](V1beta1Role.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Role**](V1beta1Role.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **createNamespacedRoleBinding**
-> V1beta1RoleBinding createNamespacedRoleBinding(namespacebody, opts)
-
-
-
-create a RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1RoleBinding(); // V1beta1RoleBinding |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedRoleBinding(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1RoleBinding**](V1beta1RoleBinding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1RoleBinding**](V1beta1RoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteClusterRole**
-> V1Status deleteClusterRole(name, body, opts)
-
-
-
-delete a ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the ClusterRole
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteClusterRole(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRole |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteClusterRoleBinding**
-> V1Status deleteClusterRoleBinding(name, body, opts)
-
-
-
-delete a ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the ClusterRoleBinding
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteClusterRoleBinding(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRoleBinding |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionClusterRole**
-> V1Status deleteCollectionClusterRole(opts)
-
-
-
-delete collection of ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionClusterRole(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionClusterRoleBinding**
-> V1Status deleteCollectionClusterRoleBinding(opts)
-
-
-
-delete collection of ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionClusterRoleBinding(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedRole**
-> V1Status deleteCollectionNamespacedRole(namespace, opts)
-
-
-
-delete collection of Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedRole(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedRoleBinding**
-> V1Status deleteCollectionNamespacedRoleBinding(namespace, opts)
-
-
-
-delete collection of RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedRoleBinding(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedRole**
-> V1Status deleteNamespacedRole(name, namespace, body, opts)
-
-
-
-delete a Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the Role
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedRole(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Role |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedRoleBinding**
-> V1Status deleteNamespacedRoleBinding(name, namespace, body, opts)
-
-
-
-delete a RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the RoleBinding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedRoleBinding(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the RoleBinding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listClusterRole**
-> V1beta1ClusterRoleList listClusterRole(opts)
-
-
-
-list or watch objects of kind ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listClusterRole(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRoleList**](V1beta1ClusterRoleList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listClusterRoleBinding**
-> V1beta1ClusterRoleBindingList listClusterRoleBinding(opts)
-
-
-
-list or watch objects of kind ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listClusterRoleBinding(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRoleBindingList**](V1beta1ClusterRoleBindingList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedRole**
-> V1beta1RoleList listNamespacedRole(namespace, opts)
-
-
-
-list or watch objects of kind Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedRole(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1RoleList**](V1beta1RoleList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listNamespacedRoleBinding**
-> V1beta1RoleBindingList listNamespacedRoleBinding(namespace, opts)
-
-
-
-list or watch objects of kind RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedRoleBinding(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1RoleBindingList**](V1beta1RoleBindingList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listRoleBindingForAllNamespaces**
-> V1beta1RoleBindingList listRoleBindingForAllNamespaces(opts)
-
-
-
-list or watch objects of kind RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listRoleBindingForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1RoleBindingList**](V1beta1RoleBindingList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listRoleForAllNamespaces**
-> V1beta1RoleList listRoleForAllNamespaces(opts)
-
-
-
-list or watch objects of kind Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listRoleForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1RoleList**](V1beta1RoleList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchClusterRole**
-> V1beta1ClusterRole patchClusterRole(name, body, opts)
-
-
-
-partially update the specified ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the ClusterRole
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchClusterRole(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRole |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRole**](V1beta1ClusterRole.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchClusterRoleBinding**
-> V1beta1ClusterRoleBinding patchClusterRoleBinding(name, body, opts)
-
-
-
-partially update the specified ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the ClusterRoleBinding
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchClusterRoleBinding(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRoleBinding |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRoleBinding**](V1beta1ClusterRoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedRole**
-> V1beta1Role patchNamespacedRole(name, namespace, body, opts)
-
-
-
-partially update the specified Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the Role
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedRole(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Role |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Role**](V1beta1Role.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **patchNamespacedRoleBinding**
-> V1beta1RoleBinding patchNamespacedRoleBinding(name, namespace, body, opts)
-
-
-
-partially update the specified RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the RoleBinding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedRoleBinding(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the RoleBinding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1RoleBinding**](V1beta1RoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readClusterRole**
-> V1beta1ClusterRole readClusterRole(name, , opts)
-
-
-
-read the specified ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the ClusterRole
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readClusterRole(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRole |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRole**](V1beta1ClusterRole.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readClusterRoleBinding**
-> V1beta1ClusterRoleBinding readClusterRoleBinding(name, , opts)
-
-
-
-read the specified ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the ClusterRoleBinding
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readClusterRoleBinding(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRoleBinding |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRoleBinding**](V1beta1ClusterRoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedRole**
-> V1beta1Role readNamespacedRole(name, namespace, , opts)
-
-
-
-read the specified Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the Role
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedRole(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Role |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Role**](V1beta1Role.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedRoleBinding**
-> V1beta1RoleBinding readNamespacedRoleBinding(name, namespace, , opts)
-
-
-
-read the specified RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the RoleBinding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedRoleBinding(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the RoleBinding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1RoleBinding**](V1beta1RoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceClusterRole**
-> V1beta1ClusterRole replaceClusterRole(name, body, opts)
-
-
-
-replace the specified ClusterRole
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the ClusterRole
-
-var body = new KubernetesJsClient.V1beta1ClusterRole(); // V1beta1ClusterRole |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceClusterRole(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRole |
- **body** | [**V1beta1ClusterRole**](V1beta1ClusterRole.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRole**](V1beta1ClusterRole.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceClusterRoleBinding**
-> V1beta1ClusterRoleBinding replaceClusterRoleBinding(name, body, opts)
-
-
-
-replace the specified ClusterRoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the ClusterRoleBinding
-
-var body = new KubernetesJsClient.V1beta1ClusterRoleBinding(); // V1beta1ClusterRoleBinding |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceClusterRoleBinding(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the ClusterRoleBinding |
- **body** | [**V1beta1ClusterRoleBinding**](V1beta1ClusterRoleBinding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1ClusterRoleBinding**](V1beta1ClusterRoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedRole**
-> V1beta1Role replaceNamespacedRole(name, namespace, body, opts)
-
-
-
-replace the specified Role
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the Role
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1Role(); // V1beta1Role |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedRole(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the Role |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1Role**](V1beta1Role.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1Role**](V1beta1Role.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedRoleBinding**
-> V1beta1RoleBinding replaceNamespacedRoleBinding(name, namespace, body, opts)
-
-
-
-replace the specified RoleBinding
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.RbacAuthorization_v1beta1Api();
-
-var name = "name_example"; // String | name of the RoleBinding
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1beta1RoleBinding(); // V1beta1RoleBinding |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedRoleBinding(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the RoleBinding |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1beta1RoleBinding**](V1beta1RoleBinding.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1RoleBinding**](V1beta1RoleBinding.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/RuntimeRawExtension.md b/kubernetes/docs/RuntimeRawExtension.md
deleted file mode 100644
index ed8c2f639b..0000000000
--- a/kubernetes/docs/RuntimeRawExtension.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.RuntimeRawExtension
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**raw** | **String** | Raw is the underlying serialization of this object. |
-
-
diff --git a/kubernetes/docs/SettingsApi.md b/kubernetes/docs/SettingsApi.md
deleted file mode 100644
index dd853fde5a..0000000000
--- a/kubernetes/docs/SettingsApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.SettingsApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](SettingsApi.md#getAPIGroup) | **GET** /apis/settings.k8s.io/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.SettingsApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Settings_v1alpha1Api.md b/kubernetes/docs/Settings_v1alpha1Api.md
deleted file mode 100644
index f4d6646dc9..0000000000
--- a/kubernetes/docs/Settings_v1alpha1Api.md
+++ /dev/null
@@ -1,581 +0,0 @@
-# KubernetesJsClient.Settings_v1alpha1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createNamespacedPodPreset**](Settings_v1alpha1Api.md#createNamespacedPodPreset) | **POST** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets |
-[**deleteCollectionNamespacedPodPreset**](Settings_v1alpha1Api.md#deleteCollectionNamespacedPodPreset) | **DELETE** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets |
-[**deleteNamespacedPodPreset**](Settings_v1alpha1Api.md#deleteNamespacedPodPreset) | **DELETE** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} |
-[**getAPIResources**](Settings_v1alpha1Api.md#getAPIResources) | **GET** /apis/settings.k8s.io/v1alpha1/ |
-[**listNamespacedPodPreset**](Settings_v1alpha1Api.md#listNamespacedPodPreset) | **GET** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets |
-[**listPodPresetForAllNamespaces**](Settings_v1alpha1Api.md#listPodPresetForAllNamespaces) | **GET** /apis/settings.k8s.io/v1alpha1/podpresets |
-[**patchNamespacedPodPreset**](Settings_v1alpha1Api.md#patchNamespacedPodPreset) | **PATCH** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} |
-[**readNamespacedPodPreset**](Settings_v1alpha1Api.md#readNamespacedPodPreset) | **GET** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} |
-[**replaceNamespacedPodPreset**](Settings_v1alpha1Api.md#replaceNamespacedPodPreset) | **PUT** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} |
-
-
-
-# **createNamespacedPodPreset**
-> V1alpha1PodPreset createNamespacedPodPreset(namespacebody, opts)
-
-
-
-create a PodPreset
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1alpha1PodPreset(); // V1alpha1PodPreset |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createNamespacedPodPreset(namespacebody, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1alpha1PodPreset**](V1alpha1PodPreset.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1PodPreset**](V1alpha1PodPreset.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionNamespacedPodPreset**
-> V1Status deleteCollectionNamespacedPodPreset(namespace, opts)
-
-
-
-delete collection of PodPreset
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionNamespacedPodPreset(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteNamespacedPodPreset**
-> V1Status deleteNamespacedPodPreset(name, namespace, body, opts)
-
-
-
-delete a PodPreset
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var name = "name_example"; // String | name of the PodPreset
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteNamespacedPodPreset(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodPreset |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listNamespacedPodPreset**
-> V1alpha1PodPresetList listNamespacedPodPreset(namespace, opts)
-
-
-
-list or watch objects of kind PodPreset
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listNamespacedPodPreset(namespace, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1alpha1PodPresetList**](V1alpha1PodPresetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **listPodPresetForAllNamespaces**
-> V1alpha1PodPresetList listPodPresetForAllNamespaces(opts)
-
-
-
-list or watch objects of kind PodPreset
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var opts = {
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listPodPresetForAllNamespaces(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1alpha1PodPresetList**](V1alpha1PodPresetList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchNamespacedPodPreset**
-> V1alpha1PodPreset patchNamespacedPodPreset(name, namespace, body, opts)
-
-
-
-partially update the specified PodPreset
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var name = "name_example"; // String | name of the PodPreset
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchNamespacedPodPreset(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodPreset |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1PodPreset**](V1alpha1PodPreset.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readNamespacedPodPreset**
-> V1alpha1PodPreset readNamespacedPodPreset(name, namespace, , opts)
-
-
-
-read the specified PodPreset
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var name = "name_example"; // String | name of the PodPreset
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readNamespacedPodPreset(name, namespace, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodPreset |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1alpha1PodPreset**](V1alpha1PodPreset.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceNamespacedPodPreset**
-> V1alpha1PodPreset replaceNamespacedPodPreset(name, namespace, body, opts)
-
-
-
-replace the specified PodPreset
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Settings_v1alpha1Api();
-
-var name = "name_example"; // String | name of the PodPreset
-
-var namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects
-
-var body = new KubernetesJsClient.V1alpha1PodPreset(); // V1alpha1PodPreset |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceNamespacedPodPreset(name, namespace, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the PodPreset |
- **namespace** | **String**| object name and auth scope, such as for teams and projects |
- **body** | [**V1alpha1PodPreset**](V1alpha1PodPreset.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1alpha1PodPreset**](V1alpha1PodPreset.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/StorageApi.md b/kubernetes/docs/StorageApi.md
deleted file mode 100644
index 35b9e7df25..0000000000
--- a/kubernetes/docs/StorageApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.StorageApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getAPIGroup**](StorageApi.md#getAPIGroup) | **GET** /apis/storage.k8s.io/ |
-
-
-
-# **getAPIGroup**
-> V1APIGroup getAPIGroup()
-
-
-
-get information of a group
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.StorageApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIGroup(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIGroup**](V1APIGroup.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Storage_v1Api.md b/kubernetes/docs/Storage_v1Api.md
deleted file mode 100644
index 86c64340f0..0000000000
--- a/kubernetes/docs/Storage_v1Api.md
+++ /dev/null
@@ -1,495 +0,0 @@
-# KubernetesJsClient.Storage_v1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createStorageClass**](Storage_v1Api.md#createStorageClass) | **POST** /apis/storage.k8s.io/v1/storageclasses |
-[**deleteCollectionStorageClass**](Storage_v1Api.md#deleteCollectionStorageClass) | **DELETE** /apis/storage.k8s.io/v1/storageclasses |
-[**deleteStorageClass**](Storage_v1Api.md#deleteStorageClass) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} |
-[**getAPIResources**](Storage_v1Api.md#getAPIResources) | **GET** /apis/storage.k8s.io/v1/ |
-[**listStorageClass**](Storage_v1Api.md#listStorageClass) | **GET** /apis/storage.k8s.io/v1/storageclasses |
-[**patchStorageClass**](Storage_v1Api.md#patchStorageClass) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} |
-[**readStorageClass**](Storage_v1Api.md#readStorageClass) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} |
-[**replaceStorageClass**](Storage_v1Api.md#replaceStorageClass) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} |
-
-
-
-# **createStorageClass**
-> V1StorageClass createStorageClass(body, opts)
-
-
-
-create a StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1Api();
-
-var body = new KubernetesJsClient.V1StorageClass(); // V1StorageClass |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createStorageClass(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1StorageClass**](V1StorageClass.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1StorageClass**](V1StorageClass.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionStorageClass**
-> V1Status deleteCollectionStorageClass(opts)
-
-
-
-delete collection of StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionStorageClass(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteStorageClass**
-> V1Status deleteStorageClass(name, body, opts)
-
-
-
-delete a StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1Api();
-
-var name = "name_example"; // String | name of the StorageClass
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteStorageClass(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StorageClass |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listStorageClass**
-> V1StorageClassList listStorageClass(opts)
-
-
-
-list or watch objects of kind StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listStorageClass(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1StorageClassList**](V1StorageClassList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchStorageClass**
-> V1StorageClass patchStorageClass(name, body, opts)
-
-
-
-partially update the specified StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1Api();
-
-var name = "name_example"; // String | name of the StorageClass
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchStorageClass(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StorageClass |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1StorageClass**](V1StorageClass.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readStorageClass**
-> V1StorageClass readStorageClass(name, , opts)
-
-
-
-read the specified StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1Api();
-
-var name = "name_example"; // String | name of the StorageClass
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readStorageClass(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StorageClass |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1StorageClass**](V1StorageClass.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceStorageClass**
-> V1StorageClass replaceStorageClass(name, body, opts)
-
-
-
-replace the specified StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1Api();
-
-var name = "name_example"; // String | name of the StorageClass
-
-var body = new KubernetesJsClient.V1StorageClass(); // V1StorageClass |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceStorageClass(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StorageClass |
- **body** | [**V1StorageClass**](V1StorageClass.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1StorageClass**](V1StorageClass.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/Storage_v1beta1Api.md b/kubernetes/docs/Storage_v1beta1Api.md
deleted file mode 100644
index 60fe2f72cb..0000000000
--- a/kubernetes/docs/Storage_v1beta1Api.md
+++ /dev/null
@@ -1,495 +0,0 @@
-# KubernetesJsClient.Storage_v1beta1Api
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createStorageClass**](Storage_v1beta1Api.md#createStorageClass) | **POST** /apis/storage.k8s.io/v1beta1/storageclasses |
-[**deleteCollectionStorageClass**](Storage_v1beta1Api.md#deleteCollectionStorageClass) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses |
-[**deleteStorageClass**](Storage_v1beta1Api.md#deleteStorageClass) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses/{name} |
-[**getAPIResources**](Storage_v1beta1Api.md#getAPIResources) | **GET** /apis/storage.k8s.io/v1beta1/ |
-[**listStorageClass**](Storage_v1beta1Api.md#listStorageClass) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses |
-[**patchStorageClass**](Storage_v1beta1Api.md#patchStorageClass) | **PATCH** /apis/storage.k8s.io/v1beta1/storageclasses/{name} |
-[**readStorageClass**](Storage_v1beta1Api.md#readStorageClass) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses/{name} |
-[**replaceStorageClass**](Storage_v1beta1Api.md#replaceStorageClass) | **PUT** /apis/storage.k8s.io/v1beta1/storageclasses/{name} |
-
-
-
-# **createStorageClass**
-> V1beta1StorageClass createStorageClass(body, opts)
-
-
-
-create a StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1beta1Api();
-
-var body = new KubernetesJsClient.V1beta1StorageClass(); // V1beta1StorageClass |
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.createStorageClass(body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **body** | [**V1beta1StorageClass**](V1beta1StorageClass.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StorageClass**](V1beta1StorageClass.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteCollectionStorageClass**
-> V1Status deleteCollectionStorageClass(opts)
-
-
-
-delete collection of StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteCollectionStorageClass(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **deleteStorageClass**
-> V1Status deleteStorageClass(name, body, opts)
-
-
-
-delete a StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1beta1Api();
-
-var name = "name_example"; // String | name of the StorageClass
-
-var body = new KubernetesJsClient.V1DeleteOptions(); // V1DeleteOptions |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'gracePeriodSeconds': 56, // Number | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- 'orphanDependents': true, // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- 'propagationPolicy': "propagationPolicy_example" // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.deleteStorageClass(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StorageClass |
- **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **gracePeriodSeconds** | **Number**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
- **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
- **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-### Return type
-
-[**V1Status**](V1Status.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **getAPIResources**
-> V1APIResourceList getAPIResources()
-
-
-
-get available resources
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1beta1Api();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getAPIResources(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**V1APIResourceList**](V1APIResourceList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **listStorageClass**
-> V1beta1StorageClassList listStorageClass(opts)
-
-
-
-list or watch objects of kind StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1beta1Api();
-
-var opts = {
- 'pretty': "pretty_example", // String | If 'true', then the output is pretty printed.
- 'fieldSelector': "fieldSelector_example", // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
- 'labelSelector': "labelSelector_example", // String | A selector to restrict the list of returned objects by their labels. Defaults to everything.
- 'resourceVersion': "resourceVersion_example", // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
- 'timeoutSeconds': 56, // Number | Timeout for the list/watch call.
- 'watch': true // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.listStorageClass(opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional]
- **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional]
- **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
- **timeoutSeconds** | **Number**| Timeout for the list/watch call. | [optional]
- **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional]
-
-### Return type
-
-[**V1beta1StorageClassList**](V1beta1StorageClassList.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch
-
-
-# **patchStorageClass**
-> V1beta1StorageClass patchStorageClass(name, body, opts)
-
-
-
-partially update the specified StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1beta1Api();
-
-var name = "name_example"; // String | name of the StorageClass
-
-var body = null; // Object |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.patchStorageClass(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StorageClass |
- **body** | **Object**| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StorageClass**](V1beta1StorageClass.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **readStorageClass**
-> V1beta1StorageClass readStorageClass(name, , opts)
-
-
-
-read the specified StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1beta1Api();
-
-var name = "name_example"; // String | name of the StorageClass
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
- 'exact': true, // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
- '_export': true // Boolean | Should this value be exported. Export strips fields that a user can not specify.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.readStorageClass(name, , opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StorageClass |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
- **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional]
- **_export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional]
-
-### Return type
-
-[**V1beta1StorageClass**](V1beta1StorageClass.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
-
-# **replaceStorageClass**
-> V1beta1StorageClass replaceStorageClass(name, body, opts)
-
-
-
-replace the specified StorageClass
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.Storage_v1beta1Api();
-
-var name = "name_example"; // String | name of the StorageClass
-
-var body = new KubernetesJsClient.V1beta1StorageClass(); // V1beta1StorageClass |
-
-var opts = {
- 'pretty': "pretty_example" // String | If 'true', then the output is pretty printed.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.replaceStorageClass(name, body, opts, callback);
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **name** | **String**| name of the StorageClass |
- **body** | [**V1beta1StorageClass**](V1beta1StorageClass.md)| |
- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional]
-
-### Return type
-
-[**V1beta1StorageClass**](V1beta1StorageClass.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: */*
- - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
-
diff --git a/kubernetes/docs/V1APIGroup.md b/kubernetes/docs/V1APIGroup.md
deleted file mode 100644
index 1bbfda9937..0000000000
--- a/kubernetes/docs/V1APIGroup.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1APIGroup
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**name** | **String** | name is the name of the group. |
-**preferredVersion** | [**V1GroupVersionForDiscovery**](V1GroupVersionForDiscovery.md) | preferredVersion is the version preferred by the API server, which probably is the storage version. | [optional]
-**serverAddressByClientCIDRs** | [**[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of kubernetes.client CIDR to server address that is serving this group. This is to help kubernetes.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes.client IP. |
-**versions** | [**[V1GroupVersionForDiscovery]**](V1GroupVersionForDiscovery.md) | versions are the versions supported in this group. |
-
-
diff --git a/kubernetes/docs/V1APIGroupList.md b/kubernetes/docs/V1APIGroupList.md
deleted file mode 100644
index 556fa82e7c..0000000000
--- a/kubernetes/docs/V1APIGroupList.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1APIGroupList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**groups** | [**[V1APIGroup]**](V1APIGroup.md) | groups is a list of APIGroup. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1APIResource.md b/kubernetes/docs/V1APIResource.md
deleted file mode 100644
index fc53d81807..0000000000
--- a/kubernetes/docs/V1APIResource.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1APIResource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**kind** | **String** | kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') |
-**name** | **String** | name is the name of the resource. |
-**namespaced** | **Boolean** | namespaced indicates if a resource is namespaced or not. |
-**shortNames** | **[String]** | shortNames is a list of suggested short names of the resource. | [optional]
-**verbs** | **[String]** | verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) |
-
-
diff --git a/kubernetes/docs/V1APIResourceList.md b/kubernetes/docs/V1APIResourceList.md
deleted file mode 100644
index 40fc9f1602..0000000000
--- a/kubernetes/docs/V1APIResourceList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1APIResourceList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**groupVersion** | **String** | groupVersion is the group and version this APIResourceList is for. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**resources** | [**[V1APIResource]**](V1APIResource.md) | resources contains the name of the resources and if they are namespaced. |
-
-
diff --git a/kubernetes/docs/V1APIVersions.md b/kubernetes/docs/V1APIVersions.md
deleted file mode 100644
index b8b81e1095..0000000000
--- a/kubernetes/docs/V1APIVersions.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1APIVersions
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**serverAddressByClientCIDRs** | [**[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of kubernetes.client CIDR to server address that is serving this group. This is to help kubernetes.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes.client IP. |
-**versions** | **[String]** | versions are the api versions that are available. |
-
-
diff --git a/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md b/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md
deleted file mode 100644
index 025333cad2..0000000000
--- a/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1AWSElasticBlockStoreVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional]
-**partition** | **Number** | The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). | [optional]
-**readOnly** | **Boolean** | Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional]
-**volumeID** | **String** | Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore |
-
-
diff --git a/kubernetes/docs/V1Affinity.md b/kubernetes/docs/V1Affinity.md
deleted file mode 100644
index ca90ddd5ac..0000000000
--- a/kubernetes/docs/V1Affinity.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1Affinity
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**nodeAffinity** | [**V1NodeAffinity**](V1NodeAffinity.md) | Describes node affinity scheduling rules for the pod. | [optional]
-**podAffinity** | [**V1PodAffinity**](V1PodAffinity.md) | Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). | [optional]
-**podAntiAffinity** | [**V1PodAntiAffinity**](V1PodAntiAffinity.md) | Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). | [optional]
-
-
diff --git a/kubernetes/docs/V1AttachedVolume.md b/kubernetes/docs/V1AttachedVolume.md
deleted file mode 100644
index dd6db2956f..0000000000
--- a/kubernetes/docs/V1AttachedVolume.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1AttachedVolume
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**devicePath** | **String** | DevicePath represents the device path where the volume should be available |
-**name** | **String** | Name of the attached volume |
-
-
diff --git a/kubernetes/docs/V1AzureDiskVolumeSource.md b/kubernetes/docs/V1AzureDiskVolumeSource.md
deleted file mode 100644
index b3eccd3ed2..0000000000
--- a/kubernetes/docs/V1AzureDiskVolumeSource.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1AzureDiskVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**cachingMode** | **String** | Host Caching mode: None, Read Only, Read Write. | [optional]
-**diskName** | **String** | The Name of the data disk in the blob storage |
-**diskURI** | **String** | The URI the data disk in the blob storage |
-**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional]
-**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
-
-
diff --git a/kubernetes/docs/V1AzureFileVolumeSource.md b/kubernetes/docs/V1AzureFileVolumeSource.md
deleted file mode 100644
index b9cf59e462..0000000000
--- a/kubernetes/docs/V1AzureFileVolumeSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1AzureFileVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
-**secretName** | **String** | the name of secret that contains Azure Storage Account Name and Key |
-**shareName** | **String** | Share Name |
-
-
diff --git a/kubernetes/docs/V1Binding.md b/kubernetes/docs/V1Binding.md
deleted file mode 100644
index 632dd7003d..0000000000
--- a/kubernetes/docs/V1Binding.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1Binding
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**target** | [**V1ObjectReference**](V1ObjectReference.md) | The target object that you want to bind to the standard object. |
-
-
diff --git a/kubernetes/docs/V1Capabilities.md b/kubernetes/docs/V1Capabilities.md
deleted file mode 100644
index dd353b7bb2..0000000000
--- a/kubernetes/docs/V1Capabilities.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1Capabilities
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**add** | **[String]** | Added capabilities | [optional]
-**drop** | **[String]** | Removed capabilities | [optional]
-
-
diff --git a/kubernetes/docs/V1CephFSVolumeSource.md b/kubernetes/docs/V1CephFSVolumeSource.md
deleted file mode 100644
index ba621d90c2..0000000000
--- a/kubernetes/docs/V1CephFSVolumeSource.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1CephFSVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**monitors** | **[String]** | Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it |
-**path** | **String** | Optional: Used as the mounted root, rather than the full Ceph tree, default is / | [optional]
-**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional]
-**secretFile** | **String** | Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional]
-**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional]
-**user** | **String** | Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional]
-
-
diff --git a/kubernetes/docs/V1CinderVolumeSource.md b/kubernetes/docs/V1CinderVolumeSource.md
deleted file mode 100644
index fcb5b3467a..0000000000
--- a/kubernetes/docs/V1CinderVolumeSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1CinderVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional]
-**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional]
-**volumeID** | **String** | volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md |
-
-
diff --git a/kubernetes/docs/V1ComponentCondition.md b/kubernetes/docs/V1ComponentCondition.md
deleted file mode 100644
index fb609401b7..0000000000
--- a/kubernetes/docs/V1ComponentCondition.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ComponentCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**error** | **String** | Condition error code for a component. For example, a health check error code. | [optional]
-**message** | **String** | Message about the condition for a component. For example, information about a health check. | [optional]
-**status** | **String** | Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". |
-**type** | **String** | Type of condition for a component. Valid value: \"Healthy\" |
-
-
diff --git a/kubernetes/docs/V1ComponentStatus.md b/kubernetes/docs/V1ComponentStatus.md
deleted file mode 100644
index 98e6d4662b..0000000000
--- a/kubernetes/docs/V1ComponentStatus.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ComponentStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**conditions** | [**[V1ComponentCondition]**](V1ComponentCondition.md) | List of component conditions observed | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1ComponentStatusList.md b/kubernetes/docs/V1ComponentStatusList.md
deleted file mode 100644
index 5d337fe2ee..0000000000
--- a/kubernetes/docs/V1ComponentStatusList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ComponentStatusList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1ComponentStatus]**](V1ComponentStatus.md) | List of ComponentStatus objects. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1ConfigMap.md b/kubernetes/docs/V1ConfigMap.md
deleted file mode 100644
index e9907a8420..0000000000
--- a/kubernetes/docs/V1ConfigMap.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ConfigMap
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**data** | **{String: String}** | Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot. | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1ConfigMapEnvSource.md b/kubernetes/docs/V1ConfigMapEnvSource.md
deleted file mode 100644
index 4cde8d30d5..0000000000
--- a/kubernetes/docs/V1ConfigMapEnvSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ConfigMapEnvSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**optional** | **Boolean** | Specify whether the ConfigMap must be defined | [optional]
-
-
diff --git a/kubernetes/docs/V1ConfigMapKeySelector.md b/kubernetes/docs/V1ConfigMapKeySelector.md
deleted file mode 100644
index 8a37ba0d37..0000000000
--- a/kubernetes/docs/V1ConfigMapKeySelector.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1ConfigMapKeySelector
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**key** | **String** | The key to select. |
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**optional** | **Boolean** | Specify whether the ConfigMap or it's key must be defined | [optional]
-
-
diff --git a/kubernetes/docs/V1ConfigMapList.md b/kubernetes/docs/V1ConfigMapList.md
deleted file mode 100644
index 5c7c895a10..0000000000
--- a/kubernetes/docs/V1ConfigMapList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ConfigMapList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1ConfigMap]**](V1ConfigMap.md) | Items is the list of ConfigMaps. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1ConfigMapProjection.md b/kubernetes/docs/V1ConfigMapProjection.md
deleted file mode 100644
index d79a5eed89..0000000000
--- a/kubernetes/docs/V1ConfigMapProjection.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1ConfigMapProjection
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**items** | [**[V1KeyToPath]**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional]
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**optional** | **Boolean** | Specify whether the ConfigMap or it's keys must be defined | [optional]
-
-
diff --git a/kubernetes/docs/V1ConfigMapVolumeSource.md b/kubernetes/docs/V1ConfigMapVolumeSource.md
deleted file mode 100644
index dfda3d2c2f..0000000000
--- a/kubernetes/docs/V1ConfigMapVolumeSource.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ConfigMapVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**defaultMode** | **Number** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional]
-**items** | [**[V1KeyToPath]**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional]
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**optional** | **Boolean** | Specify whether the ConfigMap or it's keys must be defined | [optional]
-
-
diff --git a/kubernetes/docs/V1Container.md b/kubernetes/docs/V1Container.md
deleted file mode 100644
index 571922e191..0000000000
--- a/kubernetes/docs/V1Container.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# KubernetesJsClient.V1Container
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**args** | **[String]** | Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands | [optional]
-**command** | **[String]** | Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands | [optional]
-**env** | [**[V1EnvVar]**](V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional]
-**envFrom** | [**[V1EnvFromSource]**](V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional]
-**image** | **String** | Docker image name. More info: http://kubernetes.io/docs/user-guide/images | [optional]
-**imagePullPolicy** | **String** | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images | [optional]
-**lifecycle** | [**V1Lifecycle**](V1Lifecycle.md) | Actions that the management system should take in response to container lifecycle events. Cannot be updated. | [optional]
-**livenessProbe** | [**V1Probe**](V1Probe.md) | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional]
-**name** | **String** | Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. |
-**ports** | [**[V1ContainerPort]**](V1ContainerPort.md) | List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. | [optional]
-**readinessProbe** | [**V1Probe**](V1Probe.md) | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional]
-**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources | [optional]
-**securityContext** | [**V1SecurityContext**](V1SecurityContext.md) | Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md | [optional]
-**stdin** | **Boolean** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional]
-**stdinOnce** | **Boolean** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first kubernetes.client attaches to stdin, and then remains open and accepts data until the kubernetes.client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional]
-**terminationMessagePath** | **String** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | [optional]
-**terminationMessagePolicy** | **String** | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | [optional]
-**tty** | **Boolean** | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | [optional]
-**volumeMounts** | [**[V1VolumeMount]**](V1VolumeMount.md) | Pod volumes to mount into the container's filesystem. Cannot be updated. | [optional]
-**workingDir** | **String** | Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. | [optional]
-
-
diff --git a/kubernetes/docs/V1ContainerImage.md b/kubernetes/docs/V1ContainerImage.md
deleted file mode 100644
index 3050d9e802..0000000000
--- a/kubernetes/docs/V1ContainerImage.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ContainerImage
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**names** | **[String]** | Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] |
-**sizeBytes** | **Number** | The size of the image in bytes. | [optional]
-
-
diff --git a/kubernetes/docs/V1ContainerPort.md b/kubernetes/docs/V1ContainerPort.md
deleted file mode 100644
index 4aeab20bdb..0000000000
--- a/kubernetes/docs/V1ContainerPort.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1ContainerPort
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**containerPort** | **Number** | Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. |
-**hostIP** | **String** | What host IP to bind the external port to. | [optional]
-**hostPort** | **Number** | Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. | [optional]
-**name** | **String** | If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. | [optional]
-**protocol** | **String** | Protocol for port. Must be UDP or TCP. Defaults to \"TCP\". | [optional]
-
-
diff --git a/kubernetes/docs/V1ContainerState.md b/kubernetes/docs/V1ContainerState.md
deleted file mode 100644
index facb0b70e8..0000000000
--- a/kubernetes/docs/V1ContainerState.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1ContainerState
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**running** | [**V1ContainerStateRunning**](V1ContainerStateRunning.md) | Details about a running container | [optional]
-**terminated** | [**V1ContainerStateTerminated**](V1ContainerStateTerminated.md) | Details about a terminated container | [optional]
-**waiting** | [**V1ContainerStateWaiting**](V1ContainerStateWaiting.md) | Details about a waiting container | [optional]
-
-
diff --git a/kubernetes/docs/V1ContainerStateRunning.md b/kubernetes/docs/V1ContainerStateRunning.md
deleted file mode 100644
index fb15eb367c..0000000000
--- a/kubernetes/docs/V1ContainerStateRunning.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1ContainerStateRunning
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**startedAt** | **Date** | Time at which the container was last (re-)started | [optional]
-
-
diff --git a/kubernetes/docs/V1ContainerStateTerminated.md b/kubernetes/docs/V1ContainerStateTerminated.md
deleted file mode 100644
index 86ea99e426..0000000000
--- a/kubernetes/docs/V1ContainerStateTerminated.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# KubernetesJsClient.V1ContainerStateTerminated
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**containerID** | **String** | Container's ID in the format 'docker://<container_id>' | [optional]
-**exitCode** | **Number** | Exit status from the last termination of the container |
-**finishedAt** | **Date** | Time at which the container last terminated | [optional]
-**message** | **String** | Message regarding the last termination of the container | [optional]
-**reason** | **String** | (brief) reason from the last termination of the container | [optional]
-**signal** | **Number** | Signal from the last termination of the container | [optional]
-**startedAt** | **Date** | Time at which previous execution of the container started | [optional]
-
-
diff --git a/kubernetes/docs/V1ContainerStateWaiting.md b/kubernetes/docs/V1ContainerStateWaiting.md
deleted file mode 100644
index e5614852bb..0000000000
--- a/kubernetes/docs/V1ContainerStateWaiting.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ContainerStateWaiting
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**message** | **String** | Message regarding why the container is not yet running. | [optional]
-**reason** | **String** | (brief) reason the container is not yet running. | [optional]
-
-
diff --git a/kubernetes/docs/V1ContainerStatus.md b/kubernetes/docs/V1ContainerStatus.md
deleted file mode 100644
index 53ea732ce5..0000000000
--- a/kubernetes/docs/V1ContainerStatus.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# KubernetesJsClient.V1ContainerStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**containerID** | **String** | Container's ID in the format 'docker://<container_id>'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information | [optional]
-**image** | **String** | The image the container is running. More info: http://kubernetes.io/docs/user-guide/images |
-**imageID** | **String** | ImageID of the container's image. |
-**lastState** | [**V1ContainerState**](V1ContainerState.md) | Details about the container's last termination condition. | [optional]
-**name** | **String** | This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated. |
-**ready** | **Boolean** | Specifies whether the container has passed its readiness probe. |
-**restartCount** | **Number** | The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC. |
-**state** | [**V1ContainerState**](V1ContainerState.md) | Details about the container's current condition. | [optional]
-
-
diff --git a/kubernetes/docs/V1CrossVersionObjectReference.md b/kubernetes/docs/V1CrossVersionObjectReference.md
deleted file mode 100644
index b1edcb577a..0000000000
--- a/kubernetes/docs/V1CrossVersionObjectReference.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1CrossVersionObjectReference
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | API version of the referent | [optional]
-**kind** | **String** | Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\" |
-**name** | **String** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names |
-
-
diff --git a/kubernetes/docs/V1DaemonEndpoint.md b/kubernetes/docs/V1DaemonEndpoint.md
deleted file mode 100644
index b992ccbcf5..0000000000
--- a/kubernetes/docs/V1DaemonEndpoint.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1DaemonEndpoint
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**port** | **Number** | Port number of the given endpoint. |
-
-
diff --git a/kubernetes/docs/V1DeleteOptions.md b/kubernetes/docs/V1DeleteOptions.md
deleted file mode 100644
index 726c2f5ac2..0000000000
--- a/kubernetes/docs/V1DeleteOptions.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1DeleteOptions
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**gracePeriodSeconds** | **Number** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**orphanDependents** | **Boolean** | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
-**preconditions** | [**V1Preconditions**](V1Preconditions.md) | Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. | [optional]
-**propagationPolicy** | **String** | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
-
-
diff --git a/kubernetes/docs/V1DownwardAPIProjection.md b/kubernetes/docs/V1DownwardAPIProjection.md
deleted file mode 100644
index 1aeabbbb74..0000000000
--- a/kubernetes/docs/V1DownwardAPIProjection.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1DownwardAPIProjection
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**items** | [**[V1DownwardAPIVolumeFile]**](V1DownwardAPIVolumeFile.md) | Items is a list of DownwardAPIVolume file | [optional]
-
-
diff --git a/kubernetes/docs/V1DownwardAPIVolumeFile.md b/kubernetes/docs/V1DownwardAPIVolumeFile.md
deleted file mode 100644
index 28a5d52c6b..0000000000
--- a/kubernetes/docs/V1DownwardAPIVolumeFile.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1DownwardAPIVolumeFile
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fieldRef** | [**V1ObjectFieldSelector**](V1ObjectFieldSelector.md) | Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. | [optional]
-**mode** | **Number** | Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional]
-**path** | **String** | Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' |
-**resourceFieldRef** | [**V1ResourceFieldSelector**](V1ResourceFieldSelector.md) | Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. | [optional]
-
-
diff --git a/kubernetes/docs/V1DownwardAPIVolumeSource.md b/kubernetes/docs/V1DownwardAPIVolumeSource.md
deleted file mode 100644
index 253dfe157f..0000000000
--- a/kubernetes/docs/V1DownwardAPIVolumeSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1DownwardAPIVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**defaultMode** | **Number** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional]
-**items** | [**[V1DownwardAPIVolumeFile]**](V1DownwardAPIVolumeFile.md) | Items is a list of downward API volume file | [optional]
-
-
diff --git a/kubernetes/docs/V1EmptyDirVolumeSource.md b/kubernetes/docs/V1EmptyDirVolumeSource.md
deleted file mode 100644
index 0b79e51466..0000000000
--- a/kubernetes/docs/V1EmptyDirVolumeSource.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1EmptyDirVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**medium** | **String** | What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | [optional]
-
-
diff --git a/kubernetes/docs/V1EndpointAddress.md b/kubernetes/docs/V1EndpointAddress.md
deleted file mode 100644
index b34b19d956..0000000000
--- a/kubernetes/docs/V1EndpointAddress.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1EndpointAddress
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**hostname** | **String** | The Hostname of this endpoint | [optional]
-**ip** | **String** | The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. |
-**nodeName** | **String** | Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. | [optional]
-**targetRef** | [**V1ObjectReference**](V1ObjectReference.md) | Reference to object providing the endpoint. | [optional]
-
-
diff --git a/kubernetes/docs/V1EndpointPort.md b/kubernetes/docs/V1EndpointPort.md
deleted file mode 100644
index 553ea601b9..0000000000
--- a/kubernetes/docs/V1EndpointPort.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1EndpointPort
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined. | [optional]
-**port** | **Number** | The port number of the endpoint. |
-**protocol** | **String** | The IP protocol for this port. Must be UDP or TCP. Default is TCP. | [optional]
-
-
diff --git a/kubernetes/docs/V1EndpointSubset.md b/kubernetes/docs/V1EndpointSubset.md
deleted file mode 100644
index 684738905e..0000000000
--- a/kubernetes/docs/V1EndpointSubset.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1EndpointSubset
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**addresses** | [**[V1EndpointAddress]**](V1EndpointAddress.md) | IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and kubernetes.clients to utilize. | [optional]
-**notReadyAddresses** | [**[V1EndpointAddress]**](V1EndpointAddress.md) | IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. | [optional]
-**ports** | [**[V1EndpointPort]**](V1EndpointPort.md) | Port numbers available on the related IP addresses. | [optional]
-
-
diff --git a/kubernetes/docs/V1Endpoints.md b/kubernetes/docs/V1Endpoints.md
deleted file mode 100644
index 896fc31f72..0000000000
--- a/kubernetes/docs/V1Endpoints.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1Endpoints
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**subsets** | [**[V1EndpointSubset]**](V1EndpointSubset.md) | The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. |
-
-
diff --git a/kubernetes/docs/V1EndpointsList.md b/kubernetes/docs/V1EndpointsList.md
deleted file mode 100644
index 4c030ae53b..0000000000
--- a/kubernetes/docs/V1EndpointsList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1EndpointsList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1Endpoints]**](V1Endpoints.md) | List of endpoints. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1EnvFromSource.md b/kubernetes/docs/V1EnvFromSource.md
deleted file mode 100644
index cd48494f72..0000000000
--- a/kubernetes/docs/V1EnvFromSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1EnvFromSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**configMapRef** | [**V1ConfigMapEnvSource**](V1ConfigMapEnvSource.md) | The ConfigMap to select from | [optional]
-**prefix** | **String** | An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. | [optional]
-**secretRef** | [**V1SecretEnvSource**](V1SecretEnvSource.md) | The Secret to select from | [optional]
-
-
diff --git a/kubernetes/docs/V1EnvVar.md b/kubernetes/docs/V1EnvVar.md
deleted file mode 100644
index e6e98e0613..0000000000
--- a/kubernetes/docs/V1EnvVar.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1EnvVar
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | Name of the environment variable. Must be a C_IDENTIFIER. |
-**value** | **String** | Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\". | [optional]
-**valueFrom** | [**V1EnvVarSource**](V1EnvVarSource.md) | Source for the environment variable's value. Cannot be used if value is not empty. | [optional]
-
-
diff --git a/kubernetes/docs/V1EnvVarSource.md b/kubernetes/docs/V1EnvVarSource.md
deleted file mode 100644
index b8cba8c9b2..0000000000
--- a/kubernetes/docs/V1EnvVarSource.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1EnvVarSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**configMapKeyRef** | [**V1ConfigMapKeySelector**](V1ConfigMapKeySelector.md) | Selects a key of a ConfigMap. | [optional]
-**fieldRef** | [**V1ObjectFieldSelector**](V1ObjectFieldSelector.md) | Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP. | [optional]
-**resourceFieldRef** | [**V1ResourceFieldSelector**](V1ResourceFieldSelector.md) | Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. | [optional]
-**secretKeyRef** | [**V1SecretKeySelector**](V1SecretKeySelector.md) | Selects a key of a secret in the pod's namespace | [optional]
-
-
diff --git a/kubernetes/docs/V1Event.md b/kubernetes/docs/V1Event.md
deleted file mode 100644
index 88986fe12e..0000000000
--- a/kubernetes/docs/V1Event.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# KubernetesJsClient.V1Event
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**count** | **Number** | The number of times this event has occurred. | [optional]
-**firstTimestamp** | **Date** | The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) | [optional]
-**involvedObject** | [**V1ObjectReference**](V1ObjectReference.md) | The object that this event is about. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**lastTimestamp** | **Date** | The time at which the most recent occurrence of this event was recorded. | [optional]
-**message** | **String** | A human-readable description of the status of this operation. | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata |
-**reason** | **String** | This should be a short, machine understandable string that gives the reason for the transition into the object's current status. | [optional]
-**source** | [**V1EventSource**](V1EventSource.md) | The component reporting this event. Should be a short machine understandable string. | [optional]
-**type** | **String** | Type of this event (Normal, Warning), new types could be added in the future | [optional]
-
-
diff --git a/kubernetes/docs/V1EventList.md b/kubernetes/docs/V1EventList.md
deleted file mode 100644
index fa5a7c9131..0000000000
--- a/kubernetes/docs/V1EventList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1EventList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1Event]**](V1Event.md) | List of events |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1EventSource.md b/kubernetes/docs/V1EventSource.md
deleted file mode 100644
index 662cf253ff..0000000000
--- a/kubernetes/docs/V1EventSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1EventSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**component** | **String** | Component from which the event is generated. | [optional]
-**host** | **String** | Node name on which the event is generated. | [optional]
-
-
diff --git a/kubernetes/docs/V1ExecAction.md b/kubernetes/docs/V1ExecAction.md
deleted file mode 100644
index 45b4dfac02..0000000000
--- a/kubernetes/docs/V1ExecAction.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1ExecAction
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**command** | **[String]** | Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. | [optional]
-
-
diff --git a/kubernetes/docs/V1FCVolumeSource.md b/kubernetes/docs/V1FCVolumeSource.md
deleted file mode 100644
index 7bc94882ef..0000000000
--- a/kubernetes/docs/V1FCVolumeSource.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1FCVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional]
-**lun** | **Number** | Required: FC target lun number |
-**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
-**targetWWNs** | **[String]** | Required: FC target worldwide names (WWNs) |
-
-
diff --git a/kubernetes/docs/V1FlexVolumeSource.md b/kubernetes/docs/V1FlexVolumeSource.md
deleted file mode 100644
index 6f6c628155..0000000000
--- a/kubernetes/docs/V1FlexVolumeSource.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1FlexVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**driver** | **String** | Driver is the name of the driver to use for this volume. |
-**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. | [optional]
-**options** | **{String: String}** | Optional: Extra command options if any. | [optional]
-**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
-**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. | [optional]
-
-
diff --git a/kubernetes/docs/V1FlockerVolumeSource.md b/kubernetes/docs/V1FlockerVolumeSource.md
deleted file mode 100644
index c691e98af6..0000000000
--- a/kubernetes/docs/V1FlockerVolumeSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1FlockerVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**datasetName** | **String** | Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated | [optional]
-**datasetUUID** | **String** | UUID of the dataset. This is unique identifier of a Flocker dataset | [optional]
-
-
diff --git a/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md b/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md
deleted file mode 100644
index fda68e1a42..0000000000
--- a/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1GCEPersistentDiskVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional]
-**partition** | **Number** | The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional]
-**pdName** | **String** | Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk |
-**readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional]
-
-
diff --git a/kubernetes/docs/V1GitRepoVolumeSource.md b/kubernetes/docs/V1GitRepoVolumeSource.md
deleted file mode 100644
index 63cdbde177..0000000000
--- a/kubernetes/docs/V1GitRepoVolumeSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1GitRepoVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**directory** | **String** | Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. | [optional]
-**repository** | **String** | Repository URL |
-**revision** | **String** | Commit hash for the specified revision. | [optional]
-
-
diff --git a/kubernetes/docs/V1GlusterfsVolumeSource.md b/kubernetes/docs/V1GlusterfsVolumeSource.md
deleted file mode 100644
index d525574575..0000000000
--- a/kubernetes/docs/V1GlusterfsVolumeSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1GlusterfsVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**endpoints** | **String** | EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod |
-**path** | **String** | Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod |
-**readOnly** | **Boolean** | ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [optional]
-
-
diff --git a/kubernetes/docs/V1GroupVersionForDiscovery.md b/kubernetes/docs/V1GroupVersionForDiscovery.md
deleted file mode 100644
index 6bdc160464..0000000000
--- a/kubernetes/docs/V1GroupVersionForDiscovery.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1GroupVersionForDiscovery
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**groupVersion** | **String** | groupVersion specifies the API group and version in the form \"group/version\" |
-**version** | **String** | version specifies the version in the form of \"version\". This is to save the kubernetes.clients the trouble of splitting the GroupVersion. |
-
-
diff --git a/kubernetes/docs/V1HTTPGetAction.md b/kubernetes/docs/V1HTTPGetAction.md
deleted file mode 100644
index b67eccd014..0000000000
--- a/kubernetes/docs/V1HTTPGetAction.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1HTTPGetAction
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**host** | **String** | Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead. | [optional]
-**httpHeaders** | [**[V1HTTPHeader]**](V1HTTPHeader.md) | Custom headers to set in the request. HTTP allows repeated headers. | [optional]
-**path** | **String** | Path to access on the HTTP server. | [optional]
-**port** | **String** | Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. |
-**scheme** | **String** | Scheme to use for connecting to the host. Defaults to HTTP. | [optional]
-
-
diff --git a/kubernetes/docs/V1HTTPHeader.md b/kubernetes/docs/V1HTTPHeader.md
deleted file mode 100644
index 79704062fb..0000000000
--- a/kubernetes/docs/V1HTTPHeader.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1HTTPHeader
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | The header field name |
-**value** | **String** | The header field value |
-
-
diff --git a/kubernetes/docs/V1Handler.md b/kubernetes/docs/V1Handler.md
deleted file mode 100644
index c02f1de04a..0000000000
--- a/kubernetes/docs/V1Handler.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1Handler
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**exec** | [**V1ExecAction**](V1ExecAction.md) | One and only one of the following should be specified. Exec specifies the action to take. | [optional]
-**httpGet** | [**V1HTTPGetAction**](V1HTTPGetAction.md) | HTTPGet specifies the http request to perform. | [optional]
-**tcpSocket** | [**V1TCPSocketAction**](V1TCPSocketAction.md) | TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported | [optional]
-
-
diff --git a/kubernetes/docs/V1HorizontalPodAutoscaler.md b/kubernetes/docs/V1HorizontalPodAutoscaler.md
deleted file mode 100644
index c4d7755853..0000000000
--- a/kubernetes/docs/V1HorizontalPodAutoscaler.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1HorizontalPodAutoscaler
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1HorizontalPodAutoscalerSpec**](V1HorizontalPodAutoscalerSpec.md) | behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional]
-**status** | [**V1HorizontalPodAutoscalerStatus**](V1HorizontalPodAutoscalerStatus.md) | current information about the autoscaler. | [optional]
-
-
diff --git a/kubernetes/docs/V1HorizontalPodAutoscalerList.md b/kubernetes/docs/V1HorizontalPodAutoscalerList.md
deleted file mode 100644
index 6a9339ea94..0000000000
--- a/kubernetes/docs/V1HorizontalPodAutoscalerList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1HorizontalPodAutoscalerList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1HorizontalPodAutoscaler]**](V1HorizontalPodAutoscaler.md) | list of horizontal pod autoscaler objects. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1HorizontalPodAutoscalerSpec.md b/kubernetes/docs/V1HorizontalPodAutoscalerSpec.md
deleted file mode 100644
index 831fa300a3..0000000000
--- a/kubernetes/docs/V1HorizontalPodAutoscalerSpec.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1HorizontalPodAutoscalerSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**maxReplicas** | **Number** | upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. |
-**minReplicas** | **Number** | lower limit for the number of pods that can be set by the autoscaler, default 1. | [optional]
-**scaleTargetRef** | [**V1CrossVersionObjectReference**](V1CrossVersionObjectReference.md) | reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource. |
-**targetCPUUtilizationPercentage** | **Number** | target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used. | [optional]
-
-
diff --git a/kubernetes/docs/V1HorizontalPodAutoscalerStatus.md b/kubernetes/docs/V1HorizontalPodAutoscalerStatus.md
deleted file mode 100644
index 20742bec0b..0000000000
--- a/kubernetes/docs/V1HorizontalPodAutoscalerStatus.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1HorizontalPodAutoscalerStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**currentCPUUtilizationPercentage** | **Number** | current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. | [optional]
-**currentReplicas** | **Number** | current number of replicas of pods managed by this autoscaler. |
-**desiredReplicas** | **Number** | desired number of replicas of pods managed by this autoscaler. |
-**lastScaleTime** | **Date** | last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. | [optional]
-**observedGeneration** | **Number** | most recent generation observed by this autoscaler. | [optional]
-
-
diff --git a/kubernetes/docs/V1HostPathVolumeSource.md b/kubernetes/docs/V1HostPathVolumeSource.md
deleted file mode 100644
index 5682a955a7..0000000000
--- a/kubernetes/docs/V1HostPathVolumeSource.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1HostPathVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**path** | **String** | Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath |
-
-
diff --git a/kubernetes/docs/V1ISCSIVolumeSource.md b/kubernetes/docs/V1ISCSIVolumeSource.md
deleted file mode 100644
index 4148d27402..0000000000
--- a/kubernetes/docs/V1ISCSIVolumeSource.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# KubernetesJsClient.V1ISCSIVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi | [optional]
-**iqn** | **String** | Target iSCSI Qualified Name. |
-**iscsiInterface** | **String** | Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. | [optional]
-**lun** | **Number** | iSCSI target lun number. |
-**portals** | **[String]** | iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | [optional]
-**readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. | [optional]
-**targetPortal** | **String** | iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). |
-
-
diff --git a/kubernetes/docs/V1Job.md b/kubernetes/docs/V1Job.md
deleted file mode 100644
index a19762c2cf..0000000000
--- a/kubernetes/docs/V1Job.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1Job
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1JobSpec**](V1JobSpec.md) | Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1JobStatus**](V1JobStatus.md) | Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1JobCondition.md b/kubernetes/docs/V1JobCondition.md
deleted file mode 100644
index d49a7511a0..0000000000
--- a/kubernetes/docs/V1JobCondition.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1JobCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastProbeTime** | **Date** | Last time the condition was checked. | [optional]
-**lastTransitionTime** | **Date** | Last time the condition transit from one status to another. | [optional]
-**message** | **String** | Human readable message indicating details about last transition. | [optional]
-**reason** | **String** | (brief) reason for the condition's last transition. | [optional]
-**status** | **String** | Status of the condition, one of True, False, Unknown. |
-**type** | **String** | Type of job condition, Complete or Failed. |
-
-
diff --git a/kubernetes/docs/V1JobList.md b/kubernetes/docs/V1JobList.md
deleted file mode 100644
index d692018d9d..0000000000
--- a/kubernetes/docs/V1JobList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1JobList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1Job]**](V1Job.md) | Items is the list of Job. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1JobSpec.md b/kubernetes/docs/V1JobSpec.md
deleted file mode 100644
index 6e9cf42c75..0000000000
--- a/kubernetes/docs/V1JobSpec.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1JobSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**activeDeadlineSeconds** | **Number** | Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer | [optional]
-**completions** | **Number** | Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs | [optional]
-**manualSelector** | **Boolean** | ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md | [optional]
-**parallelism** | **Number** | Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs |
-
-
diff --git a/kubernetes/docs/V1JobStatus.md b/kubernetes/docs/V1JobStatus.md
deleted file mode 100644
index 807aed7f39..0000000000
--- a/kubernetes/docs/V1JobStatus.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1JobStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**active** | **Number** | Active is the number of actively running pods. | [optional]
-**completionTime** | **Date** | CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional]
-**conditions** | [**[V1JobCondition]**](V1JobCondition.md) | Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs | [optional]
-**failed** | **Number** | Failed is the number of pods which reached Phase Failed. | [optional]
-**startTime** | **Date** | StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional]
-**succeeded** | **Number** | Succeeded is the number of pods which reached Phase Succeeded. | [optional]
-
-
diff --git a/kubernetes/docs/V1KeyToPath.md b/kubernetes/docs/V1KeyToPath.md
deleted file mode 100644
index 2b2de77c1d..0000000000
--- a/kubernetes/docs/V1KeyToPath.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1KeyToPath
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**key** | **String** | The key to project. |
-**mode** | **Number** | Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional]
-**path** | **String** | The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. |
-
-
diff --git a/kubernetes/docs/V1LabelSelector.md b/kubernetes/docs/V1LabelSelector.md
deleted file mode 100644
index c4a3a61f70..0000000000
--- a/kubernetes/docs/V1LabelSelector.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1LabelSelector
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**matchExpressions** | [**[V1LabelSelectorRequirement]**](V1LabelSelectorRequirement.md) | matchExpressions is a list of label selector requirements. The requirements are ANDed. | [optional]
-**matchLabels** | **{String: String}** | matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed. | [optional]
-
-
diff --git a/kubernetes/docs/V1LabelSelectorRequirement.md b/kubernetes/docs/V1LabelSelectorRequirement.md
deleted file mode 100644
index c4ad5a25be..0000000000
--- a/kubernetes/docs/V1LabelSelectorRequirement.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1LabelSelectorRequirement
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**key** | **String** | key is the label key that the selector applies to. |
-**operator** | **String** | operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist. |
-**values** | **[String]** | values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. | [optional]
-
-
diff --git a/kubernetes/docs/V1Lifecycle.md b/kubernetes/docs/V1Lifecycle.md
deleted file mode 100644
index d7ebad14de..0000000000
--- a/kubernetes/docs/V1Lifecycle.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1Lifecycle
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**postStart** | [**V1Handler**](V1Handler.md) | PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details | [optional]
-**preStop** | [**V1Handler**](V1Handler.md) | PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details | [optional]
-
-
diff --git a/kubernetes/docs/V1LimitRange.md b/kubernetes/docs/V1LimitRange.md
deleted file mode 100644
index 05b7ed0140..0000000000
--- a/kubernetes/docs/V1LimitRange.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1LimitRange
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1LimitRangeSpec**](V1LimitRangeSpec.md) | Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1LimitRangeItem.md b/kubernetes/docs/V1LimitRangeItem.md
deleted file mode 100644
index 4395e05837..0000000000
--- a/kubernetes/docs/V1LimitRangeItem.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1LimitRangeItem
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**_default** | **{String: String}** | Default resource requirement limit value by resource name if resource limit is omitted. | [optional]
-**defaultRequest** | **{String: String}** | DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. | [optional]
-**max** | **{String: String}** | Max usage constraints on this kind by resource name. | [optional]
-**maxLimitRequestRatio** | **{String: String}** | MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. | [optional]
-**min** | **{String: String}** | Min usage constraints on this kind by resource name. | [optional]
-**type** | **String** | Type of resource that this limit applies to. | [optional]
-
-
diff --git a/kubernetes/docs/V1LimitRangeList.md b/kubernetes/docs/V1LimitRangeList.md
deleted file mode 100644
index 4073ed0236..0000000000
--- a/kubernetes/docs/V1LimitRangeList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1LimitRangeList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1LimitRange]**](V1LimitRange.md) | Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1LimitRangeSpec.md b/kubernetes/docs/V1LimitRangeSpec.md
deleted file mode 100644
index a4a6543937..0000000000
--- a/kubernetes/docs/V1LimitRangeSpec.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1LimitRangeSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**limits** | [**[V1LimitRangeItem]**](V1LimitRangeItem.md) | Limits is the list of LimitRangeItem objects that are enforced. |
-
-
diff --git a/kubernetes/docs/V1ListMeta.md b/kubernetes/docs/V1ListMeta.md
deleted file mode 100644
index 3ccbbf3740..0000000000
--- a/kubernetes/docs/V1ListMeta.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ListMeta
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**resourceVersion** | **String** | String that identifies the server's internal version of this object that can be used by kubernetes.clients to determine when objects have changed. Value must be treated as opaque by kubernetes.clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional]
-**selfLink** | **String** | SelfLink is a URL representing this object. Populated by the system. Read-only. | [optional]
-
-
diff --git a/kubernetes/docs/V1LoadBalancerIngress.md b/kubernetes/docs/V1LoadBalancerIngress.md
deleted file mode 100644
index 73b100b4e1..0000000000
--- a/kubernetes/docs/V1LoadBalancerIngress.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1LoadBalancerIngress
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**hostname** | **String** | Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) | [optional]
-**ip** | **String** | IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) | [optional]
-
-
diff --git a/kubernetes/docs/V1LoadBalancerStatus.md b/kubernetes/docs/V1LoadBalancerStatus.md
deleted file mode 100644
index 8f6401c85a..0000000000
--- a/kubernetes/docs/V1LoadBalancerStatus.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1LoadBalancerStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ingress** | [**[V1LoadBalancerIngress]**](V1LoadBalancerIngress.md) | Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. | [optional]
-
-
diff --git a/kubernetes/docs/V1LocalObjectReference.md b/kubernetes/docs/V1LocalObjectReference.md
deleted file mode 100644
index 15808aebeb..0000000000
--- a/kubernetes/docs/V1LocalObjectReference.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1LocalObjectReference
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-
-
diff --git a/kubernetes/docs/V1LocalSubjectAccessReview.md b/kubernetes/docs/V1LocalSubjectAccessReview.md
deleted file mode 100644
index 18fa5fc8df..0000000000
--- a/kubernetes/docs/V1LocalSubjectAccessReview.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1LocalSubjectAccessReview
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1SubjectAccessReviewSpec**](V1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. |
-**status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional]
-
-
diff --git a/kubernetes/docs/V1NFSVolumeSource.md b/kubernetes/docs/V1NFSVolumeSource.md
deleted file mode 100644
index 7541355b32..0000000000
--- a/kubernetes/docs/V1NFSVolumeSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1NFSVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**path** | **String** | Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs |
-**readOnly** | **Boolean** | ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional]
-**server** | **String** | Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs |
-
-
diff --git a/kubernetes/docs/V1Namespace.md b/kubernetes/docs/V1Namespace.md
deleted file mode 100644
index dc634eb361..0000000000
--- a/kubernetes/docs/V1Namespace.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1Namespace
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1NamespaceSpec**](V1NamespaceSpec.md) | Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1NamespaceStatus**](V1NamespaceStatus.md) | Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1NamespaceList.md b/kubernetes/docs/V1NamespaceList.md
deleted file mode 100644
index dc8cedf2a7..0000000000
--- a/kubernetes/docs/V1NamespaceList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1NamespaceList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1Namespace]**](V1Namespace.md) | Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1NamespaceSpec.md b/kubernetes/docs/V1NamespaceSpec.md
deleted file mode 100644
index 37cdb2e1d0..0000000000
--- a/kubernetes/docs/V1NamespaceSpec.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1NamespaceSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**finalizers** | **[String]** | Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers | [optional]
-
-
diff --git a/kubernetes/docs/V1NamespaceStatus.md b/kubernetes/docs/V1NamespaceStatus.md
deleted file mode 100644
index b2e5c3c91f..0000000000
--- a/kubernetes/docs/V1NamespaceStatus.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1NamespaceStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**phase** | **String** | Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases | [optional]
-
-
diff --git a/kubernetes/docs/V1Node.md b/kubernetes/docs/V1Node.md
deleted file mode 100644
index 53c017db09..0000000000
--- a/kubernetes/docs/V1Node.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1Node
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1NodeSpec**](V1NodeSpec.md) | Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1NodeStatus**](V1NodeStatus.md) | Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1NodeAddress.md b/kubernetes/docs/V1NodeAddress.md
deleted file mode 100644
index 6d20d4f9d4..0000000000
--- a/kubernetes/docs/V1NodeAddress.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1NodeAddress
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**address** | **String** | The node address. |
-**type** | **String** | Node address type, one of Hostname, ExternalIP or InternalIP. |
-
-
diff --git a/kubernetes/docs/V1NodeAffinity.md b/kubernetes/docs/V1NodeAffinity.md
deleted file mode 100644
index 9dfe8f2a20..0000000000
--- a/kubernetes/docs/V1NodeAffinity.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1NodeAffinity
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**preferredDuringSchedulingIgnoredDuringExecution** | [**[V1PreferredSchedulingTerm]**](V1PreferredSchedulingTerm.md) | The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. | [optional]
-**requiredDuringSchedulingIgnoredDuringExecution** | [**V1NodeSelector**](V1NodeSelector.md) | If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. | [optional]
-
-
diff --git a/kubernetes/docs/V1NodeCondition.md b/kubernetes/docs/V1NodeCondition.md
deleted file mode 100644
index aa0279dc44..0000000000
--- a/kubernetes/docs/V1NodeCondition.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1NodeCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastHeartbeatTime** | **Date** | Last time we got an update on a given condition. | [optional]
-**lastTransitionTime** | **Date** | Last time the condition transit from one status to another. | [optional]
-**message** | **String** | Human readable message indicating details about last transition. | [optional]
-**reason** | **String** | (brief) reason for the condition's last transition. | [optional]
-**status** | **String** | Status of the condition, one of True, False, Unknown. |
-**type** | **String** | Type of node condition. |
-
-
diff --git a/kubernetes/docs/V1NodeDaemonEndpoints.md b/kubernetes/docs/V1NodeDaemonEndpoints.md
deleted file mode 100644
index 6628c67f47..0000000000
--- a/kubernetes/docs/V1NodeDaemonEndpoints.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1NodeDaemonEndpoints
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**kubeletEndpoint** | [**V1DaemonEndpoint**](V1DaemonEndpoint.md) | Endpoint on which Kubelet is listening. | [optional]
-
-
diff --git a/kubernetes/docs/V1NodeList.md b/kubernetes/docs/V1NodeList.md
deleted file mode 100644
index 9381f45e0b..0000000000
--- a/kubernetes/docs/V1NodeList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1NodeList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1Node]**](V1Node.md) | List of nodes |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1NodeSelector.md b/kubernetes/docs/V1NodeSelector.md
deleted file mode 100644
index 1ce5e5c13d..0000000000
--- a/kubernetes/docs/V1NodeSelector.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1NodeSelector
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**nodeSelectorTerms** | [**[V1NodeSelectorTerm]**](V1NodeSelectorTerm.md) | Required. A list of node selector terms. The terms are ORed. |
-
-
diff --git a/kubernetes/docs/V1NodeSelectorRequirement.md b/kubernetes/docs/V1NodeSelectorRequirement.md
deleted file mode 100644
index 1d5d5daa97..0000000000
--- a/kubernetes/docs/V1NodeSelectorRequirement.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1NodeSelectorRequirement
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**key** | **String** | The label key that the selector applies to. |
-**operator** | **String** | Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. |
-**values** | **[String]** | An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. | [optional]
-
-
diff --git a/kubernetes/docs/V1NodeSelectorTerm.md b/kubernetes/docs/V1NodeSelectorTerm.md
deleted file mode 100644
index 0226ddb48e..0000000000
--- a/kubernetes/docs/V1NodeSelectorTerm.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1NodeSelectorTerm
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**matchExpressions** | [**[V1NodeSelectorRequirement]**](V1NodeSelectorRequirement.md) | Required. A list of node selector requirements. The requirements are ANDed. |
-
-
diff --git a/kubernetes/docs/V1NodeSpec.md b/kubernetes/docs/V1NodeSpec.md
deleted file mode 100644
index 6672e72971..0000000000
--- a/kubernetes/docs/V1NodeSpec.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1NodeSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**externalID** | **String** | External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. | [optional]
-**podCIDR** | **String** | PodCIDR represents the pod IP range assigned to the node. | [optional]
-**providerID** | **String** | ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> | [optional]
-**taints** | [**[V1Taint]**](V1Taint.md) | If specified, the node's taints. | [optional]
-**unschedulable** | **Boolean** | Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration | [optional]
-
-
diff --git a/kubernetes/docs/V1NodeStatus.md b/kubernetes/docs/V1NodeStatus.md
deleted file mode 100644
index c593277c67..0000000000
--- a/kubernetes/docs/V1NodeStatus.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# KubernetesJsClient.V1NodeStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**addresses** | [**[V1NodeAddress]**](V1NodeAddress.md) | List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses | [optional]
-**allocatable** | **{String: String}** | Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. | [optional]
-**capacity** | **{String: String}** | Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. | [optional]
-**conditions** | [**[V1NodeCondition]**](V1NodeCondition.md) | Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition | [optional]
-**daemonEndpoints** | [**V1NodeDaemonEndpoints**](V1NodeDaemonEndpoints.md) | Endpoints of daemons running on the Node. | [optional]
-**images** | [**[V1ContainerImage]**](V1ContainerImage.md) | List of container images on this node | [optional]
-**nodeInfo** | [**V1NodeSystemInfo**](V1NodeSystemInfo.md) | Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info | [optional]
-**phase** | **String** | NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated. | [optional]
-**volumesAttached** | [**[V1AttachedVolume]**](V1AttachedVolume.md) | List of volumes that are attached to the node. | [optional]
-**volumesInUse** | **[String]** | List of attachable volumes in use (mounted) by the node. | [optional]
-
-
diff --git a/kubernetes/docs/V1NodeSystemInfo.md b/kubernetes/docs/V1NodeSystemInfo.md
deleted file mode 100644
index 99205c7376..0000000000
--- a/kubernetes/docs/V1NodeSystemInfo.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# KubernetesJsClient.V1NodeSystemInfo
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**architecture** | **String** | The Architecture reported by the node |
-**bootID** | **String** | Boot ID reported by the node. |
-**containerRuntimeVersion** | **String** | ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0). |
-**kernelVersion** | **String** | Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). |
-**kubeProxyVersion** | **String** | KubeProxy Version reported by the node. |
-**kubeletVersion** | **String** | Kubelet Version reported by the node. |
-**machineID** | **String** | MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html |
-**operatingSystem** | **String** | The Operating System reported by the node |
-**osImage** | **String** | OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). |
-**systemUUID** | **String** | SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html |
-
-
diff --git a/kubernetes/docs/V1NonResourceAttributes.md b/kubernetes/docs/V1NonResourceAttributes.md
deleted file mode 100644
index 6944982523..0000000000
--- a/kubernetes/docs/V1NonResourceAttributes.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1NonResourceAttributes
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**path** | **String** | Path is the URL path of the request | [optional]
-**verb** | **String** | Verb is the standard HTTP verb | [optional]
-
-
diff --git a/kubernetes/docs/V1ObjectFieldSelector.md b/kubernetes/docs/V1ObjectFieldSelector.md
deleted file mode 100644
index db6be48bbf..0000000000
--- a/kubernetes/docs/V1ObjectFieldSelector.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ObjectFieldSelector
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | Version of the schema the FieldPath is written in terms of, defaults to \"v1\". | [optional]
-**fieldPath** | **String** | Path of the field to select in the specified API version. |
-
-
diff --git a/kubernetes/docs/V1ObjectMeta.md b/kubernetes/docs/V1ObjectMeta.md
deleted file mode 100644
index 4422714229..0000000000
--- a/kubernetes/docs/V1ObjectMeta.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# KubernetesJsClient.V1ObjectMeta
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**annotations** | **{String: String}** | Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations | [optional]
-**clusterName** | **String** | The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. | [optional]
-**creationTimestamp** | **Date** | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**deletionGracePeriodSeconds** | **Number** | Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. | [optional]
-**deletionTimestamp** | **Date** | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a kubernetes.client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**finalizers** | **[String]** | Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. | [optional]
-**generateName** | **String** | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the kubernetes.client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the kubernetes.client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency | [optional]
-**generation** | **Number** | A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. | [optional]
-**labels** | **{String: String}** | Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels | [optional]
-**name** | **String** | Name must be unique within a namespace. Is required when creating resources, although some resources may allow a kubernetes.client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**namespace** | **String** | Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces | [optional]
-**ownerReferences** | [**[V1OwnerReference]**](V1OwnerReference.md) | List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. | [optional]
-**resourceVersion** | **String** | An opaque value that represents the internal version of this object that can be used by kubernetes.clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by kubernetes.clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional]
-**selfLink** | **String** | SelfLink is a URL representing this object. Populated by the system. Read-only. | [optional]
-**uid** | **String** | UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | [optional]
-
-
diff --git a/kubernetes/docs/V1ObjectReference.md b/kubernetes/docs/V1ObjectReference.md
deleted file mode 100644
index 2a75e8c7f0..0000000000
--- a/kubernetes/docs/V1ObjectReference.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# KubernetesJsClient.V1ObjectReference
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | API version of the referent. | [optional]
-**fieldPath** | **String** | If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. | [optional]
-**kind** | **String** | Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**namespace** | **String** | Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces | [optional]
-**resourceVersion** | **String** | Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional]
-**uid** | **String** | UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | [optional]
-
-
diff --git a/kubernetes/docs/V1OwnerReference.md b/kubernetes/docs/V1OwnerReference.md
deleted file mode 100644
index 2b86d96b47..0000000000
--- a/kubernetes/docs/V1OwnerReference.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1OwnerReference
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | API version of the referent. |
-**blockOwnerDeletion** | **Boolean** | If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. | [optional]
-**controller** | **Boolean** | If true, this reference points to the managing controller. | [optional]
-**kind** | **String** | Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names |
-**uid** | **String** | UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
-
-
diff --git a/kubernetes/docs/V1PersistentVolume.md b/kubernetes/docs/V1PersistentVolume.md
deleted file mode 100644
index 929b36ae65..0000000000
--- a/kubernetes/docs/V1PersistentVolume.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1PersistentVolume
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1PersistentVolumeSpec**](V1PersistentVolumeSpec.md) | Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes | [optional]
-**status** | [**V1PersistentVolumeStatus**](V1PersistentVolumeStatus.md) | Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes | [optional]
-
-
diff --git a/kubernetes/docs/V1PersistentVolumeClaim.md b/kubernetes/docs/V1PersistentVolumeClaim.md
deleted file mode 100644
index 693418aa5b..0000000000
--- a/kubernetes/docs/V1PersistentVolumeClaim.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1PersistentVolumeClaim
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1PersistentVolumeClaimSpec**](V1PersistentVolumeClaimSpec.md) | Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional]
-**status** | [**V1PersistentVolumeClaimStatus**](V1PersistentVolumeClaimStatus.md) | Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional]
-
-
diff --git a/kubernetes/docs/V1PersistentVolumeClaimList.md b/kubernetes/docs/V1PersistentVolumeClaimList.md
deleted file mode 100644
index de798a5bfb..0000000000
--- a/kubernetes/docs/V1PersistentVolumeClaimList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1PersistentVolumeClaimList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1PersistentVolumeClaim]**](V1PersistentVolumeClaim.md) | A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1PersistentVolumeClaimSpec.md b/kubernetes/docs/V1PersistentVolumeClaimSpec.md
deleted file mode 100644
index cc6ba0992f..0000000000
--- a/kubernetes/docs/V1PersistentVolumeClaimSpec.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1PersistentVolumeClaimSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**accessModes** | **[String]** | AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 | [optional]
-**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over volumes to consider for binding. | [optional]
-**storageClassName** | **String** | Name of the StorageClass required by the claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#class-1 | [optional]
-**volumeName** | **String** | VolumeName is the binding reference to the PersistentVolume backing this claim. | [optional]
-
-
diff --git a/kubernetes/docs/V1PersistentVolumeClaimStatus.md b/kubernetes/docs/V1PersistentVolumeClaimStatus.md
deleted file mode 100644
index 66495bb910..0000000000
--- a/kubernetes/docs/V1PersistentVolumeClaimStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1PersistentVolumeClaimStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**accessModes** | **[String]** | AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 | [optional]
-**capacity** | **{String: String}** | Represents the actual resources of the underlying volume. | [optional]
-**phase** | **String** | Phase represents the current phase of PersistentVolumeClaim. | [optional]
-
-
diff --git a/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md b/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md
deleted file mode 100644
index db37d6f130..0000000000
--- a/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1PersistentVolumeClaimVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**claimName** | **String** | ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims |
-**readOnly** | **Boolean** | Will force the ReadOnly setting in VolumeMounts. Default false. | [optional]
-
-
diff --git a/kubernetes/docs/V1PersistentVolumeList.md b/kubernetes/docs/V1PersistentVolumeList.md
deleted file mode 100644
index 7708778ba0..0000000000
--- a/kubernetes/docs/V1PersistentVolumeList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1PersistentVolumeList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1PersistentVolume]**](V1PersistentVolume.md) | List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1PersistentVolumeSpec.md b/kubernetes/docs/V1PersistentVolumeSpec.md
deleted file mode 100644
index af88167253..0000000000
--- a/kubernetes/docs/V1PersistentVolumeSpec.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# KubernetesJsClient.V1PersistentVolumeSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**accessModes** | **[String]** | AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes | [optional]
-**awsElasticBlockStore** | [**V1AWSElasticBlockStoreVolumeSource**](V1AWSElasticBlockStoreVolumeSource.md) | AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional]
-**azureDisk** | [**V1AzureDiskVolumeSource**](V1AzureDiskVolumeSource.md) | AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. | [optional]
-**azureFile** | [**V1AzureFileVolumeSource**](V1AzureFileVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional]
-**capacity** | **{String: String}** | A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity | [optional]
-**cephfs** | [**V1CephFSVolumeSource**](V1CephFSVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional]
-**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional]
-**claimRef** | [**V1ObjectReference**](V1ObjectReference.md) | ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding | [optional]
-**fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional]
-**flexVolume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. | [optional]
-**flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running | [optional]
-**gcePersistentDisk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional]
-**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional]
-**hostPath** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath | [optional]
-**iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. | [optional]
-**nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional]
-**persistentVolumeReclaimPolicy** | **String** | What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy | [optional]
-**photonPersistentDisk** | [**V1PhotonPersistentDiskVolumeSource**](V1PhotonPersistentDiskVolumeSource.md) | PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine | [optional]
-**portworxVolume** | [**V1PortworxVolumeSource**](V1PortworxVolumeSource.md) | PortworxVolume represents a portworx volume attached and mounted on kubelets host machine | [optional]
-**quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod's lifetime | [optional]
-**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional]
-**scaleIO** | [**V1ScaleIOVolumeSource**](V1ScaleIOVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional]
-**storageClassName** | **String** | Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional]
-**vsphereVolume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [optional]
-
-
diff --git a/kubernetes/docs/V1PersistentVolumeStatus.md b/kubernetes/docs/V1PersistentVolumeStatus.md
deleted file mode 100644
index 2350dfa55e..0000000000
--- a/kubernetes/docs/V1PersistentVolumeStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1PersistentVolumeStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**message** | **String** | A human-readable message indicating details about why the volume is in this state. | [optional]
-**phase** | **String** | Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase | [optional]
-**reason** | **String** | Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. | [optional]
-
-
diff --git a/kubernetes/docs/V1PhotonPersistentDiskVolumeSource.md b/kubernetes/docs/V1PhotonPersistentDiskVolumeSource.md
deleted file mode 100644
index 7b3c38477d..0000000000
--- a/kubernetes/docs/V1PhotonPersistentDiskVolumeSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1PhotonPersistentDiskVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional]
-**pdID** | **String** | ID that identifies Photon Controller persistent disk |
-
-
diff --git a/kubernetes/docs/V1Pod.md b/kubernetes/docs/V1Pod.md
deleted file mode 100644
index 7503e7758c..0000000000
--- a/kubernetes/docs/V1Pod.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1Pod
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1PodSpec**](V1PodSpec.md) | Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1PodStatus**](V1PodStatus.md) | Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1PodAffinity.md b/kubernetes/docs/V1PodAffinity.md
deleted file mode 100644
index b6e916810d..0000000000
--- a/kubernetes/docs/V1PodAffinity.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1PodAffinity
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**preferredDuringSchedulingIgnoredDuringExecution** | [**[V1WeightedPodAffinityTerm]**](V1WeightedPodAffinityTerm.md) | The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. | [optional]
-**requiredDuringSchedulingIgnoredDuringExecution** | [**[V1PodAffinityTerm]**](V1PodAffinityTerm.md) | NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. | [optional]
-
-
diff --git a/kubernetes/docs/V1PodAffinityTerm.md b/kubernetes/docs/V1PodAffinityTerm.md
deleted file mode 100644
index eb52243c83..0000000000
--- a/kubernetes/docs/V1PodAffinityTerm.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1PodAffinityTerm
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**labelSelector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over a set of resources, in this case pods. | [optional]
-**namespaces** | **[String]** | namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\" | [optional]
-**topologyKey** | **String** | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed. | [optional]
-
-
diff --git a/kubernetes/docs/V1PodAntiAffinity.md b/kubernetes/docs/V1PodAntiAffinity.md
deleted file mode 100644
index f539b7d257..0000000000
--- a/kubernetes/docs/V1PodAntiAffinity.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1PodAntiAffinity
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**preferredDuringSchedulingIgnoredDuringExecution** | [**[V1WeightedPodAffinityTerm]**](V1WeightedPodAffinityTerm.md) | The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. | [optional]
-**requiredDuringSchedulingIgnoredDuringExecution** | [**[V1PodAffinityTerm]**](V1PodAffinityTerm.md) | NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. | [optional]
-
-
diff --git a/kubernetes/docs/V1PodCondition.md b/kubernetes/docs/V1PodCondition.md
deleted file mode 100644
index 20d1202743..0000000000
--- a/kubernetes/docs/V1PodCondition.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1PodCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastProbeTime** | **Date** | Last time we probed the condition. | [optional]
-**lastTransitionTime** | **Date** | Last time the condition transitioned from one status to another. | [optional]
-**message** | **String** | Human-readable message indicating details about last transition. | [optional]
-**reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional]
-**status** | **String** | Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions |
-**type** | **String** | Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions |
-
-
diff --git a/kubernetes/docs/V1PodList.md b/kubernetes/docs/V1PodList.md
deleted file mode 100644
index e4ffa8c6e4..0000000000
--- a/kubernetes/docs/V1PodList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1PodList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1Pod]**](V1Pod.md) | List of pods. More info: http://kubernetes.io/docs/user-guide/pods |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1PodSecurityContext.md b/kubernetes/docs/V1PodSecurityContext.md
deleted file mode 100644
index b97531ac95..0000000000
--- a/kubernetes/docs/V1PodSecurityContext.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1PodSecurityContext
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsGroup** | **Number** | A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. | [optional]
-**runAsNonRoot** | **Boolean** | Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional]
-**runAsUser** | **Number** | The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional]
-**seLinuxOptions** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional]
-**supplementalGroups** | **[Number]** | A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. | [optional]
-
-
diff --git a/kubernetes/docs/V1PodSpec.md b/kubernetes/docs/V1PodSpec.md
deleted file mode 100644
index 00d382dc44..0000000000
--- a/kubernetes/docs/V1PodSpec.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# KubernetesJsClient.V1PodSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**activeDeadlineSeconds** | **Number** | Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. | [optional]
-**affinity** | [**V1Affinity**](V1Affinity.md) | If specified, the pod's scheduling constraints | [optional]
-**automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional]
-**containers** | [**[V1Container]**](V1Container.md) | List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers |
-**dnsPolicy** | **String** | Set DNS policy for containers within the pod. One of 'ClusterFirstWithHostNet', 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\". To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. | [optional]
-**hostIPC** | **Boolean** | Use the host's ipc namespace. Optional: Default to false. | [optional]
-**hostNetwork** | **Boolean** | Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. | [optional]
-**hostPID** | **Boolean** | Use the host's pid namespace. Optional: Default to false. | [optional]
-**hostname** | **String** | Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. | [optional]
-**imagePullSecrets** | [**[V1LocalObjectReference]**](V1LocalObjectReference.md) | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod | [optional]
-**initContainers** | [**[V1Container]**](V1Container.md) | List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers | [optional]
-**nodeName** | **String** | NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. | [optional]
-**nodeSelector** | **{String: String}** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README | [optional]
-**restartPolicy** | **String** | Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy | [optional]
-**schedulerName** | **String** | If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. | [optional]
-**securityContext** | [**V1PodSecurityContext**](V1PodSecurityContext.md) | SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. | [optional]
-**serviceAccount** | **String** | DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. | [optional]
-**serviceAccountName** | **String** | ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md | [optional]
-**subdomain** | **String** | If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all. | [optional]
-**terminationGracePeriodSeconds** | **Number** | Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. | [optional]
-**tolerations** | [**[V1Toleration]**](V1Toleration.md) | If specified, the pod's tolerations. | [optional]
-**volumes** | [**[V1Volume]**](V1Volume.md) | List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes | [optional]
-
-
diff --git a/kubernetes/docs/V1PodStatus.md b/kubernetes/docs/V1PodStatus.md
deleted file mode 100644
index cc8c6ebce7..0000000000
--- a/kubernetes/docs/V1PodStatus.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# KubernetesJsClient.V1PodStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**conditions** | [**[V1PodCondition]**](V1PodCondition.md) | Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions | [optional]
-**containerStatuses** | [**[V1ContainerStatus]**](V1ContainerStatus.md) | The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses | [optional]
-**hostIP** | **String** | IP address of the host to which the pod is assigned. Empty if not yet scheduled. | [optional]
-**initContainerStatuses** | [**[V1ContainerStatus]**](V1ContainerStatus.md) | The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses | [optional]
-**message** | **String** | A human readable message indicating details about why the pod is in this condition. | [optional]
-**phase** | **String** | Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase | [optional]
-**podIP** | **String** | IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. | [optional]
-**qosClass** | **String** | The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md | [optional]
-**reason** | **String** | A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk' | [optional]
-**startTime** | **Date** | RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod. | [optional]
-
-
diff --git a/kubernetes/docs/V1PodTemplate.md b/kubernetes/docs/V1PodTemplate.md
deleted file mode 100644
index 0bc8610b2f..0000000000
--- a/kubernetes/docs/V1PodTemplate.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1PodTemplate
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1PodTemplateList.md b/kubernetes/docs/V1PodTemplateList.md
deleted file mode 100644
index e27560e597..0000000000
--- a/kubernetes/docs/V1PodTemplateList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1PodTemplateList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1PodTemplate]**](V1PodTemplate.md) | List of pod templates |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1PodTemplateSpec.md b/kubernetes/docs/V1PodTemplateSpec.md
deleted file mode 100644
index 1ff62897f5..0000000000
--- a/kubernetes/docs/V1PodTemplateSpec.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1PodTemplateSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1PodSpec**](V1PodSpec.md) | Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1PortworxVolumeSource.md b/kubernetes/docs/V1PortworxVolumeSource.md
deleted file mode 100644
index 878e94099d..0000000000
--- a/kubernetes/docs/V1PortworxVolumeSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1PortworxVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional]
-**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
-**volumeID** | **String** | VolumeID uniquely identifies a Portworx volume |
-
-
diff --git a/kubernetes/docs/V1Preconditions.md b/kubernetes/docs/V1Preconditions.md
deleted file mode 100644
index c12e5f0c8f..0000000000
--- a/kubernetes/docs/V1Preconditions.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1Preconditions
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**uid** | **String** | Specifies the target UID. | [optional]
-
-
diff --git a/kubernetes/docs/V1PreferredSchedulingTerm.md b/kubernetes/docs/V1PreferredSchedulingTerm.md
deleted file mode 100644
index 83efa30dac..0000000000
--- a/kubernetes/docs/V1PreferredSchedulingTerm.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1PreferredSchedulingTerm
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**preference** | [**V1NodeSelectorTerm**](V1NodeSelectorTerm.md) | A node selector term, associated with the corresponding weight. |
-**weight** | **Number** | Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. |
-
-
diff --git a/kubernetes/docs/V1Probe.md b/kubernetes/docs/V1Probe.md
deleted file mode 100644
index de79d01d8b..0000000000
--- a/kubernetes/docs/V1Probe.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# KubernetesJsClient.V1Probe
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**exec** | [**V1ExecAction**](V1ExecAction.md) | One and only one of the following should be specified. Exec specifies the action to take. | [optional]
-**failureThreshold** | **Number** | Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. | [optional]
-**httpGet** | [**V1HTTPGetAction**](V1HTTPGetAction.md) | HTTPGet specifies the http request to perform. | [optional]
-**initialDelaySeconds** | **Number** | Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional]
-**periodSeconds** | **Number** | How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. | [optional]
-**successThreshold** | **Number** | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. | [optional]
-**tcpSocket** | [**V1TCPSocketAction**](V1TCPSocketAction.md) | TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported | [optional]
-**timeoutSeconds** | **Number** | Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional]
-
-
diff --git a/kubernetes/docs/V1ProjectedVolumeSource.md b/kubernetes/docs/V1ProjectedVolumeSource.md
deleted file mode 100644
index 012fc3e9ee..0000000000
--- a/kubernetes/docs/V1ProjectedVolumeSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ProjectedVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**defaultMode** | **Number** | Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional]
-**sources** | [**[V1VolumeProjection]**](V1VolumeProjection.md) | list of volume projections |
-
-
diff --git a/kubernetes/docs/V1QuobyteVolumeSource.md b/kubernetes/docs/V1QuobyteVolumeSource.md
deleted file mode 100644
index b73a3eac65..0000000000
--- a/kubernetes/docs/V1QuobyteVolumeSource.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1QuobyteVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**group** | **String** | Group to map volume access to Default is no group | [optional]
-**readOnly** | **Boolean** | ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. | [optional]
-**registry** | **String** | Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes |
-**user** | **String** | User to map volume access to Defaults to serivceaccount user | [optional]
-**volume** | **String** | Volume is a string that references an already created Quobyte volume by name. |
-
-
diff --git a/kubernetes/docs/V1RBDVolumeSource.md b/kubernetes/docs/V1RBDVolumeSource.md
deleted file mode 100644
index a361010f6e..0000000000
--- a/kubernetes/docs/V1RBDVolumeSource.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# KubernetesJsClient.V1RBDVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd | [optional]
-**image** | **String** | The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it |
-**keyring** | **String** | Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional]
-**monitors** | **[String]** | A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it |
-**pool** | **String** | The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it. | [optional]
-**readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional]
-**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional]
-**user** | **String** | The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional]
-
-
diff --git a/kubernetes/docs/V1ReplicationController.md b/kubernetes/docs/V1ReplicationController.md
deleted file mode 100644
index 950601bafa..0000000000
--- a/kubernetes/docs/V1ReplicationController.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1ReplicationController
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1ReplicationControllerSpec**](V1ReplicationControllerSpec.md) | Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1ReplicationControllerStatus**](V1ReplicationControllerStatus.md) | Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1ReplicationControllerCondition.md b/kubernetes/docs/V1ReplicationControllerCondition.md
deleted file mode 100644
index d76a8716f7..0000000000
--- a/kubernetes/docs/V1ReplicationControllerCondition.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1ReplicationControllerCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastTransitionTime** | **Date** | The last time the condition transitioned from one status to another. | [optional]
-**message** | **String** | A human readable message indicating details about the transition. | [optional]
-**reason** | **String** | The reason for the condition's last transition. | [optional]
-**status** | **String** | Status of the condition, one of True, False, Unknown. |
-**type** | **String** | Type of replication controller condition. |
-
-
diff --git a/kubernetes/docs/V1ReplicationControllerList.md b/kubernetes/docs/V1ReplicationControllerList.md
deleted file mode 100644
index 525e3b299b..0000000000
--- a/kubernetes/docs/V1ReplicationControllerList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ReplicationControllerList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1ReplicationController]**](V1ReplicationController.md) | List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1ReplicationControllerSpec.md b/kubernetes/docs/V1ReplicationControllerSpec.md
deleted file mode 100644
index 1146785003..0000000000
--- a/kubernetes/docs/V1ReplicationControllerSpec.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ReplicationControllerSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**minReadySeconds** | **Number** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional]
-**replicas** | **Number** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | [optional]
-**selector** | **{String: String}** | Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template | [optional]
-
-
diff --git a/kubernetes/docs/V1ReplicationControllerStatus.md b/kubernetes/docs/V1ReplicationControllerStatus.md
deleted file mode 100644
index 894f8ed340..0000000000
--- a/kubernetes/docs/V1ReplicationControllerStatus.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1ReplicationControllerStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**availableReplicas** | **Number** | The number of available replicas (ready for at least minReadySeconds) for this replication controller. | [optional]
-**conditions** | [**[V1ReplicationControllerCondition]**](V1ReplicationControllerCondition.md) | Represents the latest available observations of a replication controller's current state. | [optional]
-**fullyLabeledReplicas** | **Number** | The number of pods that have labels matching the labels of the pod template of the replication controller. | [optional]
-**observedGeneration** | **Number** | ObservedGeneration reflects the generation of the most recently observed replication controller. | [optional]
-**readyReplicas** | **Number** | The number of ready replicas for this replication controller. | [optional]
-**replicas** | **Number** | Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller |
-
-
diff --git a/kubernetes/docs/V1ResourceAttributes.md b/kubernetes/docs/V1ResourceAttributes.md
deleted file mode 100644
index 9c30d8c4d2..0000000000
--- a/kubernetes/docs/V1ResourceAttributes.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# KubernetesJsClient.V1ResourceAttributes
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**group** | **String** | Group is the API Group of the Resource. \"*\" means all. | [optional]
-**name** | **String** | Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. | [optional]
-**namespace** | **String** | Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview | [optional]
-**resource** | **String** | Resource is one of the existing resource types. \"*\" means all. | [optional]
-**subresource** | **String** | Subresource is one of the existing resource types. \"\" means none. | [optional]
-**verb** | **String** | Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all. | [optional]
-**version** | **String** | Version is the API Version of the Resource. \"*\" means all. | [optional]
-
-
diff --git a/kubernetes/docs/V1ResourceFieldSelector.md b/kubernetes/docs/V1ResourceFieldSelector.md
deleted file mode 100644
index fd2b33b9f4..0000000000
--- a/kubernetes/docs/V1ResourceFieldSelector.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1ResourceFieldSelector
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**containerName** | **String** | Container name: required for volumes, optional for env vars | [optional]
-**divisor** | **String** | Specifies the output format of the exposed resources, defaults to \"1\" | [optional]
-**resource** | **String** | Required: resource to select |
-
-
diff --git a/kubernetes/docs/V1ResourceQuota.md b/kubernetes/docs/V1ResourceQuota.md
deleted file mode 100644
index e0c230decc..0000000000
--- a/kubernetes/docs/V1ResourceQuota.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1ResourceQuota
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1ResourceQuotaSpec**](V1ResourceQuotaSpec.md) | Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1ResourceQuotaStatus**](V1ResourceQuotaStatus.md) | Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1ResourceQuotaList.md b/kubernetes/docs/V1ResourceQuotaList.md
deleted file mode 100644
index a0a3692ce6..0000000000
--- a/kubernetes/docs/V1ResourceQuotaList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ResourceQuotaList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1ResourceQuota]**](V1ResourceQuota.md) | Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1ResourceQuotaSpec.md b/kubernetes/docs/V1ResourceQuotaSpec.md
deleted file mode 100644
index f608bf684b..0000000000
--- a/kubernetes/docs/V1ResourceQuotaSpec.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ResourceQuotaSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**hard** | **{String: String}** | Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota | [optional]
-**scopes** | **[String]** | A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. | [optional]
-
-
diff --git a/kubernetes/docs/V1ResourceQuotaStatus.md b/kubernetes/docs/V1ResourceQuotaStatus.md
deleted file mode 100644
index e4b70d6d9b..0000000000
--- a/kubernetes/docs/V1ResourceQuotaStatus.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ResourceQuotaStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**hard** | **{String: String}** | Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota | [optional]
-**used** | **{String: String}** | Used is the current observed total usage of the resource in the namespace. | [optional]
-
-
diff --git a/kubernetes/docs/V1ResourceRequirements.md b/kubernetes/docs/V1ResourceRequirements.md
deleted file mode 100644
index 808fb24f7b..0000000000
--- a/kubernetes/docs/V1ResourceRequirements.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ResourceRequirements
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**limits** | **{String: String}** | Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/ | [optional]
-**requests** | **{String: String}** | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/ | [optional]
-
-
diff --git a/kubernetes/docs/V1SELinuxOptions.md b/kubernetes/docs/V1SELinuxOptions.md
deleted file mode 100644
index 9d630543da..0000000000
--- a/kubernetes/docs/V1SELinuxOptions.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1SELinuxOptions
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**level** | **String** | Level is SELinux level label that applies to the container. | [optional]
-**role** | **String** | Role is a SELinux role label that applies to the container. | [optional]
-**type** | **String** | Type is a SELinux type label that applies to the container. | [optional]
-**user** | **String** | User is a SELinux user label that applies to the container. | [optional]
-
-
diff --git a/kubernetes/docs/V1Scale.md b/kubernetes/docs/V1Scale.md
deleted file mode 100644
index b7127d09b8..0000000000
--- a/kubernetes/docs/V1Scale.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1Scale
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. | [optional]
-**spec** | [**V1ScaleSpec**](V1ScaleSpec.md) | defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional]
-**status** | [**V1ScaleStatus**](V1ScaleStatus.md) | current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. | [optional]
-
-
diff --git a/kubernetes/docs/V1ScaleIOVolumeSource.md b/kubernetes/docs/V1ScaleIOVolumeSource.md
deleted file mode 100644
index a659cebbde..0000000000
--- a/kubernetes/docs/V1ScaleIOVolumeSource.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# KubernetesJsClient.V1ScaleIOVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional]
-**gateway** | **String** | The host address of the ScaleIO API Gateway. |
-**protectionDomain** | **String** | The name of the Protection Domain for the configured storage (defaults to \"default\"). | [optional]
-**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
-**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. |
-**sslEnabled** | **Boolean** | Flag to enable/disable SSL communication with Gateway, default false | [optional]
-**storageMode** | **String** | Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\"). | [optional]
-**storagePool** | **String** | The Storage Pool associated with the protection domain (defaults to \"default\"). | [optional]
-**system** | **String** | The name of the storage system as configured in ScaleIO. |
-**volumeName** | **String** | The name of a volume already created in the ScaleIO system that is associated with this volume source. | [optional]
-
-
diff --git a/kubernetes/docs/V1ScaleSpec.md b/kubernetes/docs/V1ScaleSpec.md
deleted file mode 100644
index a9160b8136..0000000000
--- a/kubernetes/docs/V1ScaleSpec.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1ScaleSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**replicas** | **Number** | desired number of instances for the scaled object. | [optional]
-
-
diff --git a/kubernetes/docs/V1ScaleStatus.md b/kubernetes/docs/V1ScaleStatus.md
deleted file mode 100644
index 8178b41946..0000000000
--- a/kubernetes/docs/V1ScaleStatus.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ScaleStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**replicas** | **Number** | actual number of observed instances of the scaled object. |
-**selector** | **String** | label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by kubernetes.clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-
-
diff --git a/kubernetes/docs/V1Secret.md b/kubernetes/docs/V1Secret.md
deleted file mode 100644
index 33da96a086..0000000000
--- a/kubernetes/docs/V1Secret.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1Secret
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**data** | **{String: String}** | Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**stringData** | **{String: String}** | stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. | [optional]
-**type** | **String** | Used to facilitate programmatic handling of secret data. | [optional]
-
-
diff --git a/kubernetes/docs/V1SecretEnvSource.md b/kubernetes/docs/V1SecretEnvSource.md
deleted file mode 100644
index 2b9f9487cd..0000000000
--- a/kubernetes/docs/V1SecretEnvSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1SecretEnvSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**optional** | **Boolean** | Specify whether the Secret must be defined | [optional]
-
-
diff --git a/kubernetes/docs/V1SecretKeySelector.md b/kubernetes/docs/V1SecretKeySelector.md
deleted file mode 100644
index d0cac250c5..0000000000
--- a/kubernetes/docs/V1SecretKeySelector.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1SecretKeySelector
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**key** | **String** | The key of the secret to select from. Must be a valid secret key. |
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**optional** | **Boolean** | Specify whether the Secret or it's key must be defined | [optional]
-
-
diff --git a/kubernetes/docs/V1SecretList.md b/kubernetes/docs/V1SecretList.md
deleted file mode 100644
index b12eb1d8ad..0000000000
--- a/kubernetes/docs/V1SecretList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1SecretList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1Secret]**](V1Secret.md) | Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1SecretProjection.md b/kubernetes/docs/V1SecretProjection.md
deleted file mode 100644
index 84e3b8e840..0000000000
--- a/kubernetes/docs/V1SecretProjection.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1SecretProjection
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**items** | [**[V1KeyToPath]**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional]
-**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional]
-**optional** | **Boolean** | Specify whether the Secret or its key must be defined | [optional]
-
-
diff --git a/kubernetes/docs/V1SecretVolumeSource.md b/kubernetes/docs/V1SecretVolumeSource.md
deleted file mode 100644
index d8b2ac358f..0000000000
--- a/kubernetes/docs/V1SecretVolumeSource.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1SecretVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**defaultMode** | **Number** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional]
-**items** | [**[V1KeyToPath]**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional]
-**optional** | **Boolean** | Specify whether the Secret or it's keys must be defined | [optional]
-**secretName** | **String** | Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets | [optional]
-
-
diff --git a/kubernetes/docs/V1SecurityContext.md b/kubernetes/docs/V1SecurityContext.md
deleted file mode 100644
index 382009bca8..0000000000
--- a/kubernetes/docs/V1SecurityContext.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1SecurityContext
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**capabilities** | [**V1Capabilities**](V1Capabilities.md) | The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. | [optional]
-**privileged** | **Boolean** | Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. | [optional]
-**readOnlyRootFilesystem** | **Boolean** | Whether this container has a read-only root filesystem. Default is false. | [optional]
-**runAsNonRoot** | **Boolean** | Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional]
-**runAsUser** | **Number** | The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional]
-**seLinuxOptions** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional]
-
-
diff --git a/kubernetes/docs/V1SelfSubjectAccessReview.md b/kubernetes/docs/V1SelfSubjectAccessReview.md
deleted file mode 100644
index 1d2b6ae8d5..0000000000
--- a/kubernetes/docs/V1SelfSubjectAccessReview.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1SelfSubjectAccessReview
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1SelfSubjectAccessReviewSpec**](V1SelfSubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. user and groups must be empty |
-**status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional]
-
-
diff --git a/kubernetes/docs/V1SelfSubjectAccessReviewSpec.md b/kubernetes/docs/V1SelfSubjectAccessReviewSpec.md
deleted file mode 100644
index 06dc09dfca..0000000000
--- a/kubernetes/docs/V1SelfSubjectAccessReviewSpec.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1SelfSubjectAccessReviewSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**nonResourceAttributes** | [**V1NonResourceAttributes**](V1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional]
-**resourceAttributes** | [**V1ResourceAttributes**](V1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional]
-
-
diff --git a/kubernetes/docs/V1ServerAddressByClientCIDR.md b/kubernetes/docs/V1ServerAddressByClientCIDR.md
deleted file mode 100644
index 85ebe43647..0000000000
--- a/kubernetes/docs/V1ServerAddressByClientCIDR.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1ServerAddressByClientCIDR
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**kubernetes.clientCIDR** | **String** | The CIDR with which kubernetes.clients can match their IP to figure out the server address that they should use. |
-**serverAddress** | **String** | Address of this server, suitable for a kubernetes.client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. |
-
-
diff --git a/kubernetes/docs/V1Service.md b/kubernetes/docs/V1Service.md
deleted file mode 100644
index fbf92f1cb1..0000000000
--- a/kubernetes/docs/V1Service.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1Service
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1ServiceSpec**](V1ServiceSpec.md) | Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1ServiceStatus**](V1ServiceStatus.md) | Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1ServiceAccount.md b/kubernetes/docs/V1ServiceAccount.md
deleted file mode 100644
index 47bb73ab01..0000000000
--- a/kubernetes/docs/V1ServiceAccount.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1ServiceAccount
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. | [optional]
-**imagePullSecrets** | [**[V1LocalObjectReference]**](V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**secrets** | [**[V1ObjectReference]**](V1ObjectReference.md) | Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets | [optional]
-
-
diff --git a/kubernetes/docs/V1ServiceAccountList.md b/kubernetes/docs/V1ServiceAccountList.md
deleted file mode 100644
index 809eb150c2..0000000000
--- a/kubernetes/docs/V1ServiceAccountList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ServiceAccountList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1ServiceAccount]**](V1ServiceAccount.md) | List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1ServiceList.md b/kubernetes/docs/V1ServiceList.md
deleted file mode 100644
index 4a6f333977..0000000000
--- a/kubernetes/docs/V1ServiceList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1ServiceList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1Service]**](V1Service.md) | List of services |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1ServicePort.md b/kubernetes/docs/V1ServicePort.md
deleted file mode 100644
index 54238471c4..0000000000
--- a/kubernetes/docs/V1ServicePort.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1ServicePort
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service. | [optional]
-**nodePort** | **Number** | The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport | [optional]
-**port** | **Number** | The port that will be exposed by this service. |
-**protocol** | **String** | The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP. | [optional]
-**targetPort** | **String** | Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service | [optional]
-
-
diff --git a/kubernetes/docs/V1ServiceSpec.md b/kubernetes/docs/V1ServiceSpec.md
deleted file mode 100644
index 79d732aef9..0000000000
--- a/kubernetes/docs/V1ServiceSpec.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# KubernetesJsClient.V1ServiceSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**clusterIP** | **String** | clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | [optional]
-**deprecatedPublicIPs** | **[String]** | deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used. | [optional]
-**externalIPs** | **[String]** | externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field. | [optional]
-**externalName** | **String** | externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName. | [optional]
-**loadBalancerIP** | **String** | Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. | [optional]
-**loadBalancerSourceRanges** | **[String]** | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified kubernetes.client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: http://kubernetes.io/docs/user-guide/services-firewalls | [optional]
-**ports** | [**[V1ServicePort]**](V1ServicePort.md) | The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | [optional]
-**selector** | **{String: String}** | Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview | [optional]
-**sessionAffinity** | **String** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable kubernetes.client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | [optional]
-**type** | **String** | type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview | [optional]
-
-
diff --git a/kubernetes/docs/V1ServiceStatus.md b/kubernetes/docs/V1ServiceStatus.md
deleted file mode 100644
index cc8ea5ce2e..0000000000
--- a/kubernetes/docs/V1ServiceStatus.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1ServiceStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**loadBalancer** | [**V1LoadBalancerStatus**](V1LoadBalancerStatus.md) | LoadBalancer contains the current status of the load-balancer, if one is present. | [optional]
-
-
diff --git a/kubernetes/docs/V1Status.md b/kubernetes/docs/V1Status.md
deleted file mode 100644
index 26dd11e2f8..0000000000
--- a/kubernetes/docs/V1Status.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# KubernetesJsClient.V1Status
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**code** | **Number** | Suggested HTTP return code for this status, 0 if not set. | [optional]
-**details** | [**V1StatusDetails**](V1StatusDetails.md) | Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**message** | **String** | A human-readable description of the status of this operation. | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**reason** | **String** | A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. | [optional]
-**status** | **String** | Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1StatusCause.md b/kubernetes/docs/V1StatusCause.md
deleted file mode 100644
index 075f472253..0000000000
--- a/kubernetes/docs/V1StatusCause.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1StatusCause
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**field** | **String** | The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" | [optional]
-**message** | **String** | A human-readable description of the cause of the error. This field may be presented as-is to a reader. | [optional]
-**reason** | **String** | A machine-readable description of the cause of the error. If this value is empty there is no information available. | [optional]
-
-
diff --git a/kubernetes/docs/V1StatusDetails.md b/kubernetes/docs/V1StatusDetails.md
deleted file mode 100644
index 83c5209822..0000000000
--- a/kubernetes/docs/V1StatusDetails.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1StatusDetails
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**causes** | [**[V1StatusCause]**](V1StatusCause.md) | The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. | [optional]
-**group** | **String** | The group attribute of the resource associated with the status StatusReason. | [optional]
-**kind** | **String** | The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**name** | **String** | The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). | [optional]
-**retryAfterSeconds** | **Number** | If specified, the time in seconds before the operation should be retried. | [optional]
-
-
diff --git a/kubernetes/docs/V1StorageClass.md b/kubernetes/docs/V1StorageClass.md
deleted file mode 100644
index 2fffb3ae0a..0000000000
--- a/kubernetes/docs/V1StorageClass.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1StorageClass
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**parameters** | **{String: String}** | Parameters holds the parameters for the provisioner that should create volumes of this storage class. | [optional]
-**provisioner** | **String** | Provisioner indicates the type of the provisioner. |
-
-
diff --git a/kubernetes/docs/V1StorageClassList.md b/kubernetes/docs/V1StorageClassList.md
deleted file mode 100644
index 6d1636ab64..0000000000
--- a/kubernetes/docs/V1StorageClassList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1StorageClassList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1StorageClass]**](V1StorageClass.md) | Items is the list of StorageClasses |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1SubjectAccessReview.md b/kubernetes/docs/V1SubjectAccessReview.md
deleted file mode 100644
index af96bf77e7..0000000000
--- a/kubernetes/docs/V1SubjectAccessReview.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1SubjectAccessReview
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1SubjectAccessReviewSpec**](V1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated |
-**status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional]
-
-
diff --git a/kubernetes/docs/V1SubjectAccessReviewSpec.md b/kubernetes/docs/V1SubjectAccessReviewSpec.md
deleted file mode 100644
index d6ea041f49..0000000000
--- a/kubernetes/docs/V1SubjectAccessReviewSpec.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1SubjectAccessReviewSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**extra** | **{String: [String]}** | Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. | [optional]
-**groups** | **[String]** | Groups is the groups you're testing for. | [optional]
-**nonResourceAttributes** | [**V1NonResourceAttributes**](V1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional]
-**resourceAttributes** | [**V1ResourceAttributes**](V1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional]
-**user** | **String** | User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups | [optional]
-
-
diff --git a/kubernetes/docs/V1SubjectAccessReviewStatus.md b/kubernetes/docs/V1SubjectAccessReviewStatus.md
deleted file mode 100644
index 5e4ebe6a40..0000000000
--- a/kubernetes/docs/V1SubjectAccessReviewStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1SubjectAccessReviewStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**allowed** | **Boolean** | Allowed is required. True if the action would be allowed, false otherwise. |
-**evaluationError** | **String** | EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. | [optional]
-**reason** | **String** | Reason is optional. It indicates why a request was allowed or denied. | [optional]
-
-
diff --git a/kubernetes/docs/V1TCPSocketAction.md b/kubernetes/docs/V1TCPSocketAction.md
deleted file mode 100644
index 5192ada2a9..0000000000
--- a/kubernetes/docs/V1TCPSocketAction.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1TCPSocketAction
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**port** | **String** | Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. |
-
-
diff --git a/kubernetes/docs/V1Taint.md b/kubernetes/docs/V1Taint.md
deleted file mode 100644
index 20ddfa0c6a..0000000000
--- a/kubernetes/docs/V1Taint.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1Taint
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**effect** | **String** | Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. |
-**key** | **String** | Required. The taint key to be applied to a node. |
-**timeAdded** | **Date** | TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. | [optional]
-**value** | **String** | Required. The taint value corresponding to the taint key. | [optional]
-
-
diff --git a/kubernetes/docs/V1TokenReview.md b/kubernetes/docs/V1TokenReview.md
deleted file mode 100644
index e22904df52..0000000000
--- a/kubernetes/docs/V1TokenReview.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1TokenReview
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1TokenReviewSpec**](V1TokenReviewSpec.md) | Spec holds information about the request being evaluated |
-**status** | [**V1TokenReviewStatus**](V1TokenReviewStatus.md) | Status is filled in by the server and indicates whether the request can be authenticated. | [optional]
-
-
diff --git a/kubernetes/docs/V1TokenReviewSpec.md b/kubernetes/docs/V1TokenReviewSpec.md
deleted file mode 100644
index 7cd697f246..0000000000
--- a/kubernetes/docs/V1TokenReviewSpec.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1TokenReviewSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**token** | **String** | Token is the opaque bearer token. | [optional]
-
-
diff --git a/kubernetes/docs/V1TokenReviewStatus.md b/kubernetes/docs/V1TokenReviewStatus.md
deleted file mode 100644
index a5b7a6b4bc..0000000000
--- a/kubernetes/docs/V1TokenReviewStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1TokenReviewStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**authenticated** | **Boolean** | Authenticated indicates that the token was associated with a known user. | [optional]
-**error** | **String** | Error indicates that the token couldn't be checked | [optional]
-**user** | [**V1UserInfo**](V1UserInfo.md) | User is the UserInfo associated with the provided token. | [optional]
-
-
diff --git a/kubernetes/docs/V1Toleration.md b/kubernetes/docs/V1Toleration.md
deleted file mode 100644
index 681afaaae0..0000000000
--- a/kubernetes/docs/V1Toleration.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1Toleration
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**effect** | **String** | Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. | [optional]
-**key** | **String** | Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. | [optional]
-**operator** | **String** | Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. | [optional]
-**tolerationSeconds** | **Number** | TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. | [optional]
-**value** | **String** | Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. | [optional]
-
-
diff --git a/kubernetes/docs/V1UserInfo.md b/kubernetes/docs/V1UserInfo.md
deleted file mode 100644
index 4fc51b3f55..0000000000
--- a/kubernetes/docs/V1UserInfo.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1UserInfo
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**extra** | **{String: [String]}** | Any additional information provided by the authenticator. | [optional]
-**groups** | **[String]** | The names of groups this user is a part of. | [optional]
-**uid** | **String** | A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. | [optional]
-**username** | **String** | The name that uniquely identifies this user among all active users. | [optional]
-
-
diff --git a/kubernetes/docs/V1Volume.md b/kubernetes/docs/V1Volume.md
deleted file mode 100644
index ecb3e0ab95..0000000000
--- a/kubernetes/docs/V1Volume.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# KubernetesJsClient.V1Volume
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**awsElasticBlockStore** | [**V1AWSElasticBlockStoreVolumeSource**](V1AWSElasticBlockStoreVolumeSource.md) | AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional]
-**azureDisk** | [**V1AzureDiskVolumeSource**](V1AzureDiskVolumeSource.md) | AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. | [optional]
-**azureFile** | [**V1AzureFileVolumeSource**](V1AzureFileVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional]
-**cephfs** | [**V1CephFSVolumeSource**](V1CephFSVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional]
-**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional]
-**configMap** | [**V1ConfigMapVolumeSource**](V1ConfigMapVolumeSource.md) | ConfigMap represents a configMap that should populate this volume | [optional]
-**downwardAPI** | [**V1DownwardAPIVolumeSource**](V1DownwardAPIVolumeSource.md) | DownwardAPI represents downward API about the pod that should populate this volume | [optional]
-**emptyDir** | [**V1EmptyDirVolumeSource**](V1EmptyDirVolumeSource.md) | EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | [optional]
-**fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional]
-**flexVolume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. | [optional]
-**flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running | [optional]
-**gcePersistentDisk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional]
-**gitRepo** | [**V1GitRepoVolumeSource**](V1GitRepoVolumeSource.md) | GitRepo represents a git repository at a particular revision. | [optional]
-**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional]
-**hostPath** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath | [optional]
-**iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md | [optional]
-**name** | **String** | Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names |
-**nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional]
-**persistentVolumeClaim** | [**V1PersistentVolumeClaimVolumeSource**](V1PersistentVolumeClaimVolumeSource.md) | PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional]
-**photonPersistentDisk** | [**V1PhotonPersistentDiskVolumeSource**](V1PhotonPersistentDiskVolumeSource.md) | PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine | [optional]
-**portworxVolume** | [**V1PortworxVolumeSource**](V1PortworxVolumeSource.md) | PortworxVolume represents a portworx volume attached and mounted on kubelets host machine | [optional]
-**projected** | [**V1ProjectedVolumeSource**](V1ProjectedVolumeSource.md) | Items for all in one resources secrets, configmaps, and downward API | [optional]
-**quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod's lifetime | [optional]
-**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional]
-**scaleIO** | [**V1ScaleIOVolumeSource**](V1ScaleIOVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional]
-**secret** | [**V1SecretVolumeSource**](V1SecretVolumeSource.md) | Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets | [optional]
-**vsphereVolume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [optional]
-
-
diff --git a/kubernetes/docs/V1VolumeMount.md b/kubernetes/docs/V1VolumeMount.md
deleted file mode 100644
index 2e6d28f995..0000000000
--- a/kubernetes/docs/V1VolumeMount.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1VolumeMount
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**mountPath** | **String** | Path within the container at which the volume should be mounted. Must not contain ':'. |
-**name** | **String** | This must match the Name of a Volume. |
-**readOnly** | **Boolean** | Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. | [optional]
-**subPath** | **String** | Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root). | [optional]
-
-
diff --git a/kubernetes/docs/V1VolumeProjection.md b/kubernetes/docs/V1VolumeProjection.md
deleted file mode 100644
index c1a24bab1f..0000000000
--- a/kubernetes/docs/V1VolumeProjection.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1VolumeProjection
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**configMap** | [**V1ConfigMapProjection**](V1ConfigMapProjection.md) | information about the configMap data to project | [optional]
-**downwardAPI** | [**V1DownwardAPIProjection**](V1DownwardAPIProjection.md) | information about the downwardAPI data to project | [optional]
-**secret** | [**V1SecretProjection**](V1SecretProjection.md) | information about the secret data to project | [optional]
-
-
diff --git a/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md b/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md
deleted file mode 100644
index 4daf3b448e..0000000000
--- a/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1VsphereVirtualDiskVolumeSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional]
-**volumePath** | **String** | Path that identifies vSphere volume vmdk |
-
-
diff --git a/kubernetes/docs/V1WatchEvent.md b/kubernetes/docs/V1WatchEvent.md
deleted file mode 100644
index ff2f9253d6..0000000000
--- a/kubernetes/docs/V1WatchEvent.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1WatchEvent
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**_object** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context. |
-**type** | **String** | |
-
-
diff --git a/kubernetes/docs/V1WeightedPodAffinityTerm.md b/kubernetes/docs/V1WeightedPodAffinityTerm.md
deleted file mode 100644
index 3cd27d63c0..0000000000
--- a/kubernetes/docs/V1WeightedPodAffinityTerm.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1WeightedPodAffinityTerm
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**podAffinityTerm** | [**V1PodAffinityTerm**](V1PodAffinityTerm.md) | Required. A pod affinity term, associated with the corresponding weight. |
-**weight** | **Number** | weight associated with matching the corresponding podAffinityTerm, in the range 1-100. |
-
-
diff --git a/kubernetes/docs/V1alpha1ClusterRole.md b/kubernetes/docs/V1alpha1ClusterRole.md
deleted file mode 100644
index e05598fef8..0000000000
--- a/kubernetes/docs/V1alpha1ClusterRole.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1ClusterRole
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional]
-**rules** | [**[V1alpha1PolicyRule]**](V1alpha1PolicyRule.md) | Rules holds all the PolicyRules for this ClusterRole |
-
-
diff --git a/kubernetes/docs/V1alpha1ClusterRoleBinding.md b/kubernetes/docs/V1alpha1ClusterRoleBinding.md
deleted file mode 100644
index 63d11056af..0000000000
--- a/kubernetes/docs/V1alpha1ClusterRoleBinding.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1alpha1ClusterRoleBinding
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional]
-**roleRef** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. |
-**subjects** | [**[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. |
-
-
diff --git a/kubernetes/docs/V1alpha1ClusterRoleBindingList.md b/kubernetes/docs/V1alpha1ClusterRoleBindingList.md
deleted file mode 100644
index 4e6991fc97..0000000000
--- a/kubernetes/docs/V1alpha1ClusterRoleBindingList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1ClusterRoleBindingList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1alpha1ClusterRoleBinding]**](V1alpha1ClusterRoleBinding.md) | Items is a list of ClusterRoleBindings |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1alpha1ClusterRoleList.md b/kubernetes/docs/V1alpha1ClusterRoleList.md
deleted file mode 100644
index 13b4307954..0000000000
--- a/kubernetes/docs/V1alpha1ClusterRoleList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1ClusterRoleList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1alpha1ClusterRole]**](V1alpha1ClusterRole.md) | Items is a list of ClusterRoles |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1alpha1PodPreset.md b/kubernetes/docs/V1alpha1PodPreset.md
deleted file mode 100644
index 381f81d690..0000000000
--- a/kubernetes/docs/V1alpha1PodPreset.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1PodPreset
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1alpha1PodPresetSpec**](V1alpha1PodPresetSpec.md) | | [optional]
-
-
diff --git a/kubernetes/docs/V1alpha1PodPresetList.md b/kubernetes/docs/V1alpha1PodPresetList.md
deleted file mode 100644
index 3b8fc2db88..0000000000
--- a/kubernetes/docs/V1alpha1PodPresetList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1PodPresetList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1alpha1PodPreset]**](V1alpha1PodPreset.md) | Items is a list of schema objects. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1alpha1PodPresetSpec.md b/kubernetes/docs/V1alpha1PodPresetSpec.md
deleted file mode 100644
index 4818501eb2..0000000000
--- a/kubernetes/docs/V1alpha1PodPresetSpec.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1alpha1PodPresetSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**env** | [**[V1EnvVar]**](V1EnvVar.md) | Env defines the collection of EnvVar to inject into containers. | [optional]
-**envFrom** | [**[V1EnvFromSource]**](V1EnvFromSource.md) | EnvFrom defines the collection of EnvFromSource to inject into containers. | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over a set of resources, in this case pods. Required. | [optional]
-**volumeMounts** | [**[V1VolumeMount]**](V1VolumeMount.md) | VolumeMounts defines the collection of VolumeMount to inject into containers. | [optional]
-**volumes** | [**[V1Volume]**](V1Volume.md) | Volumes defines the collection of Volume to inject into the pod. | [optional]
-
-
diff --git a/kubernetes/docs/V1alpha1PolicyRule.md b/kubernetes/docs/V1alpha1PolicyRule.md
deleted file mode 100644
index 45d1cfe4a0..0000000000
--- a/kubernetes/docs/V1alpha1PolicyRule.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1alpha1PolicyRule
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiGroups** | **[String]** | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. | [optional]
-**nonResourceURLs** | **[String]** | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. | [optional]
-**resourceNames** | **[String]** | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. | [optional]
-**resources** | **[String]** | Resources is a list of resources this rule applies to. ResourceAll represents all resources. | [optional]
-**verbs** | **[String]** | Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. |
-
-
diff --git a/kubernetes/docs/V1alpha1Role.md b/kubernetes/docs/V1alpha1Role.md
deleted file mode 100644
index fb79cd1858..0000000000
--- a/kubernetes/docs/V1alpha1Role.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1Role
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional]
-**rules** | [**[V1alpha1PolicyRule]**](V1alpha1PolicyRule.md) | Rules holds all the PolicyRules for this Role |
-
-
diff --git a/kubernetes/docs/V1alpha1RoleBinding.md b/kubernetes/docs/V1alpha1RoleBinding.md
deleted file mode 100644
index 433a727556..0000000000
--- a/kubernetes/docs/V1alpha1RoleBinding.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1alpha1RoleBinding
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional]
-**roleRef** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. |
-**subjects** | [**[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. |
-
-
diff --git a/kubernetes/docs/V1alpha1RoleBindingList.md b/kubernetes/docs/V1alpha1RoleBindingList.md
deleted file mode 100644
index 7611f9c391..0000000000
--- a/kubernetes/docs/V1alpha1RoleBindingList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1RoleBindingList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1alpha1RoleBinding]**](V1alpha1RoleBinding.md) | Items is a list of RoleBindings |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1alpha1RoleList.md b/kubernetes/docs/V1alpha1RoleList.md
deleted file mode 100644
index cd8cdae9fa..0000000000
--- a/kubernetes/docs/V1alpha1RoleList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1RoleList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1alpha1Role]**](V1alpha1Role.md) | Items is a list of Roles |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1alpha1RoleRef.md b/kubernetes/docs/V1alpha1RoleRef.md
deleted file mode 100644
index 3a6a358030..0000000000
--- a/kubernetes/docs/V1alpha1RoleRef.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1alpha1RoleRef
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiGroup** | **String** | APIGroup is the group for the resource being referenced |
-**kind** | **String** | Kind is the type of resource being referenced |
-**name** | **String** | Name is the name of resource being referenced |
-
-
diff --git a/kubernetes/docs/V1alpha1Subject.md b/kubernetes/docs/V1alpha1Subject.md
deleted file mode 100644
index fbf3fd29bb..0000000000
--- a/kubernetes/docs/V1alpha1Subject.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1alpha1Subject
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects. | [optional]
-**kind** | **String** | Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. |
-**name** | **String** | Name of the object being referenced. |
-**namespace** | **String** | Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1APIVersion.md b/kubernetes/docs/V1beta1APIVersion.md
deleted file mode 100644
index 985eef3efa..0000000000
--- a/kubernetes/docs/V1beta1APIVersion.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1beta1APIVersion
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | Name of this version (e.g. 'v1'). | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1CertificateSigningRequest.md b/kubernetes/docs/V1beta1CertificateSigningRequest.md
deleted file mode 100644
index 231c1d12eb..0000000000
--- a/kubernetes/docs/V1beta1CertificateSigningRequest.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1CertificateSigningRequest
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1beta1CertificateSigningRequestSpec**](V1beta1CertificateSigningRequestSpec.md) | The certificate request itself and any additional information. | [optional]
-**status** | [**V1beta1CertificateSigningRequestStatus**](V1beta1CertificateSigningRequestStatus.md) | Derived information about the request. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1CertificateSigningRequestCondition.md b/kubernetes/docs/V1beta1CertificateSigningRequestCondition.md
deleted file mode 100644
index ffd55a11dd..0000000000
--- a/kubernetes/docs/V1beta1CertificateSigningRequestCondition.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1CertificateSigningRequestCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastUpdateTime** | **Date** | timestamp for the last update to this condition | [optional]
-**message** | **String** | human readable message with details about the request state | [optional]
-**reason** | **String** | brief reason for the request state | [optional]
-**type** | **String** | request approval state, currently Approved or Denied. |
-
-
diff --git a/kubernetes/docs/V1beta1CertificateSigningRequestList.md b/kubernetes/docs/V1beta1CertificateSigningRequestList.md
deleted file mode 100644
index 28d1ee206e..0000000000
--- a/kubernetes/docs/V1beta1CertificateSigningRequestList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1CertificateSigningRequestList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1CertificateSigningRequest]**](V1beta1CertificateSigningRequest.md) | |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1CertificateSigningRequestSpec.md b/kubernetes/docs/V1beta1CertificateSigningRequestSpec.md
deleted file mode 100644
index 15cb524821..0000000000
--- a/kubernetes/docs/V1beta1CertificateSigningRequestSpec.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1beta1CertificateSigningRequestSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**extra** | **{String: [String]}** | Extra information about the requesting user. See user.Info interface for details. | [optional]
-**groups** | **[String]** | Group information about the requesting user. See user.Info interface for details. | [optional]
-**request** | **String** | Base64-encoded PKCS#10 CSR data |
-**uid** | **String** | UID information about the requesting user. See user.Info interface for details. | [optional]
-**usages** | **[String]** | allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12 | [optional]
-**username** | **String** | Information about the requesting user. See user.Info interface for details. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1CertificateSigningRequestStatus.md b/kubernetes/docs/V1beta1CertificateSigningRequestStatus.md
deleted file mode 100644
index b6df800183..0000000000
--- a/kubernetes/docs/V1beta1CertificateSigningRequestStatus.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1CertificateSigningRequestStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**certificate** | **String** | If request was approved, the controller will place the issued certificate here. | [optional]
-**conditions** | [**[V1beta1CertificateSigningRequestCondition]**](V1beta1CertificateSigningRequestCondition.md) | Conditions applied to the request, such as approval or denial. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1ClusterRole.md b/kubernetes/docs/V1beta1ClusterRole.md
deleted file mode 100644
index 2294ecb83b..0000000000
--- a/kubernetes/docs/V1beta1ClusterRole.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1ClusterRole
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional]
-**rules** | [**[V1beta1PolicyRule]**](V1beta1PolicyRule.md) | Rules holds all the PolicyRules for this ClusterRole |
-
-
diff --git a/kubernetes/docs/V1beta1ClusterRoleBinding.md b/kubernetes/docs/V1beta1ClusterRoleBinding.md
deleted file mode 100644
index 4e9722dadd..0000000000
--- a/kubernetes/docs/V1beta1ClusterRoleBinding.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1ClusterRoleBinding
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional]
-**roleRef** | [**V1beta1RoleRef**](V1beta1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. |
-**subjects** | [**[V1beta1Subject]**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. |
-
-
diff --git a/kubernetes/docs/V1beta1ClusterRoleBindingList.md b/kubernetes/docs/V1beta1ClusterRoleBindingList.md
deleted file mode 100644
index 2442c85b03..0000000000
--- a/kubernetes/docs/V1beta1ClusterRoleBindingList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1ClusterRoleBindingList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1ClusterRoleBinding]**](V1beta1ClusterRoleBinding.md) | Items is a list of ClusterRoleBindings |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1ClusterRoleList.md b/kubernetes/docs/V1beta1ClusterRoleList.md
deleted file mode 100644
index 0f92974955..0000000000
--- a/kubernetes/docs/V1beta1ClusterRoleList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1ClusterRoleList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1ClusterRole]**](V1beta1ClusterRole.md) | Items is a list of ClusterRoles |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1DaemonSet.md b/kubernetes/docs/V1beta1DaemonSet.md
deleted file mode 100644
index e5d39ab300..0000000000
--- a/kubernetes/docs/V1beta1DaemonSet.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1DaemonSet
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1beta1DaemonSetSpec**](V1beta1DaemonSetSpec.md) | The desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1beta1DaemonSetStatus**](V1beta1DaemonSetStatus.md) | The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1DaemonSetList.md b/kubernetes/docs/V1beta1DaemonSetList.md
deleted file mode 100644
index 8765850028..0000000000
--- a/kubernetes/docs/V1beta1DaemonSetList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1DaemonSetList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1DaemonSet]**](V1beta1DaemonSet.md) | A list of daemon sets. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1DaemonSetSpec.md b/kubernetes/docs/V1beta1DaemonSetSpec.md
deleted file mode 100644
index 952fcdcd94..0000000000
--- a/kubernetes/docs/V1beta1DaemonSetSpec.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1DaemonSetSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**minReadySeconds** | **Number** | The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template |
-**templateGeneration** | **Number** | A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation. | [optional]
-**updateStrategy** | [**V1beta1DaemonSetUpdateStrategy**](V1beta1DaemonSetUpdateStrategy.md) | An update strategy to replace existing DaemonSet pods with new pods. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1DaemonSetStatus.md b/kubernetes/docs/V1beta1DaemonSetStatus.md
deleted file mode 100644
index 4df0d4278d..0000000000
--- a/kubernetes/docs/V1beta1DaemonSetStatus.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# KubernetesJsClient.V1beta1DaemonSetStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**currentNumberScheduled** | **Number** | The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md |
-**desiredNumberScheduled** | **Number** | The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md |
-**numberAvailable** | **Number** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional]
-**numberMisscheduled** | **Number** | The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md |
-**numberReady** | **Number** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. |
-**numberUnavailable** | **Number** | The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional]
-**observedGeneration** | **Number** | The most recent generation observed by the daemon set controller. | [optional]
-**updatedNumberScheduled** | **Number** | The total number of nodes that are running updated daemon pod | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1DaemonSetUpdateStrategy.md b/kubernetes/docs/V1beta1DaemonSetUpdateStrategy.md
deleted file mode 100644
index 74ddfc40f8..0000000000
--- a/kubernetes/docs/V1beta1DaemonSetUpdateStrategy.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1DaemonSetUpdateStrategy
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**rollingUpdate** | [**V1beta1RollingUpdateDaemonSet**](V1beta1RollingUpdateDaemonSet.md) | Rolling update config params. Present only if type = \"RollingUpdate\". | [optional]
-**type** | **String** | Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1Eviction.md b/kubernetes/docs/V1beta1Eviction.md
deleted file mode 100644
index 5e0c96a423..0000000000
--- a/kubernetes/docs/V1beta1Eviction.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1Eviction
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**deleteOptions** | [**V1DeleteOptions**](V1DeleteOptions.md) | DeleteOptions may be provided | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | ObjectMeta describes the pod that is being evicted. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1FSGroupStrategyOptions.md b/kubernetes/docs/V1beta1FSGroupStrategyOptions.md
deleted file mode 100644
index 14a4675bad..0000000000
--- a/kubernetes/docs/V1beta1FSGroupStrategyOptions.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1FSGroupStrategyOptions
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ranges** | [**[V1beta1IDRange]**](V1beta1IDRange.md) | Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. | [optional]
-**rule** | **String** | Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1HTTPIngressPath.md b/kubernetes/docs/V1beta1HTTPIngressPath.md
deleted file mode 100644
index baa6e39016..0000000000
--- a/kubernetes/docs/V1beta1HTTPIngressPath.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1HTTPIngressPath
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**backend** | [**V1beta1IngressBackend**](V1beta1IngressBackend.md) | Backend defines the referenced service endpoint to which the traffic will be forwarded to. |
-**path** | **String** | Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1HTTPIngressRuleValue.md b/kubernetes/docs/V1beta1HTTPIngressRuleValue.md
deleted file mode 100644
index dfbcd66cb5..0000000000
--- a/kubernetes/docs/V1beta1HTTPIngressRuleValue.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1beta1HTTPIngressRuleValue
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**paths** | [**[V1beta1HTTPIngressPath]**](V1beta1HTTPIngressPath.md) | A collection of paths that map requests to backends. |
-
-
diff --git a/kubernetes/docs/V1beta1HostPortRange.md b/kubernetes/docs/V1beta1HostPortRange.md
deleted file mode 100644
index cdd924fd5e..0000000000
--- a/kubernetes/docs/V1beta1HostPortRange.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1HostPortRange
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**max** | **Number** | max is the end of the range, inclusive. |
-**min** | **Number** | min is the start of the range, inclusive. |
-
-
diff --git a/kubernetes/docs/V1beta1IDRange.md b/kubernetes/docs/V1beta1IDRange.md
deleted file mode 100644
index ec9931a824..0000000000
--- a/kubernetes/docs/V1beta1IDRange.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1IDRange
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**max** | **Number** | Max is the end of the range, inclusive. |
-**min** | **Number** | Min is the start of the range, inclusive. |
-
-
diff --git a/kubernetes/docs/V1beta1Ingress.md b/kubernetes/docs/V1beta1Ingress.md
deleted file mode 100644
index b0b04a3f4e..0000000000
--- a/kubernetes/docs/V1beta1Ingress.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1Ingress
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1beta1IngressSpec**](V1beta1IngressSpec.md) | Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1beta1IngressStatus**](V1beta1IngressStatus.md) | Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1IngressBackend.md b/kubernetes/docs/V1beta1IngressBackend.md
deleted file mode 100644
index 969ef4bc50..0000000000
--- a/kubernetes/docs/V1beta1IngressBackend.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1IngressBackend
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**serviceName** | **String** | Specifies the name of the referenced service. |
-**servicePort** | **String** | Specifies the port of the referenced service. |
-
-
diff --git a/kubernetes/docs/V1beta1IngressList.md b/kubernetes/docs/V1beta1IngressList.md
deleted file mode 100644
index 69a758dbf3..0000000000
--- a/kubernetes/docs/V1beta1IngressList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1IngressList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1Ingress]**](V1beta1Ingress.md) | Items is the list of Ingress. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1IngressRule.md b/kubernetes/docs/V1beta1IngressRule.md
deleted file mode 100644
index d2080622ef..0000000000
--- a/kubernetes/docs/V1beta1IngressRule.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1IngressRule
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**host** | **String** | Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. | [optional]
-**http** | [**V1beta1HTTPIngressRuleValue**](V1beta1HTTPIngressRuleValue.md) | | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1IngressSpec.md b/kubernetes/docs/V1beta1IngressSpec.md
deleted file mode 100644
index 86a3516e2f..0000000000
--- a/kubernetes/docs/V1beta1IngressSpec.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1beta1IngressSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**backend** | [**V1beta1IngressBackend**](V1beta1IngressBackend.md) | A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default. | [optional]
-**rules** | [**[V1beta1IngressRule]**](V1beta1IngressRule.md) | A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. | [optional]
-**tls** | [**[V1beta1IngressTLS]**](V1beta1IngressTLS.md) | TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1IngressStatus.md b/kubernetes/docs/V1beta1IngressStatus.md
deleted file mode 100644
index c3cf8fd55f..0000000000
--- a/kubernetes/docs/V1beta1IngressStatus.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1beta1IngressStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**loadBalancer** | [**V1LoadBalancerStatus**](V1LoadBalancerStatus.md) | LoadBalancer contains the current status of the load-balancer. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1IngressTLS.md b/kubernetes/docs/V1beta1IngressTLS.md
deleted file mode 100644
index fceb303204..0000000000
--- a/kubernetes/docs/V1beta1IngressTLS.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1IngressTLS
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**hosts** | **[String]** | Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. | [optional]
-**secretName** | **String** | SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1LocalSubjectAccessReview.md b/kubernetes/docs/V1beta1LocalSubjectAccessReview.md
deleted file mode 100644
index 4b3fefe958..0000000000
--- a/kubernetes/docs/V1beta1LocalSubjectAccessReview.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1LocalSubjectAccessReview
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1beta1SubjectAccessReviewSpec**](V1beta1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. |
-**status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1NetworkPolicy.md b/kubernetes/docs/V1beta1NetworkPolicy.md
deleted file mode 100644
index 0895762c11..0000000000
--- a/kubernetes/docs/V1beta1NetworkPolicy.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1NetworkPolicy
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1beta1NetworkPolicySpec**](V1beta1NetworkPolicySpec.md) | Specification of the desired behavior for this NetworkPolicy. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1NetworkPolicyIngressRule.md b/kubernetes/docs/V1beta1NetworkPolicyIngressRule.md
deleted file mode 100644
index 74d993558f..0000000000
--- a/kubernetes/docs/V1beta1NetworkPolicyIngressRule.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1NetworkPolicyIngressRule
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**from** | [**[V1beta1NetworkPolicyPeer]**](V1beta1NetworkPolicyPeer.md) | List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. | [optional]
-**ports** | [**[V1beta1NetworkPolicyPort]**](V1beta1NetworkPolicyPort.md) | List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is not provided, this rule matches all ports (traffic not restricted by port). If this field is empty, this rule matches no ports (no traffic matches). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1NetworkPolicyList.md b/kubernetes/docs/V1beta1NetworkPolicyList.md
deleted file mode 100644
index e556b8010d..0000000000
--- a/kubernetes/docs/V1beta1NetworkPolicyList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1NetworkPolicyList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1NetworkPolicy]**](V1beta1NetworkPolicy.md) | Items is a list of schema objects. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1NetworkPolicyPeer.md b/kubernetes/docs/V1beta1NetworkPolicyPeer.md
deleted file mode 100644
index 17f9ec411b..0000000000
--- a/kubernetes/docs/V1beta1NetworkPolicyPeer.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1NetworkPolicyPeer
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespaceSelector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces. | [optional]
-**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1NetworkPolicyPort.md b/kubernetes/docs/V1beta1NetworkPolicyPort.md
deleted file mode 100644
index 0b52cec7b6..0000000000
--- a/kubernetes/docs/V1beta1NetworkPolicyPort.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1NetworkPolicyPort
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**port** | **String** | If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. | [optional]
-**protocol** | **String** | Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1NetworkPolicySpec.md b/kubernetes/docs/V1beta1NetworkPolicySpec.md
deleted file mode 100644
index 9b573b7021..0000000000
--- a/kubernetes/docs/V1beta1NetworkPolicySpec.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1NetworkPolicySpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ingress** | [**[V1beta1NetworkPolicyIngressRule]**](V1beta1NetworkPolicyIngressRule.md) | List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list. | [optional]
-**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. |
-
-
diff --git a/kubernetes/docs/V1beta1NonResourceAttributes.md b/kubernetes/docs/V1beta1NonResourceAttributes.md
deleted file mode 100644
index 488b7cce05..0000000000
--- a/kubernetes/docs/V1beta1NonResourceAttributes.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1NonResourceAttributes
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**path** | **String** | Path is the URL path of the request | [optional]
-**verb** | **String** | Verb is the standard HTTP verb | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1PodDisruptionBudget.md b/kubernetes/docs/V1beta1PodDisruptionBudget.md
deleted file mode 100644
index 84618a6842..0000000000
--- a/kubernetes/docs/V1beta1PodDisruptionBudget.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1PodDisruptionBudget
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1beta1PodDisruptionBudgetSpec**](V1beta1PodDisruptionBudgetSpec.md) | Specification of the desired behavior of the PodDisruptionBudget. | [optional]
-**status** | [**V1beta1PodDisruptionBudgetStatus**](V1beta1PodDisruptionBudgetStatus.md) | Most recently observed status of the PodDisruptionBudget. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetList.md b/kubernetes/docs/V1beta1PodDisruptionBudgetList.md
deleted file mode 100644
index d574a8420a..0000000000
--- a/kubernetes/docs/V1beta1PodDisruptionBudgetList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1PodDisruptionBudgetList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1PodDisruptionBudget]**](V1beta1PodDisruptionBudget.md) | |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetSpec.md b/kubernetes/docs/V1beta1PodDisruptionBudgetSpec.md
deleted file mode 100644
index e62dd4fb37..0000000000
--- a/kubernetes/docs/V1beta1PodDisruptionBudgetSpec.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1PodDisruptionBudgetSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**minAvailable** | **String** | An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\". | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label query over pods whose evictions are managed by the disruption budget. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md b/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md
deleted file mode 100644
index b27d823698..0000000000
--- a/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1beta1PodDisruptionBudgetStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**currentHealthy** | **Number** | current number of healthy pods |
-**desiredHealthy** | **Number** | minimum desired number of healthy pods |
-**disruptedPods** | **{String: Date}** | DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. |
-**disruptionsAllowed** | **Number** | Number of pod disruptions that are currently allowed. |
-**expectedPods** | **Number** | total number of pods counted by this disruption budget |
-**observedGeneration** | **Number** | Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1PodSecurityPolicy.md b/kubernetes/docs/V1beta1PodSecurityPolicy.md
deleted file mode 100644
index 99ca895d79..0000000000
--- a/kubernetes/docs/V1beta1PodSecurityPolicy.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1PodSecurityPolicy
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1beta1PodSecurityPolicySpec**](V1beta1PodSecurityPolicySpec.md) | spec defines the policy enforced. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1PodSecurityPolicyList.md b/kubernetes/docs/V1beta1PodSecurityPolicyList.md
deleted file mode 100644
index 0cbf81d3fc..0000000000
--- a/kubernetes/docs/V1beta1PodSecurityPolicyList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1PodSecurityPolicyList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1PodSecurityPolicy]**](V1beta1PodSecurityPolicy.md) | Items is a list of schema objects. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1PodSecurityPolicySpec.md b/kubernetes/docs/V1beta1PodSecurityPolicySpec.md
deleted file mode 100644
index 311b05476b..0000000000
--- a/kubernetes/docs/V1beta1PodSecurityPolicySpec.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# KubernetesJsClient.V1beta1PodSecurityPolicySpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**allowedCapabilities** | **[String]** | AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. | [optional]
-**defaultAddCapabilities** | **[String]** | DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities. | [optional]
-**fsGroup** | [**V1beta1FSGroupStrategyOptions**](V1beta1FSGroupStrategyOptions.md) | FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. |
-**hostIPC** | **Boolean** | hostIPC determines if the policy allows the use of HostIPC in the pod spec. | [optional]
-**hostNetwork** | **Boolean** | hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. | [optional]
-**hostPID** | **Boolean** | hostPID determines if the policy allows the use of HostPID in the pod spec. | [optional]
-**hostPorts** | [**[V1beta1HostPortRange]**](V1beta1HostPortRange.md) | hostPorts determines which host port ranges are allowed to be exposed. | [optional]
-**privileged** | **Boolean** | privileged determines if a pod can request to be run as privileged. | [optional]
-**readOnlyRootFilesystem** | **Boolean** | ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional]
-**requiredDropCapabilities** | **[String]** | RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional]
-**runAsUser** | [**V1beta1RunAsUserStrategyOptions**](V1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. |
-**seLinux** | [**V1beta1SELinuxStrategyOptions**](V1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. |
-**supplementalGroups** | [**V1beta1SupplementalGroupsStrategyOptions**](V1beta1SupplementalGroupsStrategyOptions.md) | SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. |
-**volumes** | **[String]** | volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1PolicyRule.md b/kubernetes/docs/V1beta1PolicyRule.md
deleted file mode 100644
index ec2849de7c..0000000000
--- a/kubernetes/docs/V1beta1PolicyRule.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1PolicyRule
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiGroups** | **[String]** | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. | [optional]
-**nonResourceURLs** | **[String]** | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. | [optional]
-**resourceNames** | **[String]** | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. | [optional]
-**resources** | **[String]** | Resources is a list of resources this rule applies to. ResourceAll represents all resources. | [optional]
-**verbs** | **[String]** | Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. |
-
-
diff --git a/kubernetes/docs/V1beta1ReplicaSet.md b/kubernetes/docs/V1beta1ReplicaSet.md
deleted file mode 100644
index 8ccc17cc18..0000000000
--- a/kubernetes/docs/V1beta1ReplicaSet.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1ReplicaSet
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1beta1ReplicaSetSpec**](V1beta1ReplicaSetSpec.md) | Spec defines the specification of the desired behavior of the ReplicaSet. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V1beta1ReplicaSetStatus**](V1beta1ReplicaSetStatus.md) | Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1ReplicaSetCondition.md b/kubernetes/docs/V1beta1ReplicaSetCondition.md
deleted file mode 100644
index 58dda04fd2..0000000000
--- a/kubernetes/docs/V1beta1ReplicaSetCondition.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1ReplicaSetCondition
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastTransitionTime** | **Date** | The last time the condition transitioned from one status to another. | [optional]
-**message** | **String** | A human readable message indicating details about the transition. | [optional]
-**reason** | **String** | The reason for the condition's last transition. | [optional]
-**status** | **String** | Status of the condition, one of True, False, Unknown. |
-**type** | **String** | Type of replica set condition. |
-
-
diff --git a/kubernetes/docs/V1beta1ReplicaSetList.md b/kubernetes/docs/V1beta1ReplicaSetList.md
deleted file mode 100644
index dcabc91599..0000000000
--- a/kubernetes/docs/V1beta1ReplicaSetList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1ReplicaSetList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1ReplicaSet]**](V1beta1ReplicaSet.md) | List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1ReplicaSetSpec.md b/kubernetes/docs/V1beta1ReplicaSetSpec.md
deleted file mode 100644
index 0a59847398..0000000000
--- a/kubernetes/docs/V1beta1ReplicaSetSpec.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1ReplicaSetSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**minReadySeconds** | **Number** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional]
-**replicas** | **Number** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1ReplicaSetStatus.md b/kubernetes/docs/V1beta1ReplicaSetStatus.md
deleted file mode 100644
index 39c3f6e1cc..0000000000
--- a/kubernetes/docs/V1beta1ReplicaSetStatus.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# KubernetesJsClient.V1beta1ReplicaSetStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**availableReplicas** | **Number** | The number of available replicas (ready for at least minReadySeconds) for this replica set. | [optional]
-**conditions** | [**[V1beta1ReplicaSetCondition]**](V1beta1ReplicaSetCondition.md) | Represents the latest available observations of a replica set's current state. | [optional]
-**fullyLabeledReplicas** | **Number** | The number of pods that have labels matching the labels of the pod template of the replicaset. | [optional]
-**observedGeneration** | **Number** | ObservedGeneration reflects the generation of the most recently observed ReplicaSet. | [optional]
-**readyReplicas** | **Number** | The number of ready replicas for this replica set. | [optional]
-**replicas** | **Number** | Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller |
-
-
diff --git a/kubernetes/docs/V1beta1ResourceAttributes.md b/kubernetes/docs/V1beta1ResourceAttributes.md
deleted file mode 100644
index df4575354a..0000000000
--- a/kubernetes/docs/V1beta1ResourceAttributes.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# KubernetesJsClient.V1beta1ResourceAttributes
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**group** | **String** | Group is the API Group of the Resource. \"*\" means all. | [optional]
-**name** | **String** | Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. | [optional]
-**namespace** | **String** | Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview | [optional]
-**resource** | **String** | Resource is one of the existing resource types. \"*\" means all. | [optional]
-**subresource** | **String** | Subresource is one of the existing resource types. \"\" means none. | [optional]
-**verb** | **String** | Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all. | [optional]
-**version** | **String** | Version is the API Version of the Resource. \"*\" means all. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1Role.md b/kubernetes/docs/V1beta1Role.md
deleted file mode 100644
index fc7f266a3c..0000000000
--- a/kubernetes/docs/V1beta1Role.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1Role
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional]
-**rules** | [**[V1beta1PolicyRule]**](V1beta1PolicyRule.md) | Rules holds all the PolicyRules for this Role |
-
-
diff --git a/kubernetes/docs/V1beta1RoleBinding.md b/kubernetes/docs/V1beta1RoleBinding.md
deleted file mode 100644
index 1c894811a6..0000000000
--- a/kubernetes/docs/V1beta1RoleBinding.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1RoleBinding
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional]
-**roleRef** | [**V1beta1RoleRef**](V1beta1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. |
-**subjects** | [**[V1beta1Subject]**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. |
-
-
diff --git a/kubernetes/docs/V1beta1RoleBindingList.md b/kubernetes/docs/V1beta1RoleBindingList.md
deleted file mode 100644
index 81cd7eb694..0000000000
--- a/kubernetes/docs/V1beta1RoleBindingList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1RoleBindingList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1RoleBinding]**](V1beta1RoleBinding.md) | Items is a list of RoleBindings |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1RoleList.md b/kubernetes/docs/V1beta1RoleList.md
deleted file mode 100644
index e5e4cf7434..0000000000
--- a/kubernetes/docs/V1beta1RoleList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1RoleList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1Role]**](V1beta1Role.md) | Items is a list of Roles |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1RoleRef.md b/kubernetes/docs/V1beta1RoleRef.md
deleted file mode 100644
index 8826f71090..0000000000
--- a/kubernetes/docs/V1beta1RoleRef.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1beta1RoleRef
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiGroup** | **String** | APIGroup is the group for the resource being referenced |
-**kind** | **String** | Kind is the type of resource being referenced |
-**name** | **String** | Name is the name of resource being referenced |
-
-
diff --git a/kubernetes/docs/V1beta1RollingUpdateDaemonSet.md b/kubernetes/docs/V1beta1RollingUpdateDaemonSet.md
deleted file mode 100644
index 6bc82c1f10..0000000000
--- a/kubernetes/docs/V1beta1RollingUpdateDaemonSet.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1beta1RollingUpdateDaemonSet
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**maxUnavailable** | **String** | The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1RunAsUserStrategyOptions.md b/kubernetes/docs/V1beta1RunAsUserStrategyOptions.md
deleted file mode 100644
index 342a780391..0000000000
--- a/kubernetes/docs/V1beta1RunAsUserStrategyOptions.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1RunAsUserStrategyOptions
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ranges** | [**[V1beta1IDRange]**](V1beta1IDRange.md) | Ranges are the allowed ranges of uids that may be used. | [optional]
-**rule** | **String** | Rule is the strategy that will dictate the allowable RunAsUser values that may be set. |
-
-
diff --git a/kubernetes/docs/V1beta1SELinuxStrategyOptions.md b/kubernetes/docs/V1beta1SELinuxStrategyOptions.md
deleted file mode 100644
index 92b1eea021..0000000000
--- a/kubernetes/docs/V1beta1SELinuxStrategyOptions.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1SELinuxStrategyOptions
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**rule** | **String** | type is the strategy that will dictate the allowable labels that may be set. |
-**seLinuxOptions** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1SelfSubjectAccessReview.md b/kubernetes/docs/V1beta1SelfSubjectAccessReview.md
deleted file mode 100644
index a5dc0389e3..0000000000
--- a/kubernetes/docs/V1beta1SelfSubjectAccessReview.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1SelfSubjectAccessReview
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1beta1SelfSubjectAccessReviewSpec**](V1beta1SelfSubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. user and groups must be empty |
-**status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1SelfSubjectAccessReviewSpec.md b/kubernetes/docs/V1beta1SelfSubjectAccessReviewSpec.md
deleted file mode 100644
index 4035cd2f16..0000000000
--- a/kubernetes/docs/V1beta1SelfSubjectAccessReviewSpec.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1SelfSubjectAccessReviewSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**nonResourceAttributes** | [**V1beta1NonResourceAttributes**](V1beta1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional]
-**resourceAttributes** | [**V1beta1ResourceAttributes**](V1beta1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1StatefulSet.md b/kubernetes/docs/V1beta1StatefulSet.md
deleted file mode 100644
index 34e3dbaf14..0000000000
--- a/kubernetes/docs/V1beta1StatefulSet.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1StatefulSet
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1beta1StatefulSetSpec**](V1beta1StatefulSetSpec.md) | Spec defines the desired identities of pods in this set. | [optional]
-**status** | [**V1beta1StatefulSetStatus**](V1beta1StatefulSetStatus.md) | Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1StatefulSetList.md b/kubernetes/docs/V1beta1StatefulSetList.md
deleted file mode 100644
index 2650becbab..0000000000
--- a/kubernetes/docs/V1beta1StatefulSetList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1StatefulSetList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1StatefulSet]**](V1beta1StatefulSet.md) | |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1StatefulSetSpec.md b/kubernetes/docs/V1beta1StatefulSetSpec.md
deleted file mode 100644
index cc77b8e953..0000000000
--- a/kubernetes/docs/V1beta1StatefulSetSpec.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1StatefulSetSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**replicas** | **Number** | Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. | [optional]
-**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional]
-**serviceName** | **String** | ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. |
-**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. |
-**volumeClaimTemplates** | [**[V1PersistentVolumeClaim]**](V1PersistentVolumeClaim.md) | VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1StatefulSetStatus.md b/kubernetes/docs/V1beta1StatefulSetStatus.md
deleted file mode 100644
index da2fa1450b..0000000000
--- a/kubernetes/docs/V1beta1StatefulSetStatus.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1StatefulSetStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**observedGeneration** | **Number** | most recent generation observed by this StatefulSet. | [optional]
-**replicas** | **Number** | Replicas is the number of actual replicas. |
-
-
diff --git a/kubernetes/docs/V1beta1StorageClass.md b/kubernetes/docs/V1beta1StorageClass.md
deleted file mode 100644
index 1512ae7c05..0000000000
--- a/kubernetes/docs/V1beta1StorageClass.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1StorageClass
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**parameters** | **{String: String}** | Parameters holds the parameters for the provisioner that should create volumes of this storage class. | [optional]
-**provisioner** | **String** | Provisioner indicates the type of the provisioner. |
-
-
diff --git a/kubernetes/docs/V1beta1StorageClassList.md b/kubernetes/docs/V1beta1StorageClassList.md
deleted file mode 100644
index 157976cdf8..0000000000
--- a/kubernetes/docs/V1beta1StorageClassList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1StorageClassList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1StorageClass]**](V1beta1StorageClass.md) | Items is the list of StorageClasses |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1Subject.md b/kubernetes/docs/V1beta1Subject.md
deleted file mode 100644
index 46a03adcde..0000000000
--- a/kubernetes/docs/V1beta1Subject.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1Subject
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiGroup** | **String** | APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. | [optional]
-**kind** | **String** | Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. |
-**name** | **String** | Name of the object being referenced. |
-**namespace** | **String** | Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1SubjectAccessReview.md b/kubernetes/docs/V1beta1SubjectAccessReview.md
deleted file mode 100644
index 9998540a35..0000000000
--- a/kubernetes/docs/V1beta1SubjectAccessReview.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1SubjectAccessReview
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1beta1SubjectAccessReviewSpec**](V1beta1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated |
-**status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1SubjectAccessReviewSpec.md b/kubernetes/docs/V1beta1SubjectAccessReviewSpec.md
deleted file mode 100644
index de6b54b7f8..0000000000
--- a/kubernetes/docs/V1beta1SubjectAccessReviewSpec.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1SubjectAccessReviewSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**extra** | **{String: [String]}** | Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. | [optional]
-**group** | **[String]** | Groups is the groups you're testing for. | [optional]
-**nonResourceAttributes** | [**V1beta1NonResourceAttributes**](V1beta1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional]
-**resourceAttributes** | [**V1beta1ResourceAttributes**](V1beta1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional]
-**user** | **String** | User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1SubjectAccessReviewStatus.md b/kubernetes/docs/V1beta1SubjectAccessReviewStatus.md
deleted file mode 100644
index e8d9560533..0000000000
--- a/kubernetes/docs/V1beta1SubjectAccessReviewStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1beta1SubjectAccessReviewStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**allowed** | **Boolean** | Allowed is required. True if the action would be allowed, false otherwise. |
-**evaluationError** | **String** | EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. | [optional]
-**reason** | **String** | Reason is optional. It indicates why a request was allowed or denied. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1SupplementalGroupsStrategyOptions.md b/kubernetes/docs/V1beta1SupplementalGroupsStrategyOptions.md
deleted file mode 100644
index 496509722d..0000000000
--- a/kubernetes/docs/V1beta1SupplementalGroupsStrategyOptions.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V1beta1SupplementalGroupsStrategyOptions
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ranges** | [**[V1beta1IDRange]**](V1beta1IDRange.md) | Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. | [optional]
-**rule** | **String** | Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1ThirdPartyResource.md b/kubernetes/docs/V1beta1ThirdPartyResource.md
deleted file mode 100644
index 790a3ee2ce..0000000000
--- a/kubernetes/docs/V1beta1ThirdPartyResource.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1ThirdPartyResource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**description** | **String** | Description is the description of this object. | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata | [optional]
-**versions** | [**[V1beta1APIVersion]**](V1beta1APIVersion.md) | Versions are versions for this third party object | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1ThirdPartyResourceList.md b/kubernetes/docs/V1beta1ThirdPartyResourceList.md
deleted file mode 100644
index 07ca20b55c..0000000000
--- a/kubernetes/docs/V1beta1ThirdPartyResourceList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1ThirdPartyResourceList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V1beta1ThirdPartyResource]**](V1beta1ThirdPartyResource.md) | Items is the list of ThirdPartyResources. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1TokenReview.md b/kubernetes/docs/V1beta1TokenReview.md
deleted file mode 100644
index dcbcc519b8..0000000000
--- a/kubernetes/docs/V1beta1TokenReview.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V1beta1TokenReview
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
-**spec** | [**V1beta1TokenReviewSpec**](V1beta1TokenReviewSpec.md) | Spec holds information about the request being evaluated |
-**status** | [**V1beta1TokenReviewStatus**](V1beta1TokenReviewStatus.md) | Status is filled in by the server and indicates whether the request can be authenticated. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1TokenReviewSpec.md b/kubernetes/docs/V1beta1TokenReviewSpec.md
deleted file mode 100644
index dc869b9843..0000000000
--- a/kubernetes/docs/V1beta1TokenReviewSpec.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# KubernetesJsClient.V1beta1TokenReviewSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**token** | **String** | Token is the opaque bearer token. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1TokenReviewStatus.md b/kubernetes/docs/V1beta1TokenReviewStatus.md
deleted file mode 100644
index 140bdd01a6..0000000000
--- a/kubernetes/docs/V1beta1TokenReviewStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V1beta1TokenReviewStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**authenticated** | **Boolean** | Authenticated indicates that the token was associated with a known user. | [optional]
-**error** | **String** | Error indicates that the token couldn't be checked | [optional]
-**user** | [**V1beta1UserInfo**](V1beta1UserInfo.md) | User is the UserInfo associated with the provided token. | [optional]
-
-
diff --git a/kubernetes/docs/V1beta1UserInfo.md b/kubernetes/docs/V1beta1UserInfo.md
deleted file mode 100644
index ccc6b1c870..0000000000
--- a/kubernetes/docs/V1beta1UserInfo.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V1beta1UserInfo
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**extra** | **{String: [String]}** | Any additional information provided by the authenticator. | [optional]
-**groups** | **[String]** | The names of groups this user is a part of. | [optional]
-**uid** | **String** | A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. | [optional]
-**username** | **String** | The name that uniquely identifies this user among all active users. | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1CronJob.md b/kubernetes/docs/V2alpha1CronJob.md
deleted file mode 100644
index ffaeba59a4..0000000000
--- a/kubernetes/docs/V2alpha1CronJob.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V2alpha1CronJob
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V2alpha1CronJobSpec**](V2alpha1CronJobSpec.md) | Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-**status** | [**V2alpha1CronJobStatus**](V2alpha1CronJobStatus.md) | Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1CronJobList.md b/kubernetes/docs/V2alpha1CronJobList.md
deleted file mode 100644
index 84154e2c9e..0000000000
--- a/kubernetes/docs/V2alpha1CronJobList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V2alpha1CronJobList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V2alpha1CronJob]**](V2alpha1CronJob.md) | Items is the list of CronJob. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1CronJobSpec.md b/kubernetes/docs/V2alpha1CronJobSpec.md
deleted file mode 100644
index a7fdcb71ef..0000000000
--- a/kubernetes/docs/V2alpha1CronJobSpec.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# KubernetesJsClient.V2alpha1CronJobSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**concurrencyPolicy** | **String** | ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow. | [optional]
-**failedJobsHistoryLimit** | **Number** | The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. | [optional]
-**jobTemplate** | [**V2alpha1JobTemplateSpec**](V2alpha1JobTemplateSpec.md) | JobTemplate is the object that describes the job that will be created when executing a CronJob. |
-**schedule** | **String** | Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. |
-**startingDeadlineSeconds** | **Number** | Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. | [optional]
-**successfulJobsHistoryLimit** | **Number** | The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. | [optional]
-**suspend** | **Boolean** | Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1CronJobStatus.md b/kubernetes/docs/V2alpha1CronJobStatus.md
deleted file mode 100644
index 4f25926265..0000000000
--- a/kubernetes/docs/V2alpha1CronJobStatus.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V2alpha1CronJobStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**active** | [**[V1ObjectReference]**](V1ObjectReference.md) | Active holds pointers to currently running jobs. | [optional]
-**lastScheduleTime** | **Date** | LastScheduleTime keeps information of when was the last time the job was successfully scheduled. | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1CrossVersionObjectReference.md b/kubernetes/docs/V2alpha1CrossVersionObjectReference.md
deleted file mode 100644
index 71af9f843a..0000000000
--- a/kubernetes/docs/V2alpha1CrossVersionObjectReference.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V2alpha1CrossVersionObjectReference
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | API version of the referent | [optional]
-**kind** | **String** | Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\" |
-**name** | **String** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names |
-
-
diff --git a/kubernetes/docs/V2alpha1HorizontalPodAutoscaler.md b/kubernetes/docs/V2alpha1HorizontalPodAutoscaler.md
deleted file mode 100644
index a6ef965657..0000000000
--- a/kubernetes/docs/V2alpha1HorizontalPodAutoscaler.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V2alpha1HorizontalPodAutoscaler
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | metadata is the standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V2alpha1HorizontalPodAutoscalerSpec**](V2alpha1HorizontalPodAutoscalerSpec.md) | spec is the specification for the behaviour of the autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional]
-**status** | [**V2alpha1HorizontalPodAutoscalerStatus**](V2alpha1HorizontalPodAutoscalerStatus.md) | status is the current information about the autoscaler. | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerList.md b/kubernetes/docs/V2alpha1HorizontalPodAutoscalerList.md
deleted file mode 100644
index 5d1fed89ae..0000000000
--- a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerList.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V2alpha1HorizontalPodAutoscalerList
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional]
-**items** | [**[V2alpha1HorizontalPodAutoscaler]**](V2alpha1HorizontalPodAutoscaler.md) | items is the list of horizontal pod autoscaler objects. |
-**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional]
-**metadata** | [**V1ListMeta**](V1ListMeta.md) | metadata is the standard list metadata. | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerSpec.md b/kubernetes/docs/V2alpha1HorizontalPodAutoscalerSpec.md
deleted file mode 100644
index 5efbaadcc2..0000000000
--- a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerSpec.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V2alpha1HorizontalPodAutoscalerSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**maxReplicas** | **Number** | maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. |
-**metrics** | [**[V2alpha1MetricSpec]**](V2alpha1MetricSpec.md) | metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. | [optional]
-**minReplicas** | **Number** | minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. | [optional]
-**scaleTargetRef** | [**V2alpha1CrossVersionObjectReference**](V2alpha1CrossVersionObjectReference.md) | scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. |
-
-
diff --git a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerStatus.md b/kubernetes/docs/V2alpha1HorizontalPodAutoscalerStatus.md
deleted file mode 100644
index b7de803615..0000000000
--- a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerStatus.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# KubernetesJsClient.V2alpha1HorizontalPodAutoscalerStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**currentMetrics** | [**[V2alpha1MetricStatus]**](V2alpha1MetricStatus.md) | currentMetrics is the last read state of the metrics used by this autoscaler. |
-**currentReplicas** | **Number** | currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. |
-**desiredReplicas** | **Number** | desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. |
-**lastScaleTime** | **Date** | lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. | [optional]
-**observedGeneration** | **Number** | observedGeneration is the most recent generation observed by this autoscaler. | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1JobTemplateSpec.md b/kubernetes/docs/V2alpha1JobTemplateSpec.md
deleted file mode 100644
index e0c60f7d0c..0000000000
--- a/kubernetes/docs/V2alpha1JobTemplateSpec.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V2alpha1JobTemplateSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata of the jobs created from this template. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
-**spec** | [**V1JobSpec**](V1JobSpec.md) | Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1MetricSpec.md b/kubernetes/docs/V2alpha1MetricSpec.md
deleted file mode 100644
index 8b7617a697..0000000000
--- a/kubernetes/docs/V2alpha1MetricSpec.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V2alpha1MetricSpec
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**_object** | [**V2alpha1ObjectMetricSource**](V2alpha1ObjectMetricSource.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional]
-**pods** | [**V2alpha1PodsMetricSource**](V2alpha1PodsMetricSource.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional]
-**resource** | [**V2alpha1ResourceMetricSource**](V2alpha1ResourceMetricSource.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional]
-**type** | **String** | type is the type of metric source. It should match one of the fields below. |
-
-
diff --git a/kubernetes/docs/V2alpha1MetricStatus.md b/kubernetes/docs/V2alpha1MetricStatus.md
deleted file mode 100644
index db9f23c2e7..0000000000
--- a/kubernetes/docs/V2alpha1MetricStatus.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# KubernetesJsClient.V2alpha1MetricStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**_object** | [**V2alpha1ObjectMetricStatus**](V2alpha1ObjectMetricStatus.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional]
-**pods** | [**V2alpha1PodsMetricStatus**](V2alpha1PodsMetricStatus.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional]
-**resource** | [**V2alpha1ResourceMetricStatus**](V2alpha1ResourceMetricStatus.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional]
-**type** | **String** | type is the type of metric source. It will match one of the fields below. |
-
-
diff --git a/kubernetes/docs/V2alpha1ObjectMetricSource.md b/kubernetes/docs/V2alpha1ObjectMetricSource.md
deleted file mode 100644
index df977ea53c..0000000000
--- a/kubernetes/docs/V2alpha1ObjectMetricSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V2alpha1ObjectMetricSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**metricName** | **String** | metricName is the name of the metric in question. |
-**target** | [**V2alpha1CrossVersionObjectReference**](V2alpha1CrossVersionObjectReference.md) | target is the described Kubernetes object. |
-**targetValue** | **String** | targetValue is the target value of the metric (as a quantity). |
-
-
diff --git a/kubernetes/docs/V2alpha1ObjectMetricStatus.md b/kubernetes/docs/V2alpha1ObjectMetricStatus.md
deleted file mode 100644
index c8124365f6..0000000000
--- a/kubernetes/docs/V2alpha1ObjectMetricStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V2alpha1ObjectMetricStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**currentValue** | **String** | currentValue is the current value of the metric (as a quantity). |
-**metricName** | **String** | metricName is the name of the metric in question. |
-**target** | [**V2alpha1CrossVersionObjectReference**](V2alpha1CrossVersionObjectReference.md) | target is the described Kubernetes object. |
-
-
diff --git a/kubernetes/docs/V2alpha1PodsMetricSource.md b/kubernetes/docs/V2alpha1PodsMetricSource.md
deleted file mode 100644
index 689891fdd9..0000000000
--- a/kubernetes/docs/V2alpha1PodsMetricSource.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V2alpha1PodsMetricSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**metricName** | **String** | metricName is the name of the metric in question |
-**targetAverageValue** | **String** | targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) |
-
-
diff --git a/kubernetes/docs/V2alpha1PodsMetricStatus.md b/kubernetes/docs/V2alpha1PodsMetricStatus.md
deleted file mode 100644
index 06041f7d08..0000000000
--- a/kubernetes/docs/V2alpha1PodsMetricStatus.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# KubernetesJsClient.V2alpha1PodsMetricStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**currentAverageValue** | **String** | currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) |
-**metricName** | **String** | metricName is the name of the metric in question |
-
-
diff --git a/kubernetes/docs/V2alpha1ResourceMetricSource.md b/kubernetes/docs/V2alpha1ResourceMetricSource.md
deleted file mode 100644
index 68d1bebd33..0000000000
--- a/kubernetes/docs/V2alpha1ResourceMetricSource.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V2alpha1ResourceMetricSource
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | name is the name of the resource in question. |
-**targetAverageUtilization** | **Number** | targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. | [optional]
-**targetAverageValue** | **String** | targetAverageValue is the the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. | [optional]
-
-
diff --git a/kubernetes/docs/V2alpha1ResourceMetricStatus.md b/kubernetes/docs/V2alpha1ResourceMetricStatus.md
deleted file mode 100644
index e701b11fa5..0000000000
--- a/kubernetes/docs/V2alpha1ResourceMetricStatus.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# KubernetesJsClient.V2alpha1ResourceMetricStatus
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**currentAverageUtilization** | **Number** | currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification. | [optional]
-**currentAverageValue** | **String** | currentAverageValue is the the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification. |
-**name** | **String** | name is the name of the resource in question. |
-
-
diff --git a/kubernetes/docs/VersionApi.md b/kubernetes/docs/VersionApi.md
deleted file mode 100644
index d465ed248f..0000000000
--- a/kubernetes/docs/VersionApi.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# KubernetesJsClient.VersionApi
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**getCode**](VersionApi.md#getCode) | **GET** /version/ |
-
-
-
-# **getCode**
-> VersionInfo getCode()
-
-
-
-get the code version
-
-### Example
-```javascript
-var KubernetesJsClient = require('kubernetes-js-kubernetes.client');
-var defaultClient = KubernetesJsClient.ApiClient.default;
-
-// Configure API key authorization: BearerToken
-var BearerToken = defaultClient.authentications['BearerToken'];
-BearerToken.apiKey = 'YOUR API KEY';
-// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
-//BearerToken.apiKeyPrefix = 'Token';
-
-var apiInstance = new KubernetesJsClient.VersionApi();
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-apiInstance.getCode(callback);
-```
-
-### Parameters
-This endpoint does not need any parameter.
-
-### Return type
-
-[**VersionInfo**](VersionInfo.md)
-
-### Authorization
-
-[BearerToken](../README.md#BearerToken)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
diff --git a/kubernetes/docs/VersionInfo.md b/kubernetes/docs/VersionInfo.md
deleted file mode 100644
index dfc525a09f..0000000000
--- a/kubernetes/docs/VersionInfo.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# KubernetesJsClient.VersionInfo
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**buildDate** | **String** | |
-**compiler** | **String** | |
-**gitCommit** | **String** | |
-**gitTreeState** | **String** | |
-**gitVersion** | **String** | |
-**goVersion** | **String** | |
-**major** | **String** | |
-**minor** | **String** | |
-**platform** | **String** | |
-
-
diff --git a/kubernetes/git_push.sh b/kubernetes/git_push.sh
deleted file mode 100644
index 1be1b534db..0000000000
--- a/kubernetes/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
- git_user_id="kubernetes-incubator"
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
- git_repo_id="client-javascript"
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
- release_note="Minor update"
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
- if [ "$GIT_TOKEN" = "" ]; then
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the Git credential in your environment."
- git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
- else
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
- fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/kubernetes/mocha.opts b/kubernetes/mocha.opts
deleted file mode 100644
index 907011807d..0000000000
--- a/kubernetes/mocha.opts
+++ /dev/null
@@ -1 +0,0 @@
---timeout 10000
diff --git a/kubernetes/package.json b/kubernetes/package.json
deleted file mode 100644
index 304ce248f2..0000000000
--- a/kubernetes/package.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "kubernetes-js-client",
- "version": "1.0.0-snapshot",
- "description": "Javascript client for Kubernetes.",
- "license": "Unlicense",
- "main": "src/io.kubernetes.js/index.js",
- "scripts": {
- "test": "./node_modules/mocha/bin/mocha --recursive"
- },
- "dependencies": {
- "superagent": "1.7.1"
- },
- "devDependencies": {
- "mocha": "~2.3.4",
- "sinon": "1.17.3",
- "expect.js": "~0.3.1"
- }
-}
diff --git a/kubernetes/src/io.kubernetes.js/ApiClient.js b/kubernetes/src/io.kubernetes.js/ApiClient.js
deleted file mode 100644
index 382b9d74f3..0000000000
--- a/kubernetes/src/io.kubernetes.js/ApiClient.js
+++ /dev/null
@@ -1,518 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['superagent'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('superagent'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ApiClient = factory(root.superagent);
- }
-}(this, function(superagent) {
- 'use strict';
-
- /**
- * @module io.kubernetes.js/ApiClient
- * @version 1.0.0-snapshot
- */
-
- /**
- * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
- * application to use this class directly - the *Api and model classes provide the public API for the service. The
- * contents of this file should be regarded as internal but are documented for completeness.
- * @alias module:io.kubernetes.js/ApiClient
- * @class
- */
- var exports = function() {
- /**
- * The base URL against which to resolve every API call's (relative) path.
- * @type {String}
- * @default https://localhost
- */
- this.basePath = 'https://localhost/'.replace(/\/+$/, '');
-
- /**
- * The authentication methods to be included for all API calls.
- * @type {Array.
- * An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
- * param.
- */
- exports.prototype.paramToString = function(param) {
- if (param == undefined || param == null) {
- return '';
- }
- if (param instanceof Date) {
- return param.toJSON();
- }
- return param.toString();
- };
-
- /**
- * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
- * NOTE: query parameters are not handled here.
- * @param {String} path The path to append to the base URL.
- * @param {Object} pathParams The parameter values to append.
- * @returns {String} The encoded path with parameter values substituted.
- */
- exports.prototype.buildUrl = function(path, pathParams) {
- if (!path.match(/^\//)) {
- path = '/' + path;
- }
- var url = this.basePath + path;
- var _this = this;
- url = url.replace(/\{([\w-]+)\}/g, function(fullMatch, key) {
- var value;
- if (pathParams.hasOwnProperty(key)) {
- value = _this.paramToString(pathParams[key]);
- } else {
- value = fullMatch;
- }
- return encodeURIComponent(value);
- });
- return url;
- };
-
- /**
- * Checks whether the given content type represents JSON.
- * JSON content type examples:
- *
- *
- * @param {String} contentType The MIME content type to check.
- * @returns {Boolean} true if contentType represents JSON, otherwise false.
- */
- exports.prototype.isJsonMime = function(contentType) {
- return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
- };
-
- /**
- * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
- * @param {Array.true if param represents a file.
- */
- exports.prototype.isFileParam = function(param) {
- // fs.ReadStream in Node.js (but not in runtime like browserify)
- if (typeof window === 'undefined' &&
- typeof require === 'function' &&
- require('fs') &&
- param instanceof require('fs').ReadStream) {
- return true;
- }
- // Buffer in Node.js
- if (typeof Buffer === 'function' && param instanceof Buffer) {
- return true;
- }
- // Blob in browser
- if (typeof Blob === 'function' && param instanceof Blob) {
- return true;
- }
- // File in browser (it seems File object is also instance of Blob, but keep this for safe)
- if (typeof File === 'function' && param instanceof File) {
- return true;
- }
- return false;
- };
-
- /**
- * Normalizes parameter values:
- *
- *
- * @param {Object.csv
- * @const
- */
- CSV: ',',
- /**
- * Space-separated values. Value: ssv
- * @const
- */
- SSV: ' ',
- /**
- * Tab-separated values. Value: tsv
- * @const
- */
- TSV: '\t',
- /**
- * Pipe(|)-separated values. Value: pipes
- * @const
- */
- PIPES: '|',
- /**
- * Native array. Value: multi
- * @const
- */
- MULTI: 'multi'
- };
-
- /**
- * Builds a string representation of an array-type actual parameter, according to the given collection format.
- * @param {Array} param An array parameter.
- * @param {module:io.kubernetes.js/ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
- * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
- * param as is if collectionFormat is multi.
- */
- exports.prototype.buildCollectionParam = function buildCollectionParam(param, collectionFormat) {
- if (param == null) {
- return null;
- }
- switch (collectionFormat) {
- case 'csv':
- return param.map(this.paramToString).join(',');
- case 'ssv':
- return param.map(this.paramToString).join(' ');
- case 'tsv':
- return param.map(this.paramToString).join('\t');
- case 'pipes':
- return param.map(this.paramToString).join('|');
- case 'multi':
- // return the array directly as SuperAgent will handle it as expected
- return param.map(this.paramToString);
- default:
- throw new Error('Unknown collection format: ' + collectionFormat);
- }
- };
-
- /**
- * Applies authentication headers to the request.
- * @param {Object} request The request object created by a superagent() call.
- * @param {Array.data will be converted to this type.
- * @returns A value of the specified type.
- */
- exports.prototype.deserialize = function deserialize(response, returnType) {
- if (response == null || returnType == null) {
- return null;
- }
- // Rely on SuperAgent for parsing response body.
- // See http://visionmedia.github.io/superagent/#parsing-response-bodies
- var data = response.body;
- if (data == null || !Object.keys(data).length) {
- // SuperAgent does not always produce a body; use the unparsed response as a fallback
- data = response.text;
- }
- return exports.convertToType(data, returnType);
- };
-
- /**
- * Callback function to receive the result of the operation.
- * @callback module:io.kubernetes.js/ApiClient~callApiCallback
- * @param {String} error Error message, if any.
- * @param data The data returned by the service call.
- * @param {String} response The complete HTTP response.
- */
-
- /**
- * Invokes the REST service using the supplied settings and parameters.
- * @param {String} path The base URL to invoke.
- * @param {String} httpMethod The HTTP method to use.
- * @param {Object.data will be converted to this type.
- * @returns An instance of the specified type.
- */
- exports.convertToType = function(data, type) {
- switch (type) {
- case 'Boolean':
- return Boolean(data);
- case 'Integer':
- return parseInt(data, 10);
- case 'Number':
- return parseFloat(data);
- case 'String':
- return String(data);
- case 'Date':
- return this.parseDate(String(data));
- default:
- if (type === Object) {
- // generic object, return directly
- return data;
- } else if (typeof type === 'function') {
- // for model type like: User
- return type.constructFromObject(data);
- } else if (Array.isArray(type)) {
- // for array type like: ['String']
- var itemType = type[0];
- return data.map(function(item) {
- return exports.convertToType(item, itemType);
- });
- } else if (typeof type === 'object') {
- // for plain object type like: {'String': 'Integer'}
- var keyType, valueType;
- for (var k in type) {
- if (type.hasOwnProperty(k)) {
- keyType = k;
- valueType = type[k];
- break;
- }
- }
- var result = {};
- for (var k in data) {
- if (data.hasOwnProperty(k)) {
- var key = exports.convertToType(k, keyType);
- var value = exports.convertToType(data[k], valueType);
- result[key] = value;
- }
- }
- return result;
- } else {
- // for unknown type, return the data directly
- return data;
- }
- }
- };
-
- /**
- * Constructs a new map or array model from REST data.
- * @param data {Object|Array} The REST data.
- * @param obj {Object|Array} The target object or array.
- */
- exports.constructFromObject = function(data, obj, itemType) {
- if (Array.isArray(data)) {
- for (var i = 0; i < data.length; i++) {
- if (data.hasOwnProperty(i))
- obj[i] = exports.convertToType(data[i], itemType);
- }
- } else {
- for (var k in data) {
- if (data.hasOwnProperty(k))
- obj[k] = exports.convertToType(data[k], itemType);
- }
- }
- };
-
- /**
- * The default API client implementation.
- * @type {module:io.kubernetes.js/ApiClient}
- */
- exports.instance = new exports();
-
- return exports;
-}));
diff --git a/kubernetes/src/io.kubernetes.js/index.js b/kubernetes/src/io.kubernetes.js/index.js
deleted file mode 100644
index a3808f8bcc..0000000000
--- a/kubernetes/src/io.kubernetes.js/index.js
+++ /dev/null
@@ -1,1855 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentSpec', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStrategy', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentSpec', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStrategy', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus', 'io.kubernetes.js/io.kubernetes.js.models/RuntimeRawExtension', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroupList', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResource', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1APIVersions', 'io.kubernetes.js/io.kubernetes.js.models/V1AWSElasticBlockStoreVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1Affinity', 'io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume', 'io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1Binding', 'io.kubernetes.js/io.kubernetes.js.models/V1Capabilities', 'io.kubernetes.js/io.kubernetes.js.models/V1CephFSVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1CinderVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition', 'io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatusList', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapEnvSource', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapProjection', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1Container', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerImage', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerPort', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerState', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateWaiting', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1CrossVersionObjectReference', 'io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection', 'io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeFile', 'io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1EmptyDirVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress', 'io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort', 'io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset', 'io.kubernetes.js/io.kubernetes.js.models/V1Endpoints', 'io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList', 'io.kubernetes.js/io.kubernetes.js.models/V1EnvFromSource', 'io.kubernetes.js/io.kubernetes.js.models/V1EnvVar', 'io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource', 'io.kubernetes.js/io.kubernetes.js.models/V1Event', 'io.kubernetes.js/io.kubernetes.js.models/V1EventList', 'io.kubernetes.js/io.kubernetes.js.models/V1EventSource', 'io.kubernetes.js/io.kubernetes.js.models/V1ExecAction', 'io.kubernetes.js/io.kubernetes.js.models/V1FCVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1FlexVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1FlockerVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery', 'io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction', 'io.kubernetes.js/io.kubernetes.js.models/V1HTTPHeader', 'io.kubernetes.js/io.kubernetes.js.models/V1Handler', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1Job', 'io.kubernetes.js/io.kubernetes.js.models/V1JobCondition', 'io.kubernetes.js/io.kubernetes.js.models/V1JobList', 'io.kubernetes.js/io.kubernetes.js.models/V1JobSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1JobStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1KeyToPath', 'io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector', 'io.kubernetes.js/io.kubernetes.js.models/V1LabelSelectorRequirement', 'io.kubernetes.js/io.kubernetes.js.models/V1Lifecycle', 'io.kubernetes.js/io.kubernetes.js.models/V1LimitRange', 'io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem', 'io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList', 'io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress', 'io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference', 'io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1Namespace', 'io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList', 'io.kubernetes.js/io.kubernetes.js.models/V1NamespaceSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1NamespaceStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1Node', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeCondition', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeList', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeSelector', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorRequirement', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorTerm', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeSystemInfo', 'io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference', 'io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1Pod', 'io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity', 'io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm', 'io.kubernetes.js/io.kubernetes.js.models/V1PodAntiAffinity', 'io.kubernetes.js/io.kubernetes.js.models/V1PodCondition', 'io.kubernetes.js/io.kubernetes.js.models/V1PodList', 'io.kubernetes.js/io.kubernetes.js.models/V1PodSecurityContext', 'io.kubernetes.js/io.kubernetes.js.models/V1PodSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1PodStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate', 'io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList', 'io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1Preconditions', 'io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm', 'io.kubernetes.js/io.kubernetes.js.models/V1Probe', 'io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1QuobyteVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController', 'io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition', 'io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList', 'io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceAttributes', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceRequirements', 'io.kubernetes.js/io.kubernetes.js.models/V1SELinuxOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Scale', 'io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1Secret', 'io.kubernetes.js/io.kubernetes.js.models/V1SecretEnvSource', 'io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector', 'io.kubernetes.js/io.kubernetes.js.models/V1SecretList', 'io.kubernetes.js/io.kubernetes.js.models/V1SecretProjection', 'io.kubernetes.js/io.kubernetes.js.models/V1SecretVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1SecurityContext', 'io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR', 'io.kubernetes.js/io.kubernetes.js.models/V1Service', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceList', 'io.kubernetes.js/io.kubernetes.js.models/V1ServicePort', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1StatusCause', 'io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails', 'io.kubernetes.js/io.kubernetes.js.models/V1StorageClass', 'io.kubernetes.js/io.kubernetes.js.models/V1StorageClassList', 'io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction', 'io.kubernetes.js/io.kubernetes.js.models/V1Taint', 'io.kubernetes.js/io.kubernetes.js.models/V1TokenReview', 'io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1Toleration', 'io.kubernetes.js/io.kubernetes.js.models/V1UserInfo', 'io.kubernetes.js/io.kubernetes.js.models/V1Volume', 'io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount', 'io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection', 'io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource', 'io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent', 'io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBindingList', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleList', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1PolicyRule', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBindingList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressPath', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1HostPortRange', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressRule', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPeer', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NonResourceAttributes', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicySpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PolicyRule', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetCondition', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ResourceAttributes', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1Role', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBindingList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleRef', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RollingUpdateDaemonSet', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RunAsUserStrategyOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SELinuxStrategyOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SelfSubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SelfSubjectAccessReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClassList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1Subject', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReviewStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SupplementalGroupsStrategyOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReview', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReviewStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1UserInfo', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobSpec', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobStatus', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1CrossVersionObjectReference', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerSpec', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerStatus', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1JobTemplateSpec', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1MetricSpec', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1MetricStatus', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1ObjectMetricSource', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1ObjectMetricStatus', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1PodsMetricSource', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1PodsMetricStatus', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1ResourceMetricSource', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1ResourceMetricStatus', 'io.kubernetes.js/io.kubernetes.js.models/VersionInfo', 'io.kubernetes.js/io.kubernetes.js.apis/ApisApi', 'io.kubernetes.js/io.kubernetes.js.apis/AppsApi', 'io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api', 'io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi', 'io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api', 'io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api', 'io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi', 'io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api', 'io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api', 'io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi', 'io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api', 'io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api', 'io.kubernetes.js/io.kubernetes.js.apis/BatchApi', 'io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api', 'io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api', 'io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi', 'io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api', 'io.kubernetes.js/io.kubernetes.js.apis/CoreApi', 'io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api', 'io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi', 'io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api', 'io.kubernetes.js/io.kubernetes.js.apis/LogsApi', 'io.kubernetes.js/io.kubernetes.js.apis/PolicyApi', 'io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api', 'io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi', 'io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api', 'io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api', 'io.kubernetes.js/io.kubernetes.js.apis/SettingsApi', 'io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api', 'io.kubernetes.js/io.kubernetes.js.apis/StorageApi', 'io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api', 'io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api', 'io.kubernetes.js/io.kubernetes.js.apis/VersionApi'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('./ApiClient'), require('./io.kubernetes.js.models/AppsV1beta1Deployment'), require('./io.kubernetes.js.models/AppsV1beta1DeploymentCondition'), require('./io.kubernetes.js.models/AppsV1beta1DeploymentList'), require('./io.kubernetes.js.models/AppsV1beta1DeploymentRollback'), require('./io.kubernetes.js.models/AppsV1beta1DeploymentSpec'), require('./io.kubernetes.js.models/AppsV1beta1DeploymentStatus'), require('./io.kubernetes.js.models/AppsV1beta1DeploymentStrategy'), require('./io.kubernetes.js.models/AppsV1beta1RollbackConfig'), require('./io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment'), require('./io.kubernetes.js.models/AppsV1beta1Scale'), require('./io.kubernetes.js.models/AppsV1beta1ScaleSpec'), require('./io.kubernetes.js.models/AppsV1beta1ScaleStatus'), require('./io.kubernetes.js.models/ExtensionsV1beta1Deployment'), require('./io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition'), require('./io.kubernetes.js.models/ExtensionsV1beta1DeploymentList'), require('./io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback'), require('./io.kubernetes.js.models/ExtensionsV1beta1DeploymentSpec'), require('./io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus'), require('./io.kubernetes.js.models/ExtensionsV1beta1DeploymentStrategy'), require('./io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig'), require('./io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment'), require('./io.kubernetes.js.models/ExtensionsV1beta1Scale'), require('./io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec'), require('./io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus'), require('./io.kubernetes.js.models/RuntimeRawExtension'), require('./io.kubernetes.js.models/V1APIGroup'), require('./io.kubernetes.js.models/V1APIGroupList'), require('./io.kubernetes.js.models/V1APIResource'), require('./io.kubernetes.js.models/V1APIResourceList'), require('./io.kubernetes.js.models/V1APIVersions'), require('./io.kubernetes.js.models/V1AWSElasticBlockStoreVolumeSource'), require('./io.kubernetes.js.models/V1Affinity'), require('./io.kubernetes.js.models/V1AttachedVolume'), require('./io.kubernetes.js.models/V1AzureDiskVolumeSource'), require('./io.kubernetes.js.models/V1AzureFileVolumeSource'), require('./io.kubernetes.js.models/V1Binding'), require('./io.kubernetes.js.models/V1Capabilities'), require('./io.kubernetes.js.models/V1CephFSVolumeSource'), require('./io.kubernetes.js.models/V1CinderVolumeSource'), require('./io.kubernetes.js.models/V1ComponentCondition'), require('./io.kubernetes.js.models/V1ComponentStatus'), require('./io.kubernetes.js.models/V1ComponentStatusList'), require('./io.kubernetes.js.models/V1ConfigMap'), require('./io.kubernetes.js.models/V1ConfigMapEnvSource'), require('./io.kubernetes.js.models/V1ConfigMapKeySelector'), require('./io.kubernetes.js.models/V1ConfigMapList'), require('./io.kubernetes.js.models/V1ConfigMapProjection'), require('./io.kubernetes.js.models/V1ConfigMapVolumeSource'), require('./io.kubernetes.js.models/V1Container'), require('./io.kubernetes.js.models/V1ContainerImage'), require('./io.kubernetes.js.models/V1ContainerPort'), require('./io.kubernetes.js.models/V1ContainerState'), require('./io.kubernetes.js.models/V1ContainerStateRunning'), require('./io.kubernetes.js.models/V1ContainerStateTerminated'), require('./io.kubernetes.js.models/V1ContainerStateWaiting'), require('./io.kubernetes.js.models/V1ContainerStatus'), require('./io.kubernetes.js.models/V1CrossVersionObjectReference'), require('./io.kubernetes.js.models/V1DaemonEndpoint'), require('./io.kubernetes.js.models/V1DeleteOptions'), require('./io.kubernetes.js.models/V1DownwardAPIProjection'), require('./io.kubernetes.js.models/V1DownwardAPIVolumeFile'), require('./io.kubernetes.js.models/V1DownwardAPIVolumeSource'), require('./io.kubernetes.js.models/V1EmptyDirVolumeSource'), require('./io.kubernetes.js.models/V1EndpointAddress'), require('./io.kubernetes.js.models/V1EndpointPort'), require('./io.kubernetes.js.models/V1EndpointSubset'), require('./io.kubernetes.js.models/V1Endpoints'), require('./io.kubernetes.js.models/V1EndpointsList'), require('./io.kubernetes.js.models/V1EnvFromSource'), require('./io.kubernetes.js.models/V1EnvVar'), require('./io.kubernetes.js.models/V1EnvVarSource'), require('./io.kubernetes.js.models/V1Event'), require('./io.kubernetes.js.models/V1EventList'), require('./io.kubernetes.js.models/V1EventSource'), require('./io.kubernetes.js.models/V1ExecAction'), require('./io.kubernetes.js.models/V1FCVolumeSource'), require('./io.kubernetes.js.models/V1FlexVolumeSource'), require('./io.kubernetes.js.models/V1FlockerVolumeSource'), require('./io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource'), require('./io.kubernetes.js.models/V1GitRepoVolumeSource'), require('./io.kubernetes.js.models/V1GlusterfsVolumeSource'), require('./io.kubernetes.js.models/V1GroupVersionForDiscovery'), require('./io.kubernetes.js.models/V1HTTPGetAction'), require('./io.kubernetes.js.models/V1HTTPHeader'), require('./io.kubernetes.js.models/V1Handler'), require('./io.kubernetes.js.models/V1HorizontalPodAutoscaler'), require('./io.kubernetes.js.models/V1HorizontalPodAutoscalerList'), require('./io.kubernetes.js.models/V1HorizontalPodAutoscalerSpec'), require('./io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus'), require('./io.kubernetes.js.models/V1HostPathVolumeSource'), require('./io.kubernetes.js.models/V1ISCSIVolumeSource'), require('./io.kubernetes.js.models/V1Job'), require('./io.kubernetes.js.models/V1JobCondition'), require('./io.kubernetes.js.models/V1JobList'), require('./io.kubernetes.js.models/V1JobSpec'), require('./io.kubernetes.js.models/V1JobStatus'), require('./io.kubernetes.js.models/V1KeyToPath'), require('./io.kubernetes.js.models/V1LabelSelector'), require('./io.kubernetes.js.models/V1LabelSelectorRequirement'), require('./io.kubernetes.js.models/V1Lifecycle'), require('./io.kubernetes.js.models/V1LimitRange'), require('./io.kubernetes.js.models/V1LimitRangeItem'), require('./io.kubernetes.js.models/V1LimitRangeList'), require('./io.kubernetes.js.models/V1LimitRangeSpec'), require('./io.kubernetes.js.models/V1ListMeta'), require('./io.kubernetes.js.models/V1LoadBalancerIngress'), require('./io.kubernetes.js.models/V1LoadBalancerStatus'), require('./io.kubernetes.js.models/V1LocalObjectReference'), require('./io.kubernetes.js.models/V1LocalSubjectAccessReview'), require('./io.kubernetes.js.models/V1NFSVolumeSource'), require('./io.kubernetes.js.models/V1Namespace'), require('./io.kubernetes.js.models/V1NamespaceList'), require('./io.kubernetes.js.models/V1NamespaceSpec'), require('./io.kubernetes.js.models/V1NamespaceStatus'), require('./io.kubernetes.js.models/V1Node'), require('./io.kubernetes.js.models/V1NodeAddress'), require('./io.kubernetes.js.models/V1NodeAffinity'), require('./io.kubernetes.js.models/V1NodeCondition'), require('./io.kubernetes.js.models/V1NodeDaemonEndpoints'), require('./io.kubernetes.js.models/V1NodeList'), require('./io.kubernetes.js.models/V1NodeSelector'), require('./io.kubernetes.js.models/V1NodeSelectorRequirement'), require('./io.kubernetes.js.models/V1NodeSelectorTerm'), require('./io.kubernetes.js.models/V1NodeSpec'), require('./io.kubernetes.js.models/V1NodeStatus'), require('./io.kubernetes.js.models/V1NodeSystemInfo'), require('./io.kubernetes.js.models/V1NonResourceAttributes'), require('./io.kubernetes.js.models/V1ObjectFieldSelector'), require('./io.kubernetes.js.models/V1ObjectMeta'), require('./io.kubernetes.js.models/V1ObjectReference'), require('./io.kubernetes.js.models/V1OwnerReference'), require('./io.kubernetes.js.models/V1PersistentVolume'), require('./io.kubernetes.js.models/V1PersistentVolumeClaim'), require('./io.kubernetes.js.models/V1PersistentVolumeClaimList'), require('./io.kubernetes.js.models/V1PersistentVolumeClaimSpec'), require('./io.kubernetes.js.models/V1PersistentVolumeClaimStatus'), require('./io.kubernetes.js.models/V1PersistentVolumeClaimVolumeSource'), require('./io.kubernetes.js.models/V1PersistentVolumeList'), require('./io.kubernetes.js.models/V1PersistentVolumeSpec'), require('./io.kubernetes.js.models/V1PersistentVolumeStatus'), require('./io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource'), require('./io.kubernetes.js.models/V1Pod'), require('./io.kubernetes.js.models/V1PodAffinity'), require('./io.kubernetes.js.models/V1PodAffinityTerm'), require('./io.kubernetes.js.models/V1PodAntiAffinity'), require('./io.kubernetes.js.models/V1PodCondition'), require('./io.kubernetes.js.models/V1PodList'), require('./io.kubernetes.js.models/V1PodSecurityContext'), require('./io.kubernetes.js.models/V1PodSpec'), require('./io.kubernetes.js.models/V1PodStatus'), require('./io.kubernetes.js.models/V1PodTemplate'), require('./io.kubernetes.js.models/V1PodTemplateList'), require('./io.kubernetes.js.models/V1PodTemplateSpec'), require('./io.kubernetes.js.models/V1PortworxVolumeSource'), require('./io.kubernetes.js.models/V1Preconditions'), require('./io.kubernetes.js.models/V1PreferredSchedulingTerm'), require('./io.kubernetes.js.models/V1Probe'), require('./io.kubernetes.js.models/V1ProjectedVolumeSource'), require('./io.kubernetes.js.models/V1QuobyteVolumeSource'), require('./io.kubernetes.js.models/V1RBDVolumeSource'), require('./io.kubernetes.js.models/V1ReplicationController'), require('./io.kubernetes.js.models/V1ReplicationControllerCondition'), require('./io.kubernetes.js.models/V1ReplicationControllerList'), require('./io.kubernetes.js.models/V1ReplicationControllerSpec'), require('./io.kubernetes.js.models/V1ReplicationControllerStatus'), require('./io.kubernetes.js.models/V1ResourceAttributes'), require('./io.kubernetes.js.models/V1ResourceFieldSelector'), require('./io.kubernetes.js.models/V1ResourceQuota'), require('./io.kubernetes.js.models/V1ResourceQuotaList'), require('./io.kubernetes.js.models/V1ResourceQuotaSpec'), require('./io.kubernetes.js.models/V1ResourceQuotaStatus'), require('./io.kubernetes.js.models/V1ResourceRequirements'), require('./io.kubernetes.js.models/V1SELinuxOptions'), require('./io.kubernetes.js.models/V1Scale'), require('./io.kubernetes.js.models/V1ScaleIOVolumeSource'), require('./io.kubernetes.js.models/V1ScaleSpec'), require('./io.kubernetes.js.models/V1ScaleStatus'), require('./io.kubernetes.js.models/V1Secret'), require('./io.kubernetes.js.models/V1SecretEnvSource'), require('./io.kubernetes.js.models/V1SecretKeySelector'), require('./io.kubernetes.js.models/V1SecretList'), require('./io.kubernetes.js.models/V1SecretProjection'), require('./io.kubernetes.js.models/V1SecretVolumeSource'), require('./io.kubernetes.js.models/V1SecurityContext'), require('./io.kubernetes.js.models/V1SelfSubjectAccessReview'), require('./io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec'), require('./io.kubernetes.js.models/V1ServerAddressByClientCIDR'), require('./io.kubernetes.js.models/V1Service'), require('./io.kubernetes.js.models/V1ServiceAccount'), require('./io.kubernetes.js.models/V1ServiceAccountList'), require('./io.kubernetes.js.models/V1ServiceList'), require('./io.kubernetes.js.models/V1ServicePort'), require('./io.kubernetes.js.models/V1ServiceSpec'), require('./io.kubernetes.js.models/V1ServiceStatus'), require('./io.kubernetes.js.models/V1Status'), require('./io.kubernetes.js.models/V1StatusCause'), require('./io.kubernetes.js.models/V1StatusDetails'), require('./io.kubernetes.js.models/V1StorageClass'), require('./io.kubernetes.js.models/V1StorageClassList'), require('./io.kubernetes.js.models/V1SubjectAccessReview'), require('./io.kubernetes.js.models/V1SubjectAccessReviewSpec'), require('./io.kubernetes.js.models/V1SubjectAccessReviewStatus'), require('./io.kubernetes.js.models/V1TCPSocketAction'), require('./io.kubernetes.js.models/V1Taint'), require('./io.kubernetes.js.models/V1TokenReview'), require('./io.kubernetes.js.models/V1TokenReviewSpec'), require('./io.kubernetes.js.models/V1TokenReviewStatus'), require('./io.kubernetes.js.models/V1Toleration'), require('./io.kubernetes.js.models/V1UserInfo'), require('./io.kubernetes.js.models/V1Volume'), require('./io.kubernetes.js.models/V1VolumeMount'), require('./io.kubernetes.js.models/V1VolumeProjection'), require('./io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource'), require('./io.kubernetes.js.models/V1WatchEvent'), require('./io.kubernetes.js.models/V1WeightedPodAffinityTerm'), require('./io.kubernetes.js.models/V1alpha1ClusterRole'), require('./io.kubernetes.js.models/V1alpha1ClusterRoleBinding'), require('./io.kubernetes.js.models/V1alpha1ClusterRoleBindingList'), require('./io.kubernetes.js.models/V1alpha1ClusterRoleList'), require('./io.kubernetes.js.models/V1alpha1PodPreset'), require('./io.kubernetes.js.models/V1alpha1PodPresetList'), require('./io.kubernetes.js.models/V1alpha1PodPresetSpec'), require('./io.kubernetes.js.models/V1alpha1PolicyRule'), require('./io.kubernetes.js.models/V1alpha1Role'), require('./io.kubernetes.js.models/V1alpha1RoleBinding'), require('./io.kubernetes.js.models/V1alpha1RoleBindingList'), require('./io.kubernetes.js.models/V1alpha1RoleList'), require('./io.kubernetes.js.models/V1alpha1RoleRef'), require('./io.kubernetes.js.models/V1alpha1Subject'), require('./io.kubernetes.js.models/V1beta1APIVersion'), require('./io.kubernetes.js.models/V1beta1CertificateSigningRequest'), require('./io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition'), require('./io.kubernetes.js.models/V1beta1CertificateSigningRequestList'), require('./io.kubernetes.js.models/V1beta1CertificateSigningRequestSpec'), require('./io.kubernetes.js.models/V1beta1CertificateSigningRequestStatus'), require('./io.kubernetes.js.models/V1beta1ClusterRole'), require('./io.kubernetes.js.models/V1beta1ClusterRoleBinding'), require('./io.kubernetes.js.models/V1beta1ClusterRoleBindingList'), require('./io.kubernetes.js.models/V1beta1ClusterRoleList'), require('./io.kubernetes.js.models/V1beta1DaemonSet'), require('./io.kubernetes.js.models/V1beta1DaemonSetList'), require('./io.kubernetes.js.models/V1beta1DaemonSetSpec'), require('./io.kubernetes.js.models/V1beta1DaemonSetStatus'), require('./io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy'), require('./io.kubernetes.js.models/V1beta1Eviction'), require('./io.kubernetes.js.models/V1beta1FSGroupStrategyOptions'), require('./io.kubernetes.js.models/V1beta1HTTPIngressPath'), require('./io.kubernetes.js.models/V1beta1HTTPIngressRuleValue'), require('./io.kubernetes.js.models/V1beta1HostPortRange'), require('./io.kubernetes.js.models/V1beta1IDRange'), require('./io.kubernetes.js.models/V1beta1Ingress'), require('./io.kubernetes.js.models/V1beta1IngressBackend'), require('./io.kubernetes.js.models/V1beta1IngressList'), require('./io.kubernetes.js.models/V1beta1IngressRule'), require('./io.kubernetes.js.models/V1beta1IngressSpec'), require('./io.kubernetes.js.models/V1beta1IngressStatus'), require('./io.kubernetes.js.models/V1beta1IngressTLS'), require('./io.kubernetes.js.models/V1beta1LocalSubjectAccessReview'), require('./io.kubernetes.js.models/V1beta1NetworkPolicy'), require('./io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule'), require('./io.kubernetes.js.models/V1beta1NetworkPolicyList'), require('./io.kubernetes.js.models/V1beta1NetworkPolicyPeer'), require('./io.kubernetes.js.models/V1beta1NetworkPolicyPort'), require('./io.kubernetes.js.models/V1beta1NetworkPolicySpec'), require('./io.kubernetes.js.models/V1beta1NonResourceAttributes'), require('./io.kubernetes.js.models/V1beta1PodDisruptionBudget'), require('./io.kubernetes.js.models/V1beta1PodDisruptionBudgetList'), require('./io.kubernetes.js.models/V1beta1PodDisruptionBudgetSpec'), require('./io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus'), require('./io.kubernetes.js.models/V1beta1PodSecurityPolicy'), require('./io.kubernetes.js.models/V1beta1PodSecurityPolicyList'), require('./io.kubernetes.js.models/V1beta1PodSecurityPolicySpec'), require('./io.kubernetes.js.models/V1beta1PolicyRule'), require('./io.kubernetes.js.models/V1beta1ReplicaSet'), require('./io.kubernetes.js.models/V1beta1ReplicaSetCondition'), require('./io.kubernetes.js.models/V1beta1ReplicaSetList'), require('./io.kubernetes.js.models/V1beta1ReplicaSetSpec'), require('./io.kubernetes.js.models/V1beta1ReplicaSetStatus'), require('./io.kubernetes.js.models/V1beta1ResourceAttributes'), require('./io.kubernetes.js.models/V1beta1Role'), require('./io.kubernetes.js.models/V1beta1RoleBinding'), require('./io.kubernetes.js.models/V1beta1RoleBindingList'), require('./io.kubernetes.js.models/V1beta1RoleList'), require('./io.kubernetes.js.models/V1beta1RoleRef'), require('./io.kubernetes.js.models/V1beta1RollingUpdateDaemonSet'), require('./io.kubernetes.js.models/V1beta1RunAsUserStrategyOptions'), require('./io.kubernetes.js.models/V1beta1SELinuxStrategyOptions'), require('./io.kubernetes.js.models/V1beta1SelfSubjectAccessReview'), require('./io.kubernetes.js.models/V1beta1SelfSubjectAccessReviewSpec'), require('./io.kubernetes.js.models/V1beta1StatefulSet'), require('./io.kubernetes.js.models/V1beta1StatefulSetList'), require('./io.kubernetes.js.models/V1beta1StatefulSetSpec'), require('./io.kubernetes.js.models/V1beta1StatefulSetStatus'), require('./io.kubernetes.js.models/V1beta1StorageClass'), require('./io.kubernetes.js.models/V1beta1StorageClassList'), require('./io.kubernetes.js.models/V1beta1Subject'), require('./io.kubernetes.js.models/V1beta1SubjectAccessReview'), require('./io.kubernetes.js.models/V1beta1SubjectAccessReviewSpec'), require('./io.kubernetes.js.models/V1beta1SubjectAccessReviewStatus'), require('./io.kubernetes.js.models/V1beta1SupplementalGroupsStrategyOptions'), require('./io.kubernetes.js.models/V1beta1ThirdPartyResource'), require('./io.kubernetes.js.models/V1beta1ThirdPartyResourceList'), require('./io.kubernetes.js.models/V1beta1TokenReview'), require('./io.kubernetes.js.models/V1beta1TokenReviewSpec'), require('./io.kubernetes.js.models/V1beta1TokenReviewStatus'), require('./io.kubernetes.js.models/V1beta1UserInfo'), require('./io.kubernetes.js.models/V2alpha1CronJob'), require('./io.kubernetes.js.models/V2alpha1CronJobList'), require('./io.kubernetes.js.models/V2alpha1CronJobSpec'), require('./io.kubernetes.js.models/V2alpha1CronJobStatus'), require('./io.kubernetes.js.models/V2alpha1CrossVersionObjectReference'), require('./io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler'), require('./io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList'), require('./io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerSpec'), require('./io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerStatus'), require('./io.kubernetes.js.models/V2alpha1JobTemplateSpec'), require('./io.kubernetes.js.models/V2alpha1MetricSpec'), require('./io.kubernetes.js.models/V2alpha1MetricStatus'), require('./io.kubernetes.js.models/V2alpha1ObjectMetricSource'), require('./io.kubernetes.js.models/V2alpha1ObjectMetricStatus'), require('./io.kubernetes.js.models/V2alpha1PodsMetricSource'), require('./io.kubernetes.js.models/V2alpha1PodsMetricStatus'), require('./io.kubernetes.js.models/V2alpha1ResourceMetricSource'), require('./io.kubernetes.js.models/V2alpha1ResourceMetricStatus'), require('./io.kubernetes.js.models/VersionInfo'), require('./io.kubernetes.js.apis/ApisApi'), require('./io.kubernetes.js.apis/AppsApi'), require('./io.kubernetes.js.apis/Apps_v1beta1Api'), require('./io.kubernetes.js.apis/AuthenticationApi'), require('./io.kubernetes.js.apis/Authentication_v1Api'), require('./io.kubernetes.js.apis/Authentication_v1beta1Api'), require('./io.kubernetes.js.apis/AuthorizationApi'), require('./io.kubernetes.js.apis/Authorization_v1Api'), require('./io.kubernetes.js.apis/Authorization_v1beta1Api'), require('./io.kubernetes.js.apis/AutoscalingApi'), require('./io.kubernetes.js.apis/Autoscaling_v1Api'), require('./io.kubernetes.js.apis/Autoscaling_v2alpha1Api'), require('./io.kubernetes.js.apis/BatchApi'), require('./io.kubernetes.js.apis/Batch_v1Api'), require('./io.kubernetes.js.apis/Batch_v2alpha1Api'), require('./io.kubernetes.js.apis/CertificatesApi'), require('./io.kubernetes.js.apis/Certificates_v1beta1Api'), require('./io.kubernetes.js.apis/CoreApi'), require('./io.kubernetes.js.apis/Core_v1Api'), require('./io.kubernetes.js.apis/ExtensionsApi'), require('./io.kubernetes.js.apis/Extensions_v1beta1Api'), require('./io.kubernetes.js.apis/LogsApi'), require('./io.kubernetes.js.apis/PolicyApi'), require('./io.kubernetes.js.apis/Policy_v1beta1Api'), require('./io.kubernetes.js.apis/RbacAuthorizationApi'), require('./io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api'), require('./io.kubernetes.js.apis/RbacAuthorization_v1beta1Api'), require('./io.kubernetes.js.apis/SettingsApi'), require('./io.kubernetes.js.apis/Settings_v1alpha1Api'), require('./io.kubernetes.js.apis/StorageApi'), require('./io.kubernetes.js.apis/Storage_v1Api'), require('./io.kubernetes.js.apis/Storage_v1beta1Api'), require('./io.kubernetes.js.apis/VersionApi'));
- }
-}(function(ApiClient, AppsV1beta1Deployment, AppsV1beta1DeploymentCondition, AppsV1beta1DeploymentList, AppsV1beta1DeploymentRollback, AppsV1beta1DeploymentSpec, AppsV1beta1DeploymentStatus, AppsV1beta1DeploymentStrategy, AppsV1beta1RollbackConfig, AppsV1beta1RollingUpdateDeployment, AppsV1beta1Scale, AppsV1beta1ScaleSpec, AppsV1beta1ScaleStatus, ExtensionsV1beta1Deployment, ExtensionsV1beta1DeploymentCondition, ExtensionsV1beta1DeploymentList, ExtensionsV1beta1DeploymentRollback, ExtensionsV1beta1DeploymentSpec, ExtensionsV1beta1DeploymentStatus, ExtensionsV1beta1DeploymentStrategy, ExtensionsV1beta1RollbackConfig, ExtensionsV1beta1RollingUpdateDeployment, ExtensionsV1beta1Scale, ExtensionsV1beta1ScaleSpec, ExtensionsV1beta1ScaleStatus, RuntimeRawExtension, V1APIGroup, V1APIGroupList, V1APIResource, V1APIResourceList, V1APIVersions, V1AWSElasticBlockStoreVolumeSource, V1Affinity, V1AttachedVolume, V1AzureDiskVolumeSource, V1AzureFileVolumeSource, V1Binding, V1Capabilities, V1CephFSVolumeSource, V1CinderVolumeSource, V1ComponentCondition, V1ComponentStatus, V1ComponentStatusList, V1ConfigMap, V1ConfigMapEnvSource, V1ConfigMapKeySelector, V1ConfigMapList, V1ConfigMapProjection, V1ConfigMapVolumeSource, V1Container, V1ContainerImage, V1ContainerPort, V1ContainerState, V1ContainerStateRunning, V1ContainerStateTerminated, V1ContainerStateWaiting, V1ContainerStatus, V1CrossVersionObjectReference, V1DaemonEndpoint, V1DeleteOptions, V1DownwardAPIProjection, V1DownwardAPIVolumeFile, V1DownwardAPIVolumeSource, V1EmptyDirVolumeSource, V1EndpointAddress, V1EndpointPort, V1EndpointSubset, V1Endpoints, V1EndpointsList, V1EnvFromSource, V1EnvVar, V1EnvVarSource, V1Event, V1EventList, V1EventSource, V1ExecAction, V1FCVolumeSource, V1FlexVolumeSource, V1FlockerVolumeSource, V1GCEPersistentDiskVolumeSource, V1GitRepoVolumeSource, V1GlusterfsVolumeSource, V1GroupVersionForDiscovery, V1HTTPGetAction, V1HTTPHeader, V1Handler, V1HorizontalPodAutoscaler, V1HorizontalPodAutoscalerList, V1HorizontalPodAutoscalerSpec, V1HorizontalPodAutoscalerStatus, V1HostPathVolumeSource, V1ISCSIVolumeSource, V1Job, V1JobCondition, V1JobList, V1JobSpec, V1JobStatus, V1KeyToPath, V1LabelSelector, V1LabelSelectorRequirement, V1Lifecycle, V1LimitRange, V1LimitRangeItem, V1LimitRangeList, V1LimitRangeSpec, V1ListMeta, V1LoadBalancerIngress, V1LoadBalancerStatus, V1LocalObjectReference, V1LocalSubjectAccessReview, V1NFSVolumeSource, V1Namespace, V1NamespaceList, V1NamespaceSpec, V1NamespaceStatus, V1Node, V1NodeAddress, V1NodeAffinity, V1NodeCondition, V1NodeDaemonEndpoints, V1NodeList, V1NodeSelector, V1NodeSelectorRequirement, V1NodeSelectorTerm, V1NodeSpec, V1NodeStatus, V1NodeSystemInfo, V1NonResourceAttributes, V1ObjectFieldSelector, V1ObjectMeta, V1ObjectReference, V1OwnerReference, V1PersistentVolume, V1PersistentVolumeClaim, V1PersistentVolumeClaimList, V1PersistentVolumeClaimSpec, V1PersistentVolumeClaimStatus, V1PersistentVolumeClaimVolumeSource, V1PersistentVolumeList, V1PersistentVolumeSpec, V1PersistentVolumeStatus, V1PhotonPersistentDiskVolumeSource, V1Pod, V1PodAffinity, V1PodAffinityTerm, V1PodAntiAffinity, V1PodCondition, V1PodList, V1PodSecurityContext, V1PodSpec, V1PodStatus, V1PodTemplate, V1PodTemplateList, V1PodTemplateSpec, V1PortworxVolumeSource, V1Preconditions, V1PreferredSchedulingTerm, V1Probe, V1ProjectedVolumeSource, V1QuobyteVolumeSource, V1RBDVolumeSource, V1ReplicationController, V1ReplicationControllerCondition, V1ReplicationControllerList, V1ReplicationControllerSpec, V1ReplicationControllerStatus, V1ResourceAttributes, V1ResourceFieldSelector, V1ResourceQuota, V1ResourceQuotaList, V1ResourceQuotaSpec, V1ResourceQuotaStatus, V1ResourceRequirements, V1SELinuxOptions, V1Scale, V1ScaleIOVolumeSource, V1ScaleSpec, V1ScaleStatus, V1Secret, V1SecretEnvSource, V1SecretKeySelector, V1SecretList, V1SecretProjection, V1SecretVolumeSource, V1SecurityContext, V1SelfSubjectAccessReview, V1SelfSubjectAccessReviewSpec, V1ServerAddressByClientCIDR, V1Service, V1ServiceAccount, V1ServiceAccountList, V1ServiceList, V1ServicePort, V1ServiceSpec, V1ServiceStatus, V1Status, V1StatusCause, V1StatusDetails, V1StorageClass, V1StorageClassList, V1SubjectAccessReview, V1SubjectAccessReviewSpec, V1SubjectAccessReviewStatus, V1TCPSocketAction, V1Taint, V1TokenReview, V1TokenReviewSpec, V1TokenReviewStatus, V1Toleration, V1UserInfo, V1Volume, V1VolumeMount, V1VolumeProjection, V1VsphereVirtualDiskVolumeSource, V1WatchEvent, V1WeightedPodAffinityTerm, V1alpha1ClusterRole, V1alpha1ClusterRoleBinding, V1alpha1ClusterRoleBindingList, V1alpha1ClusterRoleList, V1alpha1PodPreset, V1alpha1PodPresetList, V1alpha1PodPresetSpec, V1alpha1PolicyRule, V1alpha1Role, V1alpha1RoleBinding, V1alpha1RoleBindingList, V1alpha1RoleList, V1alpha1RoleRef, V1alpha1Subject, V1beta1APIVersion, V1beta1CertificateSigningRequest, V1beta1CertificateSigningRequestCondition, V1beta1CertificateSigningRequestList, V1beta1CertificateSigningRequestSpec, V1beta1CertificateSigningRequestStatus, V1beta1ClusterRole, V1beta1ClusterRoleBinding, V1beta1ClusterRoleBindingList, V1beta1ClusterRoleList, V1beta1DaemonSet, V1beta1DaemonSetList, V1beta1DaemonSetSpec, V1beta1DaemonSetStatus, V1beta1DaemonSetUpdateStrategy, V1beta1Eviction, V1beta1FSGroupStrategyOptions, V1beta1HTTPIngressPath, V1beta1HTTPIngressRuleValue, V1beta1HostPortRange, V1beta1IDRange, V1beta1Ingress, V1beta1IngressBackend, V1beta1IngressList, V1beta1IngressRule, V1beta1IngressSpec, V1beta1IngressStatus, V1beta1IngressTLS, V1beta1LocalSubjectAccessReview, V1beta1NetworkPolicy, V1beta1NetworkPolicyIngressRule, V1beta1NetworkPolicyList, V1beta1NetworkPolicyPeer, V1beta1NetworkPolicyPort, V1beta1NetworkPolicySpec, V1beta1NonResourceAttributes, V1beta1PodDisruptionBudget, V1beta1PodDisruptionBudgetList, V1beta1PodDisruptionBudgetSpec, V1beta1PodDisruptionBudgetStatus, V1beta1PodSecurityPolicy, V1beta1PodSecurityPolicyList, V1beta1PodSecurityPolicySpec, V1beta1PolicyRule, V1beta1ReplicaSet, V1beta1ReplicaSetCondition, V1beta1ReplicaSetList, V1beta1ReplicaSetSpec, V1beta1ReplicaSetStatus, V1beta1ResourceAttributes, V1beta1Role, V1beta1RoleBinding, V1beta1RoleBindingList, V1beta1RoleList, V1beta1RoleRef, V1beta1RollingUpdateDaemonSet, V1beta1RunAsUserStrategyOptions, V1beta1SELinuxStrategyOptions, V1beta1SelfSubjectAccessReview, V1beta1SelfSubjectAccessReviewSpec, V1beta1StatefulSet, V1beta1StatefulSetList, V1beta1StatefulSetSpec, V1beta1StatefulSetStatus, V1beta1StorageClass, V1beta1StorageClassList, V1beta1Subject, V1beta1SubjectAccessReview, V1beta1SubjectAccessReviewSpec, V1beta1SubjectAccessReviewStatus, V1beta1SupplementalGroupsStrategyOptions, V1beta1ThirdPartyResource, V1beta1ThirdPartyResourceList, V1beta1TokenReview, V1beta1TokenReviewSpec, V1beta1TokenReviewStatus, V1beta1UserInfo, V2alpha1CronJob, V2alpha1CronJobList, V2alpha1CronJobSpec, V2alpha1CronJobStatus, V2alpha1CrossVersionObjectReference, V2alpha1HorizontalPodAutoscaler, V2alpha1HorizontalPodAutoscalerList, V2alpha1HorizontalPodAutoscalerSpec, V2alpha1HorizontalPodAutoscalerStatus, V2alpha1JobTemplateSpec, V2alpha1MetricSpec, V2alpha1MetricStatus, V2alpha1ObjectMetricSource, V2alpha1ObjectMetricStatus, V2alpha1PodsMetricSource, V2alpha1PodsMetricStatus, V2alpha1ResourceMetricSource, V2alpha1ResourceMetricStatus, VersionInfo, ApisApi, AppsApi, Apps_v1beta1Api, AuthenticationApi, Authentication_v1Api, Authentication_v1beta1Api, AuthorizationApi, Authorization_v1Api, Authorization_v1beta1Api, AutoscalingApi, Autoscaling_v1Api, Autoscaling_v2alpha1Api, BatchApi, Batch_v1Api, Batch_v2alpha1Api, CertificatesApi, Certificates_v1beta1Api, CoreApi, Core_v1Api, ExtensionsApi, Extensions_v1beta1Api, LogsApi, PolicyApi, Policy_v1beta1Api, RbacAuthorizationApi, RbacAuthorization_v1alpha1Api, RbacAuthorization_v1beta1Api, SettingsApi, Settings_v1alpha1Api, StorageApi, Storage_v1Api, Storage_v1beta1Api, VersionApi) {
- 'use strict';
-
- /**
- * Javascript client for Kubernetes..
- * The index module provides access to constructors for all the classes which comprise the public API.
- *
- * var KubernetesJsClient = require('io.kubernetes.js/index'); // See note below*.
- * var xxxSvc = new KubernetesJsClient.XxxApi(); // Allocate the API class we're going to use.
- * var yyyModel = new KubernetesJsClient.Yyy(); // Construct a model instance.
- * yyyModel.someProperty = 'someValue';
- * ...
- * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
- * ...
- *
- * *NOTE: For a top-level AMD script, use require(['io.kubernetes.js/index'], function(){...})
- * and put the application logic within the callback function.
- *
- * A non-AMD browser application (discouraged) might do something like this: - *
- * var xxxSvc = new KubernetesJsClient.XxxApi(); // Allocate the API class we're going to use. - * var yyy = new KubernetesJsClient.Yyy(); // Construct a model instance. - * yyyModel.someProperty = 'someValue'; - * ... - * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service. - * ... - *- * - * @module io.kubernetes.js/index - * @version 1.0.0-snapshot - */ - var exports = { - /** - * The ApiClient constructor. - * @property {module:io.kubernetes.js/ApiClient} - */ - ApiClient: ApiClient, - /** - * The AppsV1beta1Deployment model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} - */ - AppsV1beta1Deployment: AppsV1beta1Deployment, - /** - * The AppsV1beta1DeploymentCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition} - */ - AppsV1beta1DeploymentCondition: AppsV1beta1DeploymentCondition, - /** - * The AppsV1beta1DeploymentList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList} - */ - AppsV1beta1DeploymentList: AppsV1beta1DeploymentList, - /** - * The AppsV1beta1DeploymentRollback model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback} - */ - AppsV1beta1DeploymentRollback: AppsV1beta1DeploymentRollback, - /** - * The AppsV1beta1DeploymentSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentSpec} - */ - AppsV1beta1DeploymentSpec: AppsV1beta1DeploymentSpec, - /** - * The AppsV1beta1DeploymentStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus} - */ - AppsV1beta1DeploymentStatus: AppsV1beta1DeploymentStatus, - /** - * The AppsV1beta1DeploymentStrategy model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStrategy} - */ - AppsV1beta1DeploymentStrategy: AppsV1beta1DeploymentStrategy, - /** - * The AppsV1beta1RollbackConfig model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig} - */ - AppsV1beta1RollbackConfig: AppsV1beta1RollbackConfig, - /** - * The AppsV1beta1RollingUpdateDeployment model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment} - */ - AppsV1beta1RollingUpdateDeployment: AppsV1beta1RollingUpdateDeployment, - /** - * The AppsV1beta1Scale model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} - */ - AppsV1beta1Scale: AppsV1beta1Scale, - /** - * The AppsV1beta1ScaleSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec} - */ - AppsV1beta1ScaleSpec: AppsV1beta1ScaleSpec, - /** - * The AppsV1beta1ScaleStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus} - */ - AppsV1beta1ScaleStatus: AppsV1beta1ScaleStatus, - /** - * The ExtensionsV1beta1Deployment model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} - */ - ExtensionsV1beta1Deployment: ExtensionsV1beta1Deployment, - /** - * The ExtensionsV1beta1DeploymentCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition} - */ - ExtensionsV1beta1DeploymentCondition: ExtensionsV1beta1DeploymentCondition, - /** - * The ExtensionsV1beta1DeploymentList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList} - */ - ExtensionsV1beta1DeploymentList: ExtensionsV1beta1DeploymentList, - /** - * The ExtensionsV1beta1DeploymentRollback model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback} - */ - ExtensionsV1beta1DeploymentRollback: ExtensionsV1beta1DeploymentRollback, - /** - * The ExtensionsV1beta1DeploymentSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentSpec} - */ - ExtensionsV1beta1DeploymentSpec: ExtensionsV1beta1DeploymentSpec, - /** - * The ExtensionsV1beta1DeploymentStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus} - */ - ExtensionsV1beta1DeploymentStatus: ExtensionsV1beta1DeploymentStatus, - /** - * The ExtensionsV1beta1DeploymentStrategy model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStrategy} - */ - ExtensionsV1beta1DeploymentStrategy: ExtensionsV1beta1DeploymentStrategy, - /** - * The ExtensionsV1beta1RollbackConfig model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig} - */ - ExtensionsV1beta1RollbackConfig: ExtensionsV1beta1RollbackConfig, - /** - * The ExtensionsV1beta1RollingUpdateDeployment model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment} - */ - ExtensionsV1beta1RollingUpdateDeployment: ExtensionsV1beta1RollingUpdateDeployment, - /** - * The ExtensionsV1beta1Scale model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - ExtensionsV1beta1Scale: ExtensionsV1beta1Scale, - /** - * The ExtensionsV1beta1ScaleSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec} - */ - ExtensionsV1beta1ScaleSpec: ExtensionsV1beta1ScaleSpec, - /** - * The ExtensionsV1beta1ScaleStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus} - */ - ExtensionsV1beta1ScaleStatus: ExtensionsV1beta1ScaleStatus, - /** - * The RuntimeRawExtension model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/RuntimeRawExtension} - */ - RuntimeRawExtension: RuntimeRawExtension, - /** - * The V1APIGroup model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - V1APIGroup: V1APIGroup, - /** - * The V1APIGroupList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroupList} - */ - V1APIGroupList: V1APIGroupList, - /** - * The V1APIResource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResource} - */ - V1APIResource: V1APIResource, - /** - * The V1APIResourceList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - V1APIResourceList: V1APIResourceList, - /** - * The V1APIVersions model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1APIVersions} - */ - V1APIVersions: V1APIVersions, - /** - * The V1AWSElasticBlockStoreVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1AWSElasticBlockStoreVolumeSource} - */ - V1AWSElasticBlockStoreVolumeSource: V1AWSElasticBlockStoreVolumeSource, - /** - * The V1Affinity model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Affinity} - */ - V1Affinity: V1Affinity, - /** - * The V1AttachedVolume model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume} - */ - V1AttachedVolume: V1AttachedVolume, - /** - * The V1AzureDiskVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource} - */ - V1AzureDiskVolumeSource: V1AzureDiskVolumeSource, - /** - * The V1AzureFileVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource} - */ - V1AzureFileVolumeSource: V1AzureFileVolumeSource, - /** - * The V1Binding model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} - */ - V1Binding: V1Binding, - /** - * The V1Capabilities model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Capabilities} - */ - V1Capabilities: V1Capabilities, - /** - * The V1CephFSVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1CephFSVolumeSource} - */ - V1CephFSVolumeSource: V1CephFSVolumeSource, - /** - * The V1CinderVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1CinderVolumeSource} - */ - V1CinderVolumeSource: V1CinderVolumeSource, - /** - * The V1ComponentCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition} - */ - V1ComponentCondition: V1ComponentCondition, - /** - * The V1ComponentStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus} - */ - V1ComponentStatus: V1ComponentStatus, - /** - * The V1ComponentStatusList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatusList} - */ - V1ComponentStatusList: V1ComponentStatusList, - /** - * The V1ConfigMap model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} - */ - V1ConfigMap: V1ConfigMap, - /** - * The V1ConfigMapEnvSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapEnvSource} - */ - V1ConfigMapEnvSource: V1ConfigMapEnvSource, - /** - * The V1ConfigMapKeySelector model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector} - */ - V1ConfigMapKeySelector: V1ConfigMapKeySelector, - /** - * The V1ConfigMapList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList} - */ - V1ConfigMapList: V1ConfigMapList, - /** - * The V1ConfigMapProjection model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapProjection} - */ - V1ConfigMapProjection: V1ConfigMapProjection, - /** - * The V1ConfigMapVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapVolumeSource} - */ - V1ConfigMapVolumeSource: V1ConfigMapVolumeSource, - /** - * The V1Container model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Container} - */ - V1Container: V1Container, - /** - * The V1ContainerImage model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerImage} - */ - V1ContainerImage: V1ContainerImage, - /** - * The V1ContainerPort model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerPort} - */ - V1ContainerPort: V1ContainerPort, - /** - * The V1ContainerState model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerState} - */ - V1ContainerState: V1ContainerState, - /** - * The V1ContainerStateRunning model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning} - */ - V1ContainerStateRunning: V1ContainerStateRunning, - /** - * The V1ContainerStateTerminated model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated} - */ - V1ContainerStateTerminated: V1ContainerStateTerminated, - /** - * The V1ContainerStateWaiting model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateWaiting} - */ - V1ContainerStateWaiting: V1ContainerStateWaiting, - /** - * The V1ContainerStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus} - */ - V1ContainerStatus: V1ContainerStatus, - /** - * The V1CrossVersionObjectReference model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1CrossVersionObjectReference} - */ - V1CrossVersionObjectReference: V1CrossVersionObjectReference, - /** - * The V1DaemonEndpoint model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint} - */ - V1DaemonEndpoint: V1DaemonEndpoint, - /** - * The V1DeleteOptions model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} - */ - V1DeleteOptions: V1DeleteOptions, - /** - * The V1DownwardAPIProjection model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection} - */ - V1DownwardAPIProjection: V1DownwardAPIProjection, - /** - * The V1DownwardAPIVolumeFile model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeFile} - */ - V1DownwardAPIVolumeFile: V1DownwardAPIVolumeFile, - /** - * The V1DownwardAPIVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource} - */ - V1DownwardAPIVolumeSource: V1DownwardAPIVolumeSource, - /** - * The V1EmptyDirVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EmptyDirVolumeSource} - */ - V1EmptyDirVolumeSource: V1EmptyDirVolumeSource, - /** - * The V1EndpointAddress model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress} - */ - V1EndpointAddress: V1EndpointAddress, - /** - * The V1EndpointPort model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort} - */ - V1EndpointPort: V1EndpointPort, - /** - * The V1EndpointSubset model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset} - */ - V1EndpointSubset: V1EndpointSubset, - /** - * The V1Endpoints model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} - */ - V1Endpoints: V1Endpoints, - /** - * The V1EndpointsList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList} - */ - V1EndpointsList: V1EndpointsList, - /** - * The V1EnvFromSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvFromSource} - */ - V1EnvFromSource: V1EnvFromSource, - /** - * The V1EnvVar model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVar} - */ - V1EnvVar: V1EnvVar, - /** - * The V1EnvVarSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource} - */ - V1EnvVarSource: V1EnvVarSource, - /** - * The V1Event model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} - */ - V1Event: V1Event, - /** - * The V1EventList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EventList} - */ - V1EventList: V1EventList, - /** - * The V1EventSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1EventSource} - */ - V1EventSource: V1EventSource, - /** - * The V1ExecAction model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ExecAction} - */ - V1ExecAction: V1ExecAction, - /** - * The V1FCVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1FCVolumeSource} - */ - V1FCVolumeSource: V1FCVolumeSource, - /** - * The V1FlexVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1FlexVolumeSource} - */ - V1FlexVolumeSource: V1FlexVolumeSource, - /** - * The V1FlockerVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1FlockerVolumeSource} - */ - V1FlockerVolumeSource: V1FlockerVolumeSource, - /** - * The V1GCEPersistentDiskVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource} - */ - V1GCEPersistentDiskVolumeSource: V1GCEPersistentDiskVolumeSource, - /** - * The V1GitRepoVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource} - */ - V1GitRepoVolumeSource: V1GitRepoVolumeSource, - /** - * The V1GlusterfsVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource} - */ - V1GlusterfsVolumeSource: V1GlusterfsVolumeSource, - /** - * The V1GroupVersionForDiscovery model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery} - */ - V1GroupVersionForDiscovery: V1GroupVersionForDiscovery, - /** - * The V1HTTPGetAction model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction} - */ - V1HTTPGetAction: V1HTTPGetAction, - /** - * The V1HTTPHeader model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPHeader} - */ - V1HTTPHeader: V1HTTPHeader, - /** - * The V1Handler model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Handler} - */ - V1Handler: V1Handler, - /** - * The V1HorizontalPodAutoscaler model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} - */ - V1HorizontalPodAutoscaler: V1HorizontalPodAutoscaler, - /** - * The V1HorizontalPodAutoscalerList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList} - */ - V1HorizontalPodAutoscalerList: V1HorizontalPodAutoscalerList, - /** - * The V1HorizontalPodAutoscalerSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerSpec} - */ - V1HorizontalPodAutoscalerSpec: V1HorizontalPodAutoscalerSpec, - /** - * The V1HorizontalPodAutoscalerStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus} - */ - V1HorizontalPodAutoscalerStatus: V1HorizontalPodAutoscalerStatus, - /** - * The V1HostPathVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource} - */ - V1HostPathVolumeSource: V1HostPathVolumeSource, - /** - * The V1ISCSIVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource} - */ - V1ISCSIVolumeSource: V1ISCSIVolumeSource, - /** - * The V1Job model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} - */ - V1Job: V1Job, - /** - * The V1JobCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1JobCondition} - */ - V1JobCondition: V1JobCondition, - /** - * The V1JobList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1JobList} - */ - V1JobList: V1JobList, - /** - * The V1JobSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1JobSpec} - */ - V1JobSpec: V1JobSpec, - /** - * The V1JobStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1JobStatus} - */ - V1JobStatus: V1JobStatus, - /** - * The V1KeyToPath model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1KeyToPath} - */ - V1KeyToPath: V1KeyToPath, - /** - * The V1LabelSelector model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} - */ - V1LabelSelector: V1LabelSelector, - /** - * The V1LabelSelectorRequirement model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelectorRequirement} - */ - V1LabelSelectorRequirement: V1LabelSelectorRequirement, - /** - * The V1Lifecycle model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Lifecycle} - */ - V1Lifecycle: V1Lifecycle, - /** - * The V1LimitRange model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} - */ - V1LimitRange: V1LimitRange, - /** - * The V1LimitRangeItem model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem} - */ - V1LimitRangeItem: V1LimitRangeItem, - /** - * The V1LimitRangeList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList} - */ - V1LimitRangeList: V1LimitRangeList, - /** - * The V1LimitRangeSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeSpec} - */ - V1LimitRangeSpec: V1LimitRangeSpec, - /** - * The V1ListMeta model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ListMeta} - */ - V1ListMeta: V1ListMeta, - /** - * The V1LoadBalancerIngress model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress} - */ - V1LoadBalancerIngress: V1LoadBalancerIngress, - /** - * The V1LoadBalancerStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus} - */ - V1LoadBalancerStatus: V1LoadBalancerStatus, - /** - * The V1LocalObjectReference model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference} - */ - V1LocalObjectReference: V1LocalObjectReference, - /** - * The V1LocalSubjectAccessReview model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview} - */ - V1LocalSubjectAccessReview: V1LocalSubjectAccessReview, - /** - * The V1NFSVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource} - */ - V1NFSVolumeSource: V1NFSVolumeSource, - /** - * The V1Namespace model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - V1Namespace: V1Namespace, - /** - * The V1NamespaceList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList} - */ - V1NamespaceList: V1NamespaceList, - /** - * The V1NamespaceSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceSpec} - */ - V1NamespaceSpec: V1NamespaceSpec, - /** - * The V1NamespaceStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceStatus} - */ - V1NamespaceStatus: V1NamespaceStatus, - /** - * The V1Node model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} - */ - V1Node: V1Node, - /** - * The V1NodeAddress model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress} - */ - V1NodeAddress: V1NodeAddress, - /** - * The V1NodeAffinity model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity} - */ - V1NodeAffinity: V1NodeAffinity, - /** - * The V1NodeCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeCondition} - */ - V1NodeCondition: V1NodeCondition, - /** - * The V1NodeDaemonEndpoints model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints} - */ - V1NodeDaemonEndpoints: V1NodeDaemonEndpoints, - /** - * The V1NodeList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeList} - */ - V1NodeList: V1NodeList, - /** - * The V1NodeSelector model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelector} - */ - V1NodeSelector: V1NodeSelector, - /** - * The V1NodeSelectorRequirement model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorRequirement} - */ - V1NodeSelectorRequirement: V1NodeSelectorRequirement, - /** - * The V1NodeSelectorTerm model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorTerm} - */ - V1NodeSelectorTerm: V1NodeSelectorTerm, - /** - * The V1NodeSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSpec} - */ - V1NodeSpec: V1NodeSpec, - /** - * The V1NodeStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeStatus} - */ - V1NodeStatus: V1NodeStatus, - /** - * The V1NodeSystemInfo model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSystemInfo} - */ - V1NodeSystemInfo: V1NodeSystemInfo, - /** - * The V1NonResourceAttributes model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes} - */ - V1NonResourceAttributes: V1NonResourceAttributes, - /** - * The V1ObjectFieldSelector model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector} - */ - V1ObjectFieldSelector: V1ObjectFieldSelector, - /** - * The V1ObjectMeta model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} - */ - V1ObjectMeta: V1ObjectMeta, - /** - * The V1ObjectReference model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference} - */ - V1ObjectReference: V1ObjectReference, - /** - * The V1OwnerReference model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference} - */ - V1OwnerReference: V1OwnerReference, - /** - * The V1PersistentVolume model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} - */ - V1PersistentVolume: V1PersistentVolume, - /** - * The V1PersistentVolumeClaim model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} - */ - V1PersistentVolumeClaim: V1PersistentVolumeClaim, - /** - * The V1PersistentVolumeClaimList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList} - */ - V1PersistentVolumeClaimList: V1PersistentVolumeClaimList, - /** - * The V1PersistentVolumeClaimSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimSpec} - */ - V1PersistentVolumeClaimSpec: V1PersistentVolumeClaimSpec, - /** - * The V1PersistentVolumeClaimStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimStatus} - */ - V1PersistentVolumeClaimStatus: V1PersistentVolumeClaimStatus, - /** - * The V1PersistentVolumeClaimVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimVolumeSource} - */ - V1PersistentVolumeClaimVolumeSource: V1PersistentVolumeClaimVolumeSource, - /** - * The V1PersistentVolumeList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList} - */ - V1PersistentVolumeList: V1PersistentVolumeList, - /** - * The V1PersistentVolumeSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeSpec} - */ - V1PersistentVolumeSpec: V1PersistentVolumeSpec, - /** - * The V1PersistentVolumeStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeStatus} - */ - V1PersistentVolumeStatus: V1PersistentVolumeStatus, - /** - * The V1PhotonPersistentDiskVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource} - */ - V1PhotonPersistentDiskVolumeSource: V1PhotonPersistentDiskVolumeSource, - /** - * The V1Pod model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} - */ - V1Pod: V1Pod, - /** - * The V1PodAffinity model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity} - */ - V1PodAffinity: V1PodAffinity, - /** - * The V1PodAffinityTerm model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm} - */ - V1PodAffinityTerm: V1PodAffinityTerm, - /** - * The V1PodAntiAffinity model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAntiAffinity} - */ - V1PodAntiAffinity: V1PodAntiAffinity, - /** - * The V1PodCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodCondition} - */ - V1PodCondition: V1PodCondition, - /** - * The V1PodList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodList} - */ - V1PodList: V1PodList, - /** - * The V1PodSecurityContext model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodSecurityContext} - */ - V1PodSecurityContext: V1PodSecurityContext, - /** - * The V1PodSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodSpec} - */ - V1PodSpec: V1PodSpec, - /** - * The V1PodStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodStatus} - */ - V1PodStatus: V1PodStatus, - /** - * The V1PodTemplate model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} - */ - V1PodTemplate: V1PodTemplate, - /** - * The V1PodTemplateList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList} - */ - V1PodTemplateList: V1PodTemplateList, - /** - * The V1PodTemplateSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} - */ - V1PodTemplateSpec: V1PodTemplateSpec, - /** - * The V1PortworxVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource} - */ - V1PortworxVolumeSource: V1PortworxVolumeSource, - /** - * The V1Preconditions model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Preconditions} - */ - V1Preconditions: V1Preconditions, - /** - * The V1PreferredSchedulingTerm model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm} - */ - V1PreferredSchedulingTerm: V1PreferredSchedulingTerm, - /** - * The V1Probe model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Probe} - */ - V1Probe: V1Probe, - /** - * The V1ProjectedVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource} - */ - V1ProjectedVolumeSource: V1ProjectedVolumeSource, - /** - * The V1QuobyteVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1QuobyteVolumeSource} - */ - V1QuobyteVolumeSource: V1QuobyteVolumeSource, - /** - * The V1RBDVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource} - */ - V1RBDVolumeSource: V1RBDVolumeSource, - /** - * The V1ReplicationController model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} - */ - V1ReplicationController: V1ReplicationController, - /** - * The V1ReplicationControllerCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition} - */ - V1ReplicationControllerCondition: V1ReplicationControllerCondition, - /** - * The V1ReplicationControllerList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList} - */ - V1ReplicationControllerList: V1ReplicationControllerList, - /** - * The V1ReplicationControllerSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerSpec} - */ - V1ReplicationControllerSpec: V1ReplicationControllerSpec, - /** - * The V1ReplicationControllerStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerStatus} - */ - V1ReplicationControllerStatus: V1ReplicationControllerStatus, - /** - * The V1ResourceAttributes model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceAttributes} - */ - V1ResourceAttributes: V1ResourceAttributes, - /** - * The V1ResourceFieldSelector model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector} - */ - V1ResourceFieldSelector: V1ResourceFieldSelector, - /** - * The V1ResourceQuota model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} - */ - V1ResourceQuota: V1ResourceQuota, - /** - * The V1ResourceQuotaList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList} - */ - V1ResourceQuotaList: V1ResourceQuotaList, - /** - * The V1ResourceQuotaSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaSpec} - */ - V1ResourceQuotaSpec: V1ResourceQuotaSpec, - /** - * The V1ResourceQuotaStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaStatus} - */ - V1ResourceQuotaStatus: V1ResourceQuotaStatus, - /** - * The V1ResourceRequirements model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceRequirements} - */ - V1ResourceRequirements: V1ResourceRequirements, - /** - * The V1SELinuxOptions model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SELinuxOptions} - */ - V1SELinuxOptions: V1SELinuxOptions, - /** - * The V1Scale model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} - */ - V1Scale: V1Scale, - /** - * The V1ScaleIOVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource} - */ - V1ScaleIOVolumeSource: V1ScaleIOVolumeSource, - /** - * The V1ScaleSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec} - */ - V1ScaleSpec: V1ScaleSpec, - /** - * The V1ScaleStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus} - */ - V1ScaleStatus: V1ScaleStatus, - /** - * The V1Secret model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} - */ - V1Secret: V1Secret, - /** - * The V1SecretEnvSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretEnvSource} - */ - V1SecretEnvSource: V1SecretEnvSource, - /** - * The V1SecretKeySelector model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector} - */ - V1SecretKeySelector: V1SecretKeySelector, - /** - * The V1SecretList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretList} - */ - V1SecretList: V1SecretList, - /** - * The V1SecretProjection model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretProjection} - */ - V1SecretProjection: V1SecretProjection, - /** - * The V1SecretVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretVolumeSource} - */ - V1SecretVolumeSource: V1SecretVolumeSource, - /** - * The V1SecurityContext model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SecurityContext} - */ - V1SecurityContext: V1SecurityContext, - /** - * The V1SelfSubjectAccessReview model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview} - */ - V1SelfSubjectAccessReview: V1SelfSubjectAccessReview, - /** - * The V1SelfSubjectAccessReviewSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec} - */ - V1SelfSubjectAccessReviewSpec: V1SelfSubjectAccessReviewSpec, - /** - * The V1ServerAddressByClientCIDR model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR} - */ - V1ServerAddressByClientCIDR: V1ServerAddressByClientCIDR, - /** - * The V1Service model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} - */ - V1Service: V1Service, - /** - * The V1ServiceAccount model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} - */ - V1ServiceAccount: V1ServiceAccount, - /** - * The V1ServiceAccountList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList} - */ - V1ServiceAccountList: V1ServiceAccountList, - /** - * The V1ServiceList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceList} - */ - V1ServiceList: V1ServiceList, - /** - * The V1ServicePort model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ServicePort} - */ - V1ServicePort: V1ServicePort, - /** - * The V1ServiceSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec} - */ - V1ServiceSpec: V1ServiceSpec, - /** - * The V1ServiceStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceStatus} - */ - V1ServiceStatus: V1ServiceStatus, - /** - * The V1Status model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - V1Status: V1Status, - /** - * The V1StatusCause model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1StatusCause} - */ - V1StatusCause: V1StatusCause, - /** - * The V1StatusDetails model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails} - */ - V1StatusDetails: V1StatusDetails, - /** - * The V1StorageClass model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} - */ - V1StorageClass: V1StorageClass, - /** - * The V1StorageClassList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClassList} - */ - V1StorageClassList: V1StorageClassList, - /** - * The V1SubjectAccessReview model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview} - */ - V1SubjectAccessReview: V1SubjectAccessReview, - /** - * The V1SubjectAccessReviewSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec} - */ - V1SubjectAccessReviewSpec: V1SubjectAccessReviewSpec, - /** - * The V1SubjectAccessReviewStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus} - */ - V1SubjectAccessReviewStatus: V1SubjectAccessReviewStatus, - /** - * The V1TCPSocketAction model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction} - */ - V1TCPSocketAction: V1TCPSocketAction, - /** - * The V1Taint model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Taint} - */ - V1Taint: V1Taint, - /** - * The V1TokenReview model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReview} - */ - V1TokenReview: V1TokenReview, - /** - * The V1TokenReviewSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec} - */ - V1TokenReviewSpec: V1TokenReviewSpec, - /** - * The V1TokenReviewStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus} - */ - V1TokenReviewStatus: V1TokenReviewStatus, - /** - * The V1Toleration model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Toleration} - */ - V1Toleration: V1Toleration, - /** - * The V1UserInfo model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1UserInfo} - */ - V1UserInfo: V1UserInfo, - /** - * The V1Volume model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1Volume} - */ - V1Volume: V1Volume, - /** - * The V1VolumeMount model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount} - */ - V1VolumeMount: V1VolumeMount, - /** - * The V1VolumeProjection model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection} - */ - V1VolumeProjection: V1VolumeProjection, - /** - * The V1VsphereVirtualDiskVolumeSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource} - */ - V1VsphereVirtualDiskVolumeSource: V1VsphereVirtualDiskVolumeSource, - /** - * The V1WatchEvent model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent} - */ - V1WatchEvent: V1WatchEvent, - /** - * The V1WeightedPodAffinityTerm model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm} - */ - V1WeightedPodAffinityTerm: V1WeightedPodAffinityTerm, - /** - * The V1alpha1ClusterRole model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} - */ - V1alpha1ClusterRole: V1alpha1ClusterRole, - /** - * The V1alpha1ClusterRoleBinding model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} - */ - V1alpha1ClusterRoleBinding: V1alpha1ClusterRoleBinding, - /** - * The V1alpha1ClusterRoleBindingList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBindingList} - */ - V1alpha1ClusterRoleBindingList: V1alpha1ClusterRoleBindingList, - /** - * The V1alpha1ClusterRoleList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleList} - */ - V1alpha1ClusterRoleList: V1alpha1ClusterRoleList, - /** - * The V1alpha1PodPreset model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} - */ - V1alpha1PodPreset: V1alpha1PodPreset, - /** - * The V1alpha1PodPresetList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList} - */ - V1alpha1PodPresetList: V1alpha1PodPresetList, - /** - * The V1alpha1PodPresetSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetSpec} - */ - V1alpha1PodPresetSpec: V1alpha1PodPresetSpec, - /** - * The V1alpha1PolicyRule model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PolicyRule} - */ - V1alpha1PolicyRule: V1alpha1PolicyRule, - /** - * The V1alpha1Role model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} - */ - V1alpha1Role: V1alpha1Role, - /** - * The V1alpha1RoleBinding model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} - */ - V1alpha1RoleBinding: V1alpha1RoleBinding, - /** - * The V1alpha1RoleBindingList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList} - */ - V1alpha1RoleBindingList: V1alpha1RoleBindingList, - /** - * The V1alpha1RoleList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList} - */ - V1alpha1RoleList: V1alpha1RoleList, - /** - * The V1alpha1RoleRef model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef} - */ - V1alpha1RoleRef: V1alpha1RoleRef, - /** - * The V1alpha1Subject model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject} - */ - V1alpha1Subject: V1alpha1Subject, - /** - * The V1beta1APIVersion model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion} - */ - V1beta1APIVersion: V1beta1APIVersion, - /** - * The V1beta1CertificateSigningRequest model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} - */ - V1beta1CertificateSigningRequest: V1beta1CertificateSigningRequest, - /** - * The V1beta1CertificateSigningRequestCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition} - */ - V1beta1CertificateSigningRequestCondition: V1beta1CertificateSigningRequestCondition, - /** - * The V1beta1CertificateSigningRequestList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList} - */ - V1beta1CertificateSigningRequestList: V1beta1CertificateSigningRequestList, - /** - * The V1beta1CertificateSigningRequestSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestSpec} - */ - V1beta1CertificateSigningRequestSpec: V1beta1CertificateSigningRequestSpec, - /** - * The V1beta1CertificateSigningRequestStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestStatus} - */ - V1beta1CertificateSigningRequestStatus: V1beta1CertificateSigningRequestStatus, - /** - * The V1beta1ClusterRole model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} - */ - V1beta1ClusterRole: V1beta1ClusterRole, - /** - * The V1beta1ClusterRoleBinding model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} - */ - V1beta1ClusterRoleBinding: V1beta1ClusterRoleBinding, - /** - * The V1beta1ClusterRoleBindingList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBindingList} - */ - V1beta1ClusterRoleBindingList: V1beta1ClusterRoleBindingList, - /** - * The V1beta1ClusterRoleList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleList} - */ - V1beta1ClusterRoleList: V1beta1ClusterRoleList, - /** - * The V1beta1DaemonSet model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} - */ - V1beta1DaemonSet: V1beta1DaemonSet, - /** - * The V1beta1DaemonSetList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList} - */ - V1beta1DaemonSetList: V1beta1DaemonSetList, - /** - * The V1beta1DaemonSetSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetSpec} - */ - V1beta1DaemonSetSpec: V1beta1DaemonSetSpec, - /** - * The V1beta1DaemonSetStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus} - */ - V1beta1DaemonSetStatus: V1beta1DaemonSetStatus, - /** - * The V1beta1DaemonSetUpdateStrategy model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy} - */ - V1beta1DaemonSetUpdateStrategy: V1beta1DaemonSetUpdateStrategy, - /** - * The V1beta1Eviction model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction} - */ - V1beta1Eviction: V1beta1Eviction, - /** - * The V1beta1FSGroupStrategyOptions model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions} - */ - V1beta1FSGroupStrategyOptions: V1beta1FSGroupStrategyOptions, - /** - * The V1beta1HTTPIngressPath model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressPath} - */ - V1beta1HTTPIngressPath: V1beta1HTTPIngressPath, - /** - * The V1beta1HTTPIngressRuleValue model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue} - */ - V1beta1HTTPIngressRuleValue: V1beta1HTTPIngressRuleValue, - /** - * The V1beta1HostPortRange model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HostPortRange} - */ - V1beta1HostPortRange: V1beta1HostPortRange, - /** - * The V1beta1IDRange model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange} - */ - V1beta1IDRange: V1beta1IDRange, - /** - * The V1beta1Ingress model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} - */ - V1beta1Ingress: V1beta1Ingress, - /** - * The V1beta1IngressBackend model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend} - */ - V1beta1IngressBackend: V1beta1IngressBackend, - /** - * The V1beta1IngressList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList} - */ - V1beta1IngressList: V1beta1IngressList, - /** - * The V1beta1IngressRule model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressRule} - */ - V1beta1IngressRule: V1beta1IngressRule, - /** - * The V1beta1IngressSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec} - */ - V1beta1IngressSpec: V1beta1IngressSpec, - /** - * The V1beta1IngressStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressStatus} - */ - V1beta1IngressStatus: V1beta1IngressStatus, - /** - * The V1beta1IngressTLS model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS} - */ - V1beta1IngressTLS: V1beta1IngressTLS, - /** - * The V1beta1LocalSubjectAccessReview model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview} - */ - V1beta1LocalSubjectAccessReview: V1beta1LocalSubjectAccessReview, - /** - * The V1beta1NetworkPolicy model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} - */ - V1beta1NetworkPolicy: V1beta1NetworkPolicy, - /** - * The V1beta1NetworkPolicyIngressRule model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule} - */ - V1beta1NetworkPolicyIngressRule: V1beta1NetworkPolicyIngressRule, - /** - * The V1beta1NetworkPolicyList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList} - */ - V1beta1NetworkPolicyList: V1beta1NetworkPolicyList, - /** - * The V1beta1NetworkPolicyPeer model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPeer} - */ - V1beta1NetworkPolicyPeer: V1beta1NetworkPolicyPeer, - /** - * The V1beta1NetworkPolicyPort model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort} - */ - V1beta1NetworkPolicyPort: V1beta1NetworkPolicyPort, - /** - * The V1beta1NetworkPolicySpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec} - */ - V1beta1NetworkPolicySpec: V1beta1NetworkPolicySpec, - /** - * The V1beta1NonResourceAttributes model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NonResourceAttributes} - */ - V1beta1NonResourceAttributes: V1beta1NonResourceAttributes, - /** - * The V1beta1PodDisruptionBudget model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} - */ - V1beta1PodDisruptionBudget: V1beta1PodDisruptionBudget, - /** - * The V1beta1PodDisruptionBudgetList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList} - */ - V1beta1PodDisruptionBudgetList: V1beta1PodDisruptionBudgetList, - /** - * The V1beta1PodDisruptionBudgetSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetSpec} - */ - V1beta1PodDisruptionBudgetSpec: V1beta1PodDisruptionBudgetSpec, - /** - * The V1beta1PodDisruptionBudgetStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus} - */ - V1beta1PodDisruptionBudgetStatus: V1beta1PodDisruptionBudgetStatus, - /** - * The V1beta1PodSecurityPolicy model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} - */ - V1beta1PodSecurityPolicy: V1beta1PodSecurityPolicy, - /** - * The V1beta1PodSecurityPolicyList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList} - */ - V1beta1PodSecurityPolicyList: V1beta1PodSecurityPolicyList, - /** - * The V1beta1PodSecurityPolicySpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicySpec} - */ - V1beta1PodSecurityPolicySpec: V1beta1PodSecurityPolicySpec, - /** - * The V1beta1PolicyRule model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PolicyRule} - */ - V1beta1PolicyRule: V1beta1PolicyRule, - /** - * The V1beta1ReplicaSet model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} - */ - V1beta1ReplicaSet: V1beta1ReplicaSet, - /** - * The V1beta1ReplicaSetCondition model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetCondition} - */ - V1beta1ReplicaSetCondition: V1beta1ReplicaSetCondition, - /** - * The V1beta1ReplicaSetList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetList} - */ - V1beta1ReplicaSetList: V1beta1ReplicaSetList, - /** - * The V1beta1ReplicaSetSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetSpec} - */ - V1beta1ReplicaSetSpec: V1beta1ReplicaSetSpec, - /** - * The V1beta1ReplicaSetStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetStatus} - */ - V1beta1ReplicaSetStatus: V1beta1ReplicaSetStatus, - /** - * The V1beta1ResourceAttributes model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ResourceAttributes} - */ - V1beta1ResourceAttributes: V1beta1ResourceAttributes, - /** - * The V1beta1Role model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} - */ - V1beta1Role: V1beta1Role, - /** - * The V1beta1RoleBinding model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} - */ - V1beta1RoleBinding: V1beta1RoleBinding, - /** - * The V1beta1RoleBindingList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBindingList} - */ - V1beta1RoleBindingList: V1beta1RoleBindingList, - /** - * The V1beta1RoleList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleList} - */ - V1beta1RoleList: V1beta1RoleList, - /** - * The V1beta1RoleRef model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleRef} - */ - V1beta1RoleRef: V1beta1RoleRef, - /** - * The V1beta1RollingUpdateDaemonSet model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RollingUpdateDaemonSet} - */ - V1beta1RollingUpdateDaemonSet: V1beta1RollingUpdateDaemonSet, - /** - * The V1beta1RunAsUserStrategyOptions model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RunAsUserStrategyOptions} - */ - V1beta1RunAsUserStrategyOptions: V1beta1RunAsUserStrategyOptions, - /** - * The V1beta1SELinuxStrategyOptions model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SELinuxStrategyOptions} - */ - V1beta1SELinuxStrategyOptions: V1beta1SELinuxStrategyOptions, - /** - * The V1beta1SelfSubjectAccessReview model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SelfSubjectAccessReview} - */ - V1beta1SelfSubjectAccessReview: V1beta1SelfSubjectAccessReview, - /** - * The V1beta1SelfSubjectAccessReviewSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SelfSubjectAccessReviewSpec} - */ - V1beta1SelfSubjectAccessReviewSpec: V1beta1SelfSubjectAccessReviewSpec, - /** - * The V1beta1StatefulSet model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} - */ - V1beta1StatefulSet: V1beta1StatefulSet, - /** - * The V1beta1StatefulSetList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetList} - */ - V1beta1StatefulSetList: V1beta1StatefulSetList, - /** - * The V1beta1StatefulSetSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetSpec} - */ - V1beta1StatefulSetSpec: V1beta1StatefulSetSpec, - /** - * The V1beta1StatefulSetStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetStatus} - */ - V1beta1StatefulSetStatus: V1beta1StatefulSetStatus, - /** - * The V1beta1StorageClass model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} - */ - V1beta1StorageClass: V1beta1StorageClass, - /** - * The V1beta1StorageClassList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClassList} - */ - V1beta1StorageClassList: V1beta1StorageClassList, - /** - * The V1beta1Subject model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Subject} - */ - V1beta1Subject: V1beta1Subject, - /** - * The V1beta1SubjectAccessReview model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReview} - */ - V1beta1SubjectAccessReview: V1beta1SubjectAccessReview, - /** - * The V1beta1SubjectAccessReviewSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReviewSpec} - */ - V1beta1SubjectAccessReviewSpec: V1beta1SubjectAccessReviewSpec, - /** - * The V1beta1SubjectAccessReviewStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReviewStatus} - */ - V1beta1SubjectAccessReviewStatus: V1beta1SubjectAccessReviewStatus, - /** - * The V1beta1SupplementalGroupsStrategyOptions model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SupplementalGroupsStrategyOptions} - */ - V1beta1SupplementalGroupsStrategyOptions: V1beta1SupplementalGroupsStrategyOptions, - /** - * The V1beta1ThirdPartyResource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} - */ - V1beta1ThirdPartyResource: V1beta1ThirdPartyResource, - /** - * The V1beta1ThirdPartyResourceList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResourceList} - */ - V1beta1ThirdPartyResourceList: V1beta1ThirdPartyResourceList, - /** - * The V1beta1TokenReview model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReview} - */ - V1beta1TokenReview: V1beta1TokenReview, - /** - * The V1beta1TokenReviewSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReviewSpec} - */ - V1beta1TokenReviewSpec: V1beta1TokenReviewSpec, - /** - * The V1beta1TokenReviewStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReviewStatus} - */ - V1beta1TokenReviewStatus: V1beta1TokenReviewStatus, - /** - * The V1beta1UserInfo model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1UserInfo} - */ - V1beta1UserInfo: V1beta1UserInfo, - /** - * The V2alpha1CronJob model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - V2alpha1CronJob: V2alpha1CronJob, - /** - * The V2alpha1CronJobList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} - */ - V2alpha1CronJobList: V2alpha1CronJobList, - /** - * The V2alpha1CronJobSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobSpec} - */ - V2alpha1CronJobSpec: V2alpha1CronJobSpec, - /** - * The V2alpha1CronJobStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobStatus} - */ - V2alpha1CronJobStatus: V2alpha1CronJobStatus, - /** - * The V2alpha1CrossVersionObjectReference model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CrossVersionObjectReference} - */ - V2alpha1CrossVersionObjectReference: V2alpha1CrossVersionObjectReference, - /** - * The V2alpha1HorizontalPodAutoscaler model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} - */ - V2alpha1HorizontalPodAutoscaler: V2alpha1HorizontalPodAutoscaler, - /** - * The V2alpha1HorizontalPodAutoscalerList model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList} - */ - V2alpha1HorizontalPodAutoscalerList: V2alpha1HorizontalPodAutoscalerList, - /** - * The V2alpha1HorizontalPodAutoscalerSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerSpec} - */ - V2alpha1HorizontalPodAutoscalerSpec: V2alpha1HorizontalPodAutoscalerSpec, - /** - * The V2alpha1HorizontalPodAutoscalerStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerStatus} - */ - V2alpha1HorizontalPodAutoscalerStatus: V2alpha1HorizontalPodAutoscalerStatus, - /** - * The V2alpha1JobTemplateSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1JobTemplateSpec} - */ - V2alpha1JobTemplateSpec: V2alpha1JobTemplateSpec, - /** - * The V2alpha1MetricSpec model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1MetricSpec} - */ - V2alpha1MetricSpec: V2alpha1MetricSpec, - /** - * The V2alpha1MetricStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1MetricStatus} - */ - V2alpha1MetricStatus: V2alpha1MetricStatus, - /** - * The V2alpha1ObjectMetricSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1ObjectMetricSource} - */ - V2alpha1ObjectMetricSource: V2alpha1ObjectMetricSource, - /** - * The V2alpha1ObjectMetricStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1ObjectMetricStatus} - */ - V2alpha1ObjectMetricStatus: V2alpha1ObjectMetricStatus, - /** - * The V2alpha1PodsMetricSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1PodsMetricSource} - */ - V2alpha1PodsMetricSource: V2alpha1PodsMetricSource, - /** - * The V2alpha1PodsMetricStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1PodsMetricStatus} - */ - V2alpha1PodsMetricStatus: V2alpha1PodsMetricStatus, - /** - * The V2alpha1ResourceMetricSource model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1ResourceMetricSource} - */ - V2alpha1ResourceMetricSource: V2alpha1ResourceMetricSource, - /** - * The V2alpha1ResourceMetricStatus model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1ResourceMetricStatus} - */ - V2alpha1ResourceMetricStatus: V2alpha1ResourceMetricStatus, - /** - * The VersionInfo model constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.models/VersionInfo} - */ - VersionInfo: VersionInfo, - /** - * The ApisApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/ApisApi} - */ - ApisApi: ApisApi, - /** - * The AppsApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/AppsApi} - */ - AppsApi: AppsApi, - /** - * The Apps_v1beta1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api} - */ - Apps_v1beta1Api: Apps_v1beta1Api, - /** - * The AuthenticationApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi} - */ - AuthenticationApi: AuthenticationApi, - /** - * The Authentication_v1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api} - */ - Authentication_v1Api: Authentication_v1Api, - /** - * The Authentication_v1beta1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api} - */ - Authentication_v1beta1Api: Authentication_v1beta1Api, - /** - * The AuthorizationApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi} - */ - AuthorizationApi: AuthorizationApi, - /** - * The Authorization_v1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api} - */ - Authorization_v1Api: Authorization_v1Api, - /** - * The Authorization_v1beta1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api} - */ - Authorization_v1beta1Api: Authorization_v1beta1Api, - /** - * The AutoscalingApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi} - */ - AutoscalingApi: AutoscalingApi, - /** - * The Autoscaling_v1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api} - */ - Autoscaling_v1Api: Autoscaling_v1Api, - /** - * The Autoscaling_v2alpha1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api} - */ - Autoscaling_v2alpha1Api: Autoscaling_v2alpha1Api, - /** - * The BatchApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/BatchApi} - */ - BatchApi: BatchApi, - /** - * The Batch_v1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api} - */ - Batch_v1Api: Batch_v1Api, - /** - * The Batch_v2alpha1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api} - */ - Batch_v2alpha1Api: Batch_v2alpha1Api, - /** - * The CertificatesApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi} - */ - CertificatesApi: CertificatesApi, - /** - * The Certificates_v1beta1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api} - */ - Certificates_v1beta1Api: Certificates_v1beta1Api, - /** - * The CoreApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/CoreApi} - */ - CoreApi: CoreApi, - /** - * The Core_v1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api} - */ - Core_v1Api: Core_v1Api, - /** - * The ExtensionsApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi} - */ - ExtensionsApi: ExtensionsApi, - /** - * The Extensions_v1beta1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api} - */ - Extensions_v1beta1Api: Extensions_v1beta1Api, - /** - * The LogsApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/LogsApi} - */ - LogsApi: LogsApi, - /** - * The PolicyApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/PolicyApi} - */ - PolicyApi: PolicyApi, - /** - * The Policy_v1beta1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api} - */ - Policy_v1beta1Api: Policy_v1beta1Api, - /** - * The RbacAuthorizationApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi} - */ - RbacAuthorizationApi: RbacAuthorizationApi, - /** - * The RbacAuthorization_v1alpha1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api} - */ - RbacAuthorization_v1alpha1Api: RbacAuthorization_v1alpha1Api, - /** - * The RbacAuthorization_v1beta1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api} - */ - RbacAuthorization_v1beta1Api: RbacAuthorization_v1beta1Api, - /** - * The SettingsApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/SettingsApi} - */ - SettingsApi: SettingsApi, - /** - * The Settings_v1alpha1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api} - */ - Settings_v1alpha1Api: Settings_v1alpha1Api, - /** - * The StorageApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/StorageApi} - */ - StorageApi: StorageApi, - /** - * The Storage_v1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api} - */ - Storage_v1Api: Storage_v1Api, - /** - * The Storage_v1beta1Api service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api} - */ - Storage_v1beta1Api: Storage_v1beta1Api, - /** - * The VersionApi service constructor. - * @property {module:io.kubernetes.js/io.kubernetes.js.apis/VersionApi} - */ - VersionApi: VersionApi - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/ApisApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/ApisApi.js deleted file mode 100644 index f112cbe5bb..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/ApisApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroupList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroupList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.ApisApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroupList); - } -}(this, function(ApiClient, V1APIGroupList) { - 'use strict'; - - /** - * Apis service. - * @module io.kubernetes.js/io.kubernetes.js.apis/ApisApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new ApisApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/ApisApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIVersions operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/ApisApi~getAPIVersionsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroupList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available API versions - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/ApisApi~getAPIVersionsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroupList} - */ - this.getAPIVersions = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroupList; - - return this.apiClient.callApi( - '/apis/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AppsApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AppsApi.js deleted file mode 100644 index 5e8cf2cdd5..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AppsApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.AppsApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Apps service. - * @module io.kubernetes.js/io.kubernetes.js.apis/AppsApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new AppsApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/AppsApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/AppsApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/AppsApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/apps/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api.js deleted file mode 100644 index 18fc3e8726..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api.js +++ /dev/null @@ -1,1644 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/AppsV1beta1Deployment'), require('../io.kubernetes.js.models/AppsV1beta1DeploymentList'), require('../io.kubernetes.js.models/AppsV1beta1DeploymentRollback'), require('../io.kubernetes.js.models/AppsV1beta1Scale'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1beta1StatefulSet'), require('../io.kubernetes.js.models/V1beta1StatefulSetList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Apps_v1beta1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.AppsV1beta1Deployment, root.KubernetesJsClient.AppsV1beta1DeploymentList, root.KubernetesJsClient.AppsV1beta1DeploymentRollback, root.KubernetesJsClient.AppsV1beta1Scale, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1beta1StatefulSet, root.KubernetesJsClient.V1beta1StatefulSetList); - } -}(this, function(ApiClient, AppsV1beta1Deployment, AppsV1beta1DeploymentList, AppsV1beta1DeploymentRollback, AppsV1beta1Scale, V1APIResourceList, V1DeleteOptions, V1Status, V1beta1StatefulSet, V1beta1StatefulSetList) { - 'use strict'; - - /** - * Apps_v1beta1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Apps_v1beta1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~createNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~createNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} - */ - this.createNamespacedDeployment = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedDeployment"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedDeployment"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedDeploymentRollbackRollback operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~createNamespacedDeploymentRollbackRollbackCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create rollback of a DeploymentRollback - * @param {String} name name of the DeploymentRollback - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~createNamespacedDeploymentRollbackRollbackCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback} - */ - this.createNamespacedDeploymentRollbackRollback = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling createNamespacedDeploymentRollbackRollback"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedDeploymentRollbackRollback"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedDeploymentRollbackRollback"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1DeploymentRollback; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedStatefulSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~createNamespacedStatefulSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~createNamespacedStatefulSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} - */ - this.createNamespacedStatefulSet = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedStatefulSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedStatefulSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StatefulSet; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~deleteCollectionNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~deleteCollectionNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedDeployment = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedDeployment"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedStatefulSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~deleteCollectionNamespacedStatefulSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~deleteCollectionNamespacedStatefulSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedStatefulSet = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedStatefulSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~deleteNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~deleteNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedDeployment = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedDeployment"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedDeployment"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedDeployment"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedStatefulSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~deleteNamespacedStatefulSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a StatefulSet - * @param {String} name name of the StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~deleteNamespacedStatefulSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedStatefulSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedStatefulSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedStatefulSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedStatefulSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listDeploymentForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~listDeploymentForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Deployment - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~listDeploymentForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList} - */ - this.listDeploymentForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = AppsV1beta1DeploymentList; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/deployments', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~listNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~listNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList} - */ - this.listNamespacedDeployment = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedDeployment"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = AppsV1beta1DeploymentList; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedStatefulSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~listNamespacedStatefulSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~listNamespacedStatefulSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetList} - */ - this.listNamespacedStatefulSet = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedStatefulSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1StatefulSetList; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listStatefulSetForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~listStatefulSetForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind StatefulSet - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~listStatefulSetForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSetList} - */ - this.listStatefulSetForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1StatefulSetList; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/statefulsets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} - */ - this.patchNamespacedDeployment = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedDeployment"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedDeployment"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedDeployment"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedDeploymentStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedDeploymentStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedDeploymentStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} - */ - this.patchNamespacedDeploymentStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedDeploymentStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedDeploymentStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedScaleScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedScaleScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedScaleScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} - */ - this.patchNamespacedScaleScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedScaleScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedScaleScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedScaleScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedStatefulSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedStatefulSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified StatefulSet - * @param {String} name name of the StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedStatefulSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} - */ - this.patchNamespacedStatefulSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedStatefulSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedStatefulSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StatefulSet; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedStatefulSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedStatefulSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified StatefulSet - * @param {String} name name of the StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~patchNamespacedStatefulSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} - */ - this.patchNamespacedStatefulSetStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedStatefulSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSetStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedStatefulSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StatefulSet; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} - */ - this.readNamespacedDeployment = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedDeployment"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedDeployment"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedDeploymentStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedDeploymentStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedDeploymentStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} - */ - this.readNamespacedDeploymentStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedDeploymentStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedDeploymentStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedScaleScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedScaleScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedScaleScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} - */ - this.readNamespacedScaleScale = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedScaleScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedScaleScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedStatefulSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedStatefulSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified StatefulSet - * @param {String} name name of the StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedStatefulSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} - */ - this.readNamespacedStatefulSet = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedStatefulSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedStatefulSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StatefulSet; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedStatefulSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedStatefulSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified StatefulSet - * @param {String} name name of the StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~readNamespacedStatefulSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} - */ - this.readNamespacedStatefulSetStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedStatefulSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedStatefulSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StatefulSet; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} - */ - this.replaceNamespacedDeployment = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedDeployment"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedDeployment"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedDeployment"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedDeploymentStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedDeploymentStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedDeploymentStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} - */ - this.replaceNamespacedDeploymentStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedDeploymentStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedDeploymentStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedScaleScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedScaleScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedScaleScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} - */ - this.replaceNamespacedScaleScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedScaleScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedScaleScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedScaleScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = AppsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedStatefulSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedStatefulSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified StatefulSet - * @param {String} name name of the StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedStatefulSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} - */ - this.replaceNamespacedStatefulSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedStatefulSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedStatefulSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedStatefulSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StatefulSet; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedStatefulSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedStatefulSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified StatefulSet - * @param {String} name name of the StatefulSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Apps_v1beta1Api~replaceNamespacedStatefulSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StatefulSet} - */ - this.replaceNamespacedStatefulSetStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedStatefulSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedStatefulSetStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedStatefulSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StatefulSet; - - return this.apiClient.callApi( - '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi.js deleted file mode 100644 index 6481e7a4af..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.AuthenticationApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Authentication service. - * @module io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new AuthenticationApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/AuthenticationApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/authentication.k8s.io/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api.js deleted file mode 100644 index e571836d29..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api.js +++ /dev/null @@ -1,136 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1TokenReview'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1TokenReview')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Authentication_v1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1TokenReview); - } -}(this, function(ApiClient, V1APIResourceList, V1TokenReview) { - 'use strict'; - - /** - * Authentication_v1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Authentication_v1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createTokenReview operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api~createTokenReviewCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReview} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a TokenReview - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReview} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api~createTokenReviewCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReview} - */ - this.createTokenReview = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createTokenReview"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1TokenReview; - - return this.apiClient.callApi( - '/apis/authentication.k8s.io/v1/tokenreviews', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/authentication.k8s.io/v1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api.js deleted file mode 100644 index 95c4be43bf..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api.js +++ /dev/null @@ -1,136 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReview'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1beta1TokenReview')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Authentication_v1beta1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1beta1TokenReview); - } -}(this, function(ApiClient, V1APIResourceList, V1beta1TokenReview) { - 'use strict'; - - /** - * Authentication_v1beta1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Authentication_v1beta1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createTokenReview operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api~createTokenReviewCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReview} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a TokenReview - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReview} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api~createTokenReviewCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1TokenReview} - */ - this.createTokenReview = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createTokenReview"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1TokenReview; - - return this.apiClient.callApi( - '/apis/authentication.k8s.io/v1beta1/tokenreviews', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authentication_v1beta1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/authentication.k8s.io/v1beta1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi.js deleted file mode 100644 index 403520f166..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.AuthorizationApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Authorization service. - * @module io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new AuthorizationApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/AuthorizationApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api.js deleted file mode 100644 index e6644c3500..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api.js +++ /dev/null @@ -1,239 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1LocalSubjectAccessReview'), require('../io.kubernetes.js.models/V1SelfSubjectAccessReview'), require('../io.kubernetes.js.models/V1SubjectAccessReview')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Authorization_v1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1LocalSubjectAccessReview, root.KubernetesJsClient.V1SelfSubjectAccessReview, root.KubernetesJsClient.V1SubjectAccessReview); - } -}(this, function(ApiClient, V1APIResourceList, V1LocalSubjectAccessReview, V1SelfSubjectAccessReview, V1SubjectAccessReview) { - 'use strict'; - - /** - * Authorization_v1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Authorization_v1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedLocalSubjectAccessReview operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api~createNamespacedLocalSubjectAccessReviewCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a LocalSubjectAccessReview - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api~createNamespacedLocalSubjectAccessReviewCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview} - */ - this.createNamespacedLocalSubjectAccessReview = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedLocalSubjectAccessReview"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedLocalSubjectAccessReview"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1LocalSubjectAccessReview; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createSelfSubjectAccessReview operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api~createSelfSubjectAccessReviewCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a SelfSubjectAccessReview - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api~createSelfSubjectAccessReviewCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview} - */ - this.createSelfSubjectAccessReview = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createSelfSubjectAccessReview"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1SelfSubjectAccessReview; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/v1/selfsubjectaccessreviews', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createSubjectAccessReview operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api~createSubjectAccessReviewCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a SubjectAccessReview - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api~createSubjectAccessReviewCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview} - */ - this.createSubjectAccessReview = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createSubjectAccessReview"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1SubjectAccessReview; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/v1/subjectaccessreviews', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/v1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api.js deleted file mode 100644 index 4697dd2910..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api.js +++ /dev/null @@ -1,239 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SelfSubjectAccessReview', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReview'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1beta1LocalSubjectAccessReview'), require('../io.kubernetes.js.models/V1beta1SelfSubjectAccessReview'), require('../io.kubernetes.js.models/V1beta1SubjectAccessReview')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Authorization_v1beta1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1beta1LocalSubjectAccessReview, root.KubernetesJsClient.V1beta1SelfSubjectAccessReview, root.KubernetesJsClient.V1beta1SubjectAccessReview); - } -}(this, function(ApiClient, V1APIResourceList, V1beta1LocalSubjectAccessReview, V1beta1SelfSubjectAccessReview, V1beta1SubjectAccessReview) { - 'use strict'; - - /** - * Authorization_v1beta1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Authorization_v1beta1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedLocalSubjectAccessReview operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api~createNamespacedLocalSubjectAccessReviewCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a LocalSubjectAccessReview - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api~createNamespacedLocalSubjectAccessReviewCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview} - */ - this.createNamespacedLocalSubjectAccessReview = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedLocalSubjectAccessReview"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedLocalSubjectAccessReview"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1LocalSubjectAccessReview; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createSelfSubjectAccessReview operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api~createSelfSubjectAccessReviewCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SelfSubjectAccessReview} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a SelfSubjectAccessReview - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SelfSubjectAccessReview} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api~createSelfSubjectAccessReviewCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SelfSubjectAccessReview} - */ - this.createSelfSubjectAccessReview = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createSelfSubjectAccessReview"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1SelfSubjectAccessReview; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createSubjectAccessReview operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api~createSubjectAccessReviewCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReview} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a SubjectAccessReview - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReview} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api~createSubjectAccessReviewCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReview} - */ - this.createSubjectAccessReview = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createSubjectAccessReview"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1SubjectAccessReview; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/v1beta1/subjectaccessreviews', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Authorization_v1beta1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/authorization.k8s.io/v1beta1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi.js deleted file mode 100644 index 247f84cdc5..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.AutoscalingApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Autoscaling service. - * @module io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new AutoscalingApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/AutoscalingApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/autoscaling/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api.js deleted file mode 100644 index 9c3ba506b2..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api.js +++ /dev/null @@ -1,745 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList', 'io.kubernetes.js/io.kubernetes.js.models/V1Status'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1HorizontalPodAutoscaler'), require('../io.kubernetes.js.models/V1HorizontalPodAutoscalerList'), require('../io.kubernetes.js.models/V1Status')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Autoscaling_v1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1HorizontalPodAutoscaler, root.KubernetesJsClient.V1HorizontalPodAutoscalerList, root.KubernetesJsClient.V1Status); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1HorizontalPodAutoscaler, V1HorizontalPodAutoscalerList, V1Status) { - 'use strict'; - - /** - * Autoscaling_v1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Autoscaling_v1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~createNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~createNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} - */ - this.createNamespacedHorizontalPodAutoscaler = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~deleteCollectionNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~deleteCollectionNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedHorizontalPodAutoscaler = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~deleteNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~deleteNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedHorizontalPodAutoscaler = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listHorizontalPodAutoscalerForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~listHorizontalPodAutoscalerForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind HorizontalPodAutoscaler - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~listHorizontalPodAutoscalerForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList} - */ - this.listHorizontalPodAutoscalerForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1HorizontalPodAutoscalerList; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/horizontalpodautoscalers', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~listNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~listNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList} - */ - this.listNamespacedHorizontalPodAutoscaler = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1HorizontalPodAutoscalerList; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~patchNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~patchNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} - */ - this.patchNamespacedHorizontalPodAutoscaler = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedHorizontalPodAutoscalerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~patchNamespacedHorizontalPodAutoscalerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~patchNamespacedHorizontalPodAutoscalerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} - */ - this.patchNamespacedHorizontalPodAutoscalerStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedHorizontalPodAutoscalerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~readNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~readNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} - */ - this.readNamespacedHorizontalPodAutoscaler = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedHorizontalPodAutoscalerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~readNamespacedHorizontalPodAutoscalerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~readNamespacedHorizontalPodAutoscalerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} - */ - this.readNamespacedHorizontalPodAutoscalerStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedHorizontalPodAutoscalerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~replaceNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~replaceNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} - */ - this.replaceNamespacedHorizontalPodAutoscaler = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedHorizontalPodAutoscalerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~replaceNamespacedHorizontalPodAutoscalerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v1Api~replaceNamespacedHorizontalPodAutoscalerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} - */ - this.replaceNamespacedHorizontalPodAutoscalerStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedHorizontalPodAutoscalerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api.js deleted file mode 100644 index ae3efb4c1b..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api.js +++ /dev/null @@ -1,745 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler'), require('../io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Autoscaling_v2alpha1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V2alpha1HorizontalPodAutoscaler, root.KubernetesJsClient.V2alpha1HorizontalPodAutoscalerList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V2alpha1HorizontalPodAutoscaler, V2alpha1HorizontalPodAutoscalerList) { - 'use strict'; - - /** - * Autoscaling_v2alpha1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Autoscaling_v2alpha1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~createNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~createNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} - */ - this.createNamespacedHorizontalPodAutoscaler = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~deleteCollectionNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~deleteCollectionNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedHorizontalPodAutoscaler = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~deleteNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~deleteNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedHorizontalPodAutoscaler = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listHorizontalPodAutoscalerForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~listHorizontalPodAutoscalerForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind HorizontalPodAutoscaler - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~listHorizontalPodAutoscalerForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList} - */ - this.listHorizontalPodAutoscalerForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V2alpha1HorizontalPodAutoscalerList; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/horizontalpodautoscalers', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~listNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~listNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscalerList} - */ - this.listNamespacedHorizontalPodAutoscaler = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V2alpha1HorizontalPodAutoscalerList; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~patchNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~patchNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} - */ - this.patchNamespacedHorizontalPodAutoscaler = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedHorizontalPodAutoscalerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~patchNamespacedHorizontalPodAutoscalerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~patchNamespacedHorizontalPodAutoscalerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} - */ - this.patchNamespacedHorizontalPodAutoscalerStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedHorizontalPodAutoscalerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~readNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~readNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} - */ - this.readNamespacedHorizontalPodAutoscaler = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedHorizontalPodAutoscalerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~readNamespacedHorizontalPodAutoscalerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~readNamespacedHorizontalPodAutoscalerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} - */ - this.readNamespacedHorizontalPodAutoscalerStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedHorizontalPodAutoscalerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedHorizontalPodAutoscaler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~replaceNamespacedHorizontalPodAutoscalerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~replaceNamespacedHorizontalPodAutoscalerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} - */ - this.replaceNamespacedHorizontalPodAutoscaler = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedHorizontalPodAutoscaler"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedHorizontalPodAutoscaler"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedHorizontalPodAutoscalerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~replaceNamespacedHorizontalPodAutoscalerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified HorizontalPodAutoscaler - * @param {String} name name of the HorizontalPodAutoscaler - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Autoscaling_v2alpha1Api~replaceNamespacedHorizontalPodAutoscalerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1HorizontalPodAutoscaler} - */ - this.replaceNamespacedHorizontalPodAutoscalerStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedHorizontalPodAutoscalerStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedHorizontalPodAutoscalerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1HorizontalPodAutoscaler; - - return this.apiClient.callApi( - '/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/BatchApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/BatchApi.js deleted file mode 100644 index 43d0e323da..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/BatchApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.BatchApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Batch service. - * @module io.kubernetes.js/io.kubernetes.js.apis/BatchApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new BatchApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/BatchApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/BatchApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/BatchApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/batch/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api.js deleted file mode 100644 index ad279aa778..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api.js +++ /dev/null @@ -1,745 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Job', 'io.kubernetes.js/io.kubernetes.js.models/V1JobList', 'io.kubernetes.js/io.kubernetes.js.models/V1Status'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Job'), require('../io.kubernetes.js.models/V1JobList'), require('../io.kubernetes.js.models/V1Status')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Batch_v1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Job, root.KubernetesJsClient.V1JobList, root.KubernetesJsClient.V1Status); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Job, V1JobList, V1Status) { - 'use strict'; - - /** - * Batch_v1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Batch_v1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~createNamespacedJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~createNamespacedJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Job} - */ - this.createNamespacedJob = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Job; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~deleteCollectionNamespacedJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~deleteCollectionNamespacedJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedJob = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~deleteNamespacedJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Job - * @param {String} name name of the Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~deleteNamespacedJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/batch/v1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listJobForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~listJobForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1JobList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Job - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~listJobForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1JobList} - */ - this.listJobForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1JobList; - - return this.apiClient.callApi( - '/apis/batch/v1/jobs', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~listNamespacedJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1JobList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~listNamespacedJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1JobList} - */ - this.listNamespacedJob = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1JobList; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~patchNamespacedJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Job - * @param {String} name name of the Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~patchNamespacedJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Job} - */ - this.patchNamespacedJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Job; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~patchNamespacedJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified Job - * @param {String} name name of the Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~patchNamespacedJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Job} - */ - this.patchNamespacedJobStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedJobStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Job; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~readNamespacedJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Job - * @param {String} name name of the Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~readNamespacedJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Job} - */ - this.readNamespacedJob = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Job; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~readNamespacedJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified Job - * @param {String} name name of the Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~readNamespacedJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Job} - */ - this.readNamespacedJobStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Job; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~replaceNamespacedJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Job - * @param {String} name name of the Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~replaceNamespacedJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Job} - */ - this.replaceNamespacedJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Job; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~replaceNamespacedJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified Job - * @param {String} name name of the Job - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v1Api~replaceNamespacedJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Job} - */ - this.replaceNamespacedJobStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedJobStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Job; - - return this.apiClient.callApi( - '/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api.js deleted file mode 100644 index de594fa5c0..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api.js +++ /dev/null @@ -1,1402 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob', 'io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V2alpha1CronJob'), require('../io.kubernetes.js.models/V2alpha1CronJobList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Batch_v2alpha1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V2alpha1CronJob, root.KubernetesJsClient.V2alpha1CronJobList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V2alpha1CronJob, V2alpha1CronJobList) { - 'use strict'; - - /** - * Batch_v2alpha1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Batch_v2alpha1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedCronJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~createNamespacedCronJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~createNamespacedCronJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.createNamespacedCronJob = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedCronJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedCronJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedScheduledJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~createNamespacedScheduledJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~createNamespacedScheduledJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.createNamespacedScheduledJob = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedScheduledJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedScheduledJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedCronJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~deleteCollectionNamespacedCronJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~deleteCollectionNamespacedCronJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedCronJob = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedCronJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedScheduledJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~deleteCollectionNamespacedScheduledJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~deleteCollectionNamespacedScheduledJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedScheduledJob = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedScheduledJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedCronJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~deleteNamespacedCronJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a CronJob - * @param {String} name name of the CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~deleteNamespacedCronJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedCronJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedCronJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedCronJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedCronJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedScheduledJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~deleteNamespacedScheduledJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ScheduledJob - * @param {String} name name of the ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~deleteNamespacedScheduledJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedScheduledJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedScheduledJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedScheduledJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedScheduledJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listCronJobForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~listCronJobForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind CronJob - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~listCronJobForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} - */ - this.listCronJobForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V2alpha1CronJobList; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/cronjobs', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedCronJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~listNamespacedCronJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~listNamespacedCronJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} - */ - this.listNamespacedCronJob = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedCronJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V2alpha1CronJobList; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedScheduledJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~listNamespacedScheduledJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~listNamespacedScheduledJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} - */ - this.listNamespacedScheduledJob = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedScheduledJob"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V2alpha1CronJobList; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listScheduledJobForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~listScheduledJobForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ScheduledJob - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~listScheduledJobForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJobList} - */ - this.listScheduledJobForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V2alpha1CronJobList; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/scheduledjobs', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedCronJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~patchNamespacedCronJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified CronJob - * @param {String} name name of the CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~patchNamespacedCronJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.patchNamespacedCronJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedCronJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedCronJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedCronJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedCronJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~patchNamespacedCronJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified CronJob - * @param {String} name name of the CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~patchNamespacedCronJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.patchNamespacedCronJobStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedCronJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedCronJobStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedCronJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedScheduledJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~patchNamespacedScheduledJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ScheduledJob - * @param {String} name name of the ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~patchNamespacedScheduledJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.patchNamespacedScheduledJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedScheduledJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedScheduledJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedScheduledJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedScheduledJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~patchNamespacedScheduledJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified ScheduledJob - * @param {String} name name of the ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~patchNamespacedScheduledJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.patchNamespacedScheduledJobStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedScheduledJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedScheduledJobStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedScheduledJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedCronJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~readNamespacedCronJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified CronJob - * @param {String} name name of the CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~readNamespacedCronJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.readNamespacedCronJob = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedCronJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedCronJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedCronJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~readNamespacedCronJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified CronJob - * @param {String} name name of the CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~readNamespacedCronJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.readNamespacedCronJobStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedCronJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedCronJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedScheduledJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~readNamespacedScheduledJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ScheduledJob - * @param {String} name name of the ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~readNamespacedScheduledJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.readNamespacedScheduledJob = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedScheduledJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedScheduledJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedScheduledJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~readNamespacedScheduledJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified ScheduledJob - * @param {String} name name of the ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~readNamespacedScheduledJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.readNamespacedScheduledJobStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedScheduledJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedScheduledJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedCronJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~replaceNamespacedCronJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified CronJob - * @param {String} name name of the CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~replaceNamespacedCronJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.replaceNamespacedCronJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedCronJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedCronJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedCronJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedCronJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~replaceNamespacedCronJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified CronJob - * @param {String} name name of the CronJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~replaceNamespacedCronJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.replaceNamespacedCronJobStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedCronJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedCronJobStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedCronJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedScheduledJob operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~replaceNamespacedScheduledJobCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ScheduledJob - * @param {String} name name of the ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~replaceNamespacedScheduledJobCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.replaceNamespacedScheduledJob = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedScheduledJob"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedScheduledJob"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedScheduledJob"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedScheduledJobStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~replaceNamespacedScheduledJobStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified ScheduledJob - * @param {String} name name of the ScheduledJob - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Batch_v2alpha1Api~replaceNamespacedScheduledJobStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V2alpha1CronJob} - */ - this.replaceNamespacedScheduledJobStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedScheduledJobStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedScheduledJobStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedScheduledJobStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V2alpha1CronJob; - - return this.apiClient.callApi( - '/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi.js deleted file mode 100644 index 2edd240b5d..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.CertificatesApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Certificates service. - * @module io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new CertificatesApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/CertificatesApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api.js deleted file mode 100644 index 785ca80e00..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api.js +++ /dev/null @@ -1,574 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1beta1CertificateSigningRequest'), require('../io.kubernetes.js.models/V1beta1CertificateSigningRequestList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Certificates_v1beta1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1beta1CertificateSigningRequest, root.KubernetesJsClient.V1beta1CertificateSigningRequestList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V1beta1CertificateSigningRequest, V1beta1CertificateSigningRequestList) { - 'use strict'; - - /** - * Certificates_v1beta1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Certificates_v1beta1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createCertificateSigningRequest operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~createCertificateSigningRequestCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a CertificateSigningRequest - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~createCertificateSigningRequestCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} - */ - this.createCertificateSigningRequest = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createCertificateSigningRequest"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1CertificateSigningRequest; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCertificateSigningRequest operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~deleteCertificateSigningRequestCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a CertificateSigningRequest - * @param {String} name name of the CertificateSigningRequest - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~deleteCertificateSigningRequestCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCertificateSigningRequest = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteCertificateSigningRequest"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteCertificateSigningRequest"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionCertificateSigningRequest operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~deleteCollectionCertificateSigningRequestCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of CertificateSigningRequest - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~deleteCollectionCertificateSigningRequestCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionCertificateSigningRequest = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listCertificateSigningRequest operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~listCertificateSigningRequestCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind CertificateSigningRequest - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~listCertificateSigningRequestCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList} - */ - this.listCertificateSigningRequest = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1CertificateSigningRequestList; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchCertificateSigningRequest operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~patchCertificateSigningRequestCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified CertificateSigningRequest - * @param {String} name name of the CertificateSigningRequest - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~patchCertificateSigningRequestCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} - */ - this.patchCertificateSigningRequest = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchCertificateSigningRequest"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchCertificateSigningRequest"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1CertificateSigningRequest; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readCertificateSigningRequest operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~readCertificateSigningRequestCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified CertificateSigningRequest - * @param {String} name name of the CertificateSigningRequest - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~readCertificateSigningRequestCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} - */ - this.readCertificateSigningRequest = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readCertificateSigningRequest"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1CertificateSigningRequest; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceCertificateSigningRequest operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~replaceCertificateSigningRequestCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified CertificateSigningRequest - * @param {String} name name of the CertificateSigningRequest - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~replaceCertificateSigningRequestCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} - */ - this.replaceCertificateSigningRequest = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceCertificateSigningRequest"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceCertificateSigningRequest"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1CertificateSigningRequest; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceCertificateSigningRequestApproval operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~replaceCertificateSigningRequestApprovalCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace approval of the specified CertificateSigningRequest - * @param {String} name name of the CertificateSigningRequest - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~replaceCertificateSigningRequestApprovalCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} - */ - this.replaceCertificateSigningRequestApproval = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceCertificateSigningRequestApproval"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceCertificateSigningRequestApproval"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1CertificateSigningRequest; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceCertificateSigningRequestStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~replaceCertificateSigningRequestStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified CertificateSigningRequest - * @param {String} name name of the CertificateSigningRequest - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Certificates_v1beta1Api~replaceCertificateSigningRequestStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} - */ - this.replaceCertificateSigningRequestStatus = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceCertificateSigningRequestStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceCertificateSigningRequestStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1CertificateSigningRequest; - - return this.apiClient.callApi( - '/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/CoreApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/CoreApi.js deleted file mode 100644 index d92dd452dc..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/CoreApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIVersions'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIVersions')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.CoreApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIVersions); - } -}(this, function(ApiClient, V1APIVersions) { - 'use strict'; - - /** - * Core service. - * @module io.kubernetes.js/io.kubernetes.js.apis/CoreApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new CoreApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/CoreApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIVersions operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/CoreApi~getAPIVersionsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIVersions} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available API versions - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/CoreApi~getAPIVersionsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIVersions} - */ - this.getAPIVersions = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIVersions; - - return this.apiClient.callApi( - '/api/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api.js deleted file mode 100644 index 0449582bc3..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api.js +++ /dev/null @@ -1,13494 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1Binding', 'io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatusList', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Endpoints', 'io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList', 'io.kubernetes.js/io.kubernetes.js.models/V1Event', 'io.kubernetes.js/io.kubernetes.js.models/V1EventList', 'io.kubernetes.js/io.kubernetes.js.models/V1LimitRange', 'io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList', 'io.kubernetes.js/io.kubernetes.js.models/V1Namespace', 'io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList', 'io.kubernetes.js/io.kubernetes.js.models/V1Node', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeList', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList', 'io.kubernetes.js/io.kubernetes.js.models/V1Pod', 'io.kubernetes.js/io.kubernetes.js.models/V1PodList', 'io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate', 'io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList', 'io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController', 'io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList', 'io.kubernetes.js/io.kubernetes.js.models/V1Scale', 'io.kubernetes.js/io.kubernetes.js.models/V1Secret', 'io.kubernetes.js/io.kubernetes.js.models/V1SecretList', 'io.kubernetes.js/io.kubernetes.js.models/V1Service', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceList', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1Binding'), require('../io.kubernetes.js.models/V1ComponentStatus'), require('../io.kubernetes.js.models/V1ComponentStatusList'), require('../io.kubernetes.js.models/V1ConfigMap'), require('../io.kubernetes.js.models/V1ConfigMapList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Endpoints'), require('../io.kubernetes.js.models/V1EndpointsList'), require('../io.kubernetes.js.models/V1Event'), require('../io.kubernetes.js.models/V1EventList'), require('../io.kubernetes.js.models/V1LimitRange'), require('../io.kubernetes.js.models/V1LimitRangeList'), require('../io.kubernetes.js.models/V1Namespace'), require('../io.kubernetes.js.models/V1NamespaceList'), require('../io.kubernetes.js.models/V1Node'), require('../io.kubernetes.js.models/V1NodeList'), require('../io.kubernetes.js.models/V1PersistentVolume'), require('../io.kubernetes.js.models/V1PersistentVolumeClaim'), require('../io.kubernetes.js.models/V1PersistentVolumeClaimList'), require('../io.kubernetes.js.models/V1PersistentVolumeList'), require('../io.kubernetes.js.models/V1Pod'), require('../io.kubernetes.js.models/V1PodList'), require('../io.kubernetes.js.models/V1PodTemplate'), require('../io.kubernetes.js.models/V1PodTemplateList'), require('../io.kubernetes.js.models/V1ReplicationController'), require('../io.kubernetes.js.models/V1ReplicationControllerList'), require('../io.kubernetes.js.models/V1ResourceQuota'), require('../io.kubernetes.js.models/V1ResourceQuotaList'), require('../io.kubernetes.js.models/V1Scale'), require('../io.kubernetes.js.models/V1Secret'), require('../io.kubernetes.js.models/V1SecretList'), require('../io.kubernetes.js.models/V1Service'), require('../io.kubernetes.js.models/V1ServiceAccount'), require('../io.kubernetes.js.models/V1ServiceAccountList'), require('../io.kubernetes.js.models/V1ServiceList'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1beta1Eviction')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Core_v1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1Binding, root.KubernetesJsClient.V1ComponentStatus, root.KubernetesJsClient.V1ComponentStatusList, root.KubernetesJsClient.V1ConfigMap, root.KubernetesJsClient.V1ConfigMapList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Endpoints, root.KubernetesJsClient.V1EndpointsList, root.KubernetesJsClient.V1Event, root.KubernetesJsClient.V1EventList, root.KubernetesJsClient.V1LimitRange, root.KubernetesJsClient.V1LimitRangeList, root.KubernetesJsClient.V1Namespace, root.KubernetesJsClient.V1NamespaceList, root.KubernetesJsClient.V1Node, root.KubernetesJsClient.V1NodeList, root.KubernetesJsClient.V1PersistentVolume, root.KubernetesJsClient.V1PersistentVolumeClaim, root.KubernetesJsClient.V1PersistentVolumeClaimList, root.KubernetesJsClient.V1PersistentVolumeList, root.KubernetesJsClient.V1Pod, root.KubernetesJsClient.V1PodList, root.KubernetesJsClient.V1PodTemplate, root.KubernetesJsClient.V1PodTemplateList, root.KubernetesJsClient.V1ReplicationController, root.KubernetesJsClient.V1ReplicationControllerList, root.KubernetesJsClient.V1ResourceQuota, root.KubernetesJsClient.V1ResourceQuotaList, root.KubernetesJsClient.V1Scale, root.KubernetesJsClient.V1Secret, root.KubernetesJsClient.V1SecretList, root.KubernetesJsClient.V1Service, root.KubernetesJsClient.V1ServiceAccount, root.KubernetesJsClient.V1ServiceAccountList, root.KubernetesJsClient.V1ServiceList, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1beta1Eviction); - } -}(this, function(ApiClient, V1APIResourceList, V1Binding, V1ComponentStatus, V1ComponentStatusList, V1ConfigMap, V1ConfigMapList, V1DeleteOptions, V1Endpoints, V1EndpointsList, V1Event, V1EventList, V1LimitRange, V1LimitRangeList, V1Namespace, V1NamespaceList, V1Node, V1NodeList, V1PersistentVolume, V1PersistentVolumeClaim, V1PersistentVolumeClaimList, V1PersistentVolumeList, V1Pod, V1PodList, V1PodTemplate, V1PodTemplateList, V1ReplicationController, V1ReplicationControllerList, V1ResourceQuota, V1ResourceQuotaList, V1Scale, V1Secret, V1SecretList, V1Service, V1ServiceAccount, V1ServiceAccountList, V1ServiceList, V1Status, V1beta1Eviction) { - 'use strict'; - - /** - * Core_v1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Core_v1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the connectDeleteNamespacedPodProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNamespacedPodProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect DELETE requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNamespacedPodProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectDeleteNamespacedPodProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectDeleteNamespacedPodProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectDeleteNamespacedPodProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectDeleteNamespacedPodProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNamespacedPodProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect DELETE requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNamespacedPodProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectDeleteNamespacedPodProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectDeleteNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectDeleteNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectDeleteNamespacedPodProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectDeleteNamespacedServiceProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNamespacedServiceProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect DELETE requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNamespacedServiceProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectDeleteNamespacedServiceProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectDeleteNamespacedServiceProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectDeleteNamespacedServiceProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectDeleteNamespacedServiceProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNamespacedServiceProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect DELETE requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNamespacedServiceProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectDeleteNamespacedServiceProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectDeleteNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectDeleteNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectDeleteNamespacedServiceProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectDeleteNodeProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNodeProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect DELETE requests to proxy of Node - * @param {String} name name of the Node - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNodeProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectDeleteNodeProxy = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectDeleteNodeProxy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectDeleteNodeProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNodeProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect DELETE requests to proxy of Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectDeleteNodeProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectDeleteNodeProxyWithPath = function(name, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectDeleteNodeProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectDeleteNodeProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy/{path}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNamespacedPodAttach operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodAttachCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to attach of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.container The container in which to execute the command. Defaults to only container if there is only one container in the pod. - * @param {Boolean} opts.stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. - * @param {Boolean} opts.stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. - * @param {Boolean} opts.stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. - * @param {Boolean} opts.tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodAttachCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNamespacedPodAttach = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNamespacedPodAttach"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectGetNamespacedPodAttach"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'container': opts['container'], - 'stderr': opts['stderr'], - 'stdin': opts['stdin'], - 'stdout': opts['stdout'], - 'tty': opts['tty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/attach', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNamespacedPodExec operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodExecCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to exec of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.command Command is the remote command to execute. argv array. Not executed within a shell. - * @param {String} opts.container Container in which to execute the command. Defaults to only container if there is only one container in the pod. - * @param {Boolean} opts.stderr Redirect the standard error stream of the pod for this call. Defaults to true. - * @param {Boolean} opts.stdin Redirect the standard input stream of the pod for this call. Defaults to false. - * @param {Boolean} opts.stdout Redirect the standard output stream of the pod for this call. Defaults to true. - * @param {Boolean} opts.tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodExecCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNamespacedPodExec = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNamespacedPodExec"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectGetNamespacedPodExec"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'command': opts['command'], - 'container': opts['container'], - 'stderr': opts['stderr'], - 'stdin': opts['stdin'], - 'stdout': opts['stdout'], - 'tty': opts['tty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/exec', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNamespacedPodPortforward operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodPortforwardCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to portforward of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {Number} opts.ports List of ports to forward Required when using WebSockets - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodPortforwardCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNamespacedPodPortforward = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNamespacedPodPortforward"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectGetNamespacedPodPortforward"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'ports': opts['ports'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/portforward', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNamespacedPodProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNamespacedPodProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNamespacedPodProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectGetNamespacedPodProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNamespacedPodProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedPodProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNamespacedPodProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectGetNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectGetNamespacedPodProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNamespacedServiceProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedServiceProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedServiceProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNamespacedServiceProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNamespacedServiceProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectGetNamespacedServiceProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNamespacedServiceProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedServiceProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNamespacedServiceProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNamespacedServiceProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectGetNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectGetNamespacedServiceProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNodeProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNodeProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to proxy of Node - * @param {String} name name of the Node - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNodeProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNodeProxy = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNodeProxy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectGetNodeProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNodeProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect GET requests to proxy of Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectGetNodeProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectGetNodeProxyWithPath = function(name, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectGetNodeProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectGetNodeProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy/{path}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectHeadNamespacedPodProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNamespacedPodProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect HEAD requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNamespacedPodProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectHeadNamespacedPodProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectHeadNamespacedPodProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectHeadNamespacedPodProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectHeadNamespacedPodProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNamespacedPodProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect HEAD requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNamespacedPodProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectHeadNamespacedPodProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectHeadNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectHeadNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectHeadNamespacedPodProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectHeadNamespacedServiceProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNamespacedServiceProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect HEAD requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNamespacedServiceProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectHeadNamespacedServiceProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectHeadNamespacedServiceProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectHeadNamespacedServiceProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectHeadNamespacedServiceProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNamespacedServiceProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect HEAD requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNamespacedServiceProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectHeadNamespacedServiceProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectHeadNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectHeadNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectHeadNamespacedServiceProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectHeadNodeProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNodeProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect HEAD requests to proxy of Node - * @param {String} name name of the Node - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNodeProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectHeadNodeProxy = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectHeadNodeProxy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectHeadNodeProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNodeProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect HEAD requests to proxy of Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectHeadNodeProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectHeadNodeProxyWithPath = function(name, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectHeadNodeProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectHeadNodeProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy/{path}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectOptionsNamespacedPodProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNamespacedPodProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect OPTIONS requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNamespacedPodProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectOptionsNamespacedPodProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectOptionsNamespacedPodProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectOptionsNamespacedPodProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectOptionsNamespacedPodProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNamespacedPodProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect OPTIONS requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNamespacedPodProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectOptionsNamespacedPodProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectOptionsNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectOptionsNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectOptionsNamespacedPodProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectOptionsNamespacedServiceProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNamespacedServiceProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect OPTIONS requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNamespacedServiceProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectOptionsNamespacedServiceProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectOptionsNamespacedServiceProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectOptionsNamespacedServiceProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectOptionsNamespacedServiceProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNamespacedServiceProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect OPTIONS requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNamespacedServiceProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectOptionsNamespacedServiceProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectOptionsNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectOptionsNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectOptionsNamespacedServiceProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectOptionsNodeProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNodeProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect OPTIONS requests to proxy of Node - * @param {String} name name of the Node - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNodeProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectOptionsNodeProxy = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectOptionsNodeProxy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectOptionsNodeProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNodeProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect OPTIONS requests to proxy of Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectOptionsNodeProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectOptionsNodeProxyWithPath = function(name, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectOptionsNodeProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectOptionsNodeProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy/{path}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNamespacedPodAttach operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodAttachCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to attach of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.container The container in which to execute the command. Defaults to only container if there is only one container in the pod. - * @param {Boolean} opts.stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. - * @param {Boolean} opts.stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. - * @param {Boolean} opts.stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. - * @param {Boolean} opts.tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodAttachCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNamespacedPodAttach = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNamespacedPodAttach"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPostNamespacedPodAttach"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'container': opts['container'], - 'stderr': opts['stderr'], - 'stdin': opts['stdin'], - 'stdout': opts['stdout'], - 'tty': opts['tty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/attach', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNamespacedPodExec operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodExecCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to exec of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.command Command is the remote command to execute. argv array. Not executed within a shell. - * @param {String} opts.container Container in which to execute the command. Defaults to only container if there is only one container in the pod. - * @param {Boolean} opts.stderr Redirect the standard error stream of the pod for this call. Defaults to true. - * @param {Boolean} opts.stdin Redirect the standard input stream of the pod for this call. Defaults to false. - * @param {Boolean} opts.stdout Redirect the standard output stream of the pod for this call. Defaults to true. - * @param {Boolean} opts.tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodExecCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNamespacedPodExec = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNamespacedPodExec"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPostNamespacedPodExec"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'command': opts['command'], - 'container': opts['container'], - 'stderr': opts['stderr'], - 'stdin': opts['stdin'], - 'stdout': opts['stdout'], - 'tty': opts['tty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/exec', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNamespacedPodPortforward operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodPortforwardCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to portforward of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {Number} opts.ports List of ports to forward Required when using WebSockets - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodPortforwardCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNamespacedPodPortforward = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNamespacedPodPortforward"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPostNamespacedPodPortforward"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'ports': opts['ports'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/portforward', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNamespacedPodProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNamespacedPodProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNamespacedPodProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPostNamespacedPodProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNamespacedPodProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedPodProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNamespacedPodProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPostNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectPostNamespacedPodProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNamespacedServiceProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedServiceProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedServiceProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNamespacedServiceProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNamespacedServiceProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPostNamespacedServiceProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNamespacedServiceProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedServiceProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNamespacedServiceProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNamespacedServiceProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPostNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectPostNamespacedServiceProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNodeProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNodeProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to proxy of Node - * @param {String} name name of the Node - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNodeProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNodeProxy = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNodeProxy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPostNodeProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNodeProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect POST requests to proxy of Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPostNodeProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPostNodeProxyWithPath = function(name, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPostNodeProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectPostNodeProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy/{path}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPutNamespacedPodProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNamespacedPodProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect PUT requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNamespacedPodProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPutNamespacedPodProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPutNamespacedPodProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPutNamespacedPodProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPutNamespacedPodProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNamespacedPodProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect PUT requests to proxy of Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to pod. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNamespacedPodProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPutNamespacedPodProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPutNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPutNamespacedPodProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectPutNamespacedPodProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPutNamespacedServiceProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNamespacedServiceProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect PUT requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNamespacedServiceProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPutNamespacedServiceProxy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPutNamespacedServiceProxy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPutNamespacedServiceProxy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPutNamespacedServiceProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNamespacedServiceProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect PUT requests to proxy of Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNamespacedServiceProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPutNamespacedServiceProxyWithPath = function(name, namespace, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPutNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling connectPutNamespacedServiceProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectPutNamespacedServiceProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPutNodeProxy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNodeProxyCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect PUT requests to proxy of Node - * @param {String} name name of the Node - * @param {Object} opts Optional parameters - * @param {String} opts.path Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNodeProxyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPutNodeProxy = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPutNodeProxy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'path': opts['path'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the connectPutNodeProxyWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNodeProxyWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * connect PUT requests to proxy of Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {Object} opts Optional parameters - * @param {String} opts.path2 Path is the URL path to use for the current proxy request to node. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~connectPutNodeProxyWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.connectPutNodeProxyWithPath = function(name, path, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling connectPutNodeProxyWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling connectPutNodeProxyWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - 'path': opts['path2'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/proxy/{path}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespace operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespaceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Namespace - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespaceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - this.createNamespace = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespace"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Namespace; - - return this.apiClient.callApi( - '/api/v1/namespaces', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Binding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} - */ - this.createNamespacedBinding = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedBinding"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Binding; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/bindings', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedBindingBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedBindingBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create binding of a Binding - * @param {String} name name of the Binding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedBindingBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} - */ - this.createNamespacedBindingBinding = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling createNamespacedBindingBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedBindingBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedBindingBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Binding; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/binding', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedConfigMap operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedConfigMapCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ConfigMap - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedConfigMapCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} - */ - this.createNamespacedConfigMap = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedConfigMap"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedConfigMap"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ConfigMap; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/configmaps', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedEndpoints operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedEndpointsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create Endpoints - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedEndpointsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} - */ - this.createNamespacedEndpoints = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedEndpoints"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedEndpoints"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Endpoints; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/endpoints', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedEvent operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedEventCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create an Event - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedEventCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Event} - */ - this.createNamespacedEvent = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedEvent"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedEvent"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Event; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/events', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedEvictionEviction operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedEvictionEvictionCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create eviction of an Eviction - * @param {String} name name of the Eviction - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedEvictionEvictionCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction} - */ - this.createNamespacedEvictionEviction = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling createNamespacedEvictionEviction"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedEvictionEviction"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedEvictionEviction"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Eviction; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/eviction', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedLimitRange operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedLimitRangeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a LimitRange - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedLimitRangeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} - */ - this.createNamespacedLimitRange = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedLimitRange"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedLimitRange"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1LimitRange; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/limitranges', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedPersistentVolumeClaim operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedPersistentVolumeClaimCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedPersistentVolumeClaimCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} - */ - this.createNamespacedPersistentVolumeClaim = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedPersistentVolumeClaim"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedPersistentVolumeClaim"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolumeClaim; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} - */ - this.createNamespacedPod = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedPod"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedPod"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Pod; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedPodTemplate operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedPodTemplateCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a PodTemplate - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedPodTemplateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} - */ - this.createNamespacedPodTemplate = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedPodTemplate"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedPodTemplate"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PodTemplate; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/podtemplates', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedReplicationController operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedReplicationControllerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedReplicationControllerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} - */ - this.createNamespacedReplicationController = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedReplicationController"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedReplicationController"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ReplicationController; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedResourceQuota operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedResourceQuotaCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedResourceQuotaCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} - */ - this.createNamespacedResourceQuota = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedResourceQuota"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedResourceQuota"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ResourceQuota; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedSecret operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedSecretCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Secret - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedSecretCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} - */ - this.createNamespacedSecret = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedSecret"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedSecret"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Secret; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/secrets', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Service} - */ - this.createNamespacedService = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedService"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedService"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Service; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedServiceAccount operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedServiceAccountCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ServiceAccount - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNamespacedServiceAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} - */ - this.createNamespacedServiceAccount = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedServiceAccount"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedServiceAccount"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ServiceAccount; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/serviceaccounts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNodeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Node - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Node} - */ - this.createNode = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNode"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Node; - - return this.apiClient.callApi( - '/api/v1/nodes', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createPersistentVolume operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createPersistentVolumeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a PersistentVolume - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~createPersistentVolumeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} - */ - this.createPersistentVolume = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createPersistentVolume"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolume; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespace operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespaceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Namespace - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespaceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespace = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedConfigMap operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedConfigMapCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ConfigMap - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedConfigMapCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedConfigMap = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedConfigMap"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/configmaps', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedEndpoints operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedEndpointsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Endpoints - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedEndpointsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedEndpoints = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedEndpoints"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/endpoints', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedEvent operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedEventCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Event - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedEventCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedEvent = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedEvent"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/events', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedLimitRange operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedLimitRangeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of LimitRange - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedLimitRangeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedLimitRange = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedLimitRange"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/limitranges', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedPersistentVolumeClaim operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedPersistentVolumeClaimCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedPersistentVolumeClaimCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedPersistentVolumeClaim = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedPersistentVolumeClaim"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedPod = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedPod"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedPodTemplate operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedPodTemplateCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of PodTemplate - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedPodTemplateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedPodTemplate = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedPodTemplate"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/podtemplates', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedReplicationController operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedReplicationControllerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedReplicationControllerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedReplicationController = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedReplicationController"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedResourceQuota operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedResourceQuotaCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedResourceQuotaCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedResourceQuota = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedResourceQuota"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedSecret operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedSecretCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Secret - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedSecretCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedSecret = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedSecret"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/secrets', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedServiceAccount operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedServiceAccountCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ServiceAccount - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNamespacedServiceAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedServiceAccount = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedServiceAccount"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/serviceaccounts', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNodeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Node - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNode = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/nodes', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionPersistentVolume operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionPersistentVolumeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of PersistentVolume - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteCollectionPersistentVolumeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionPersistentVolume = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespace operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespaceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Namespace - * @param {String} name name of the Namespace - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespaceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespace = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespace"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespace"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedConfigMap operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedConfigMapCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ConfigMap - * @param {String} name name of the ConfigMap - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedConfigMapCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedConfigMap = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedConfigMap"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedConfigMap"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedConfigMap"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/configmaps/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedEndpoints operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedEndpointsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete Endpoints - * @param {String} name name of the Endpoints - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedEndpointsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedEndpoints = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedEndpoints"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedEndpoints"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedEndpoints"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/endpoints/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedEvent operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedEventCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete an Event - * @param {String} name name of the Event - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedEventCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedEvent = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedEvent"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedEvent"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedEvent"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/events/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedLimitRange operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedLimitRangeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a LimitRange - * @param {String} name name of the LimitRange - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedLimitRangeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedLimitRange = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedLimitRange"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedLimitRange"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedLimitRange"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/limitranges/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedPersistentVolumeClaim operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedPersistentVolumeClaimCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a PersistentVolumeClaim - * @param {String} name name of the PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedPersistentVolumeClaimCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedPersistentVolumeClaim = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedPersistentVolumeClaim"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedPersistentVolumeClaim"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedPersistentVolumeClaim"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedPod = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedPod"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedPodTemplate operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedPodTemplateCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a PodTemplate - * @param {String} name name of the PodTemplate - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedPodTemplateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedPodTemplate = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedPodTemplate"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedPodTemplate"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedPodTemplate"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/podtemplates/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedReplicationController operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedReplicationControllerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ReplicationController - * @param {String} name name of the ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedReplicationControllerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedReplicationController = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedReplicationController"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedReplicationController"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedReplicationController"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedResourceQuota operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedResourceQuotaCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ResourceQuota - * @param {String} name name of the ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedResourceQuotaCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedResourceQuota = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedResourceQuota"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedResourceQuota"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedResourceQuota"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedSecret operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedSecretCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Secret - * @param {String} name name of the Secret - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedSecretCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedSecret = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedSecret"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedSecret"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedSecret"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/secrets/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedService = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedServiceAccount operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedServiceAccountCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ServiceAccount - * @param {String} name name of the ServiceAccount - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNamespacedServiceAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedServiceAccount = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedServiceAccount"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedServiceAccount"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedServiceAccount"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/serviceaccounts/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNodeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deleteNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNode = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNode"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deletePersistentVolume operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deletePersistentVolumeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a PersistentVolume - * @param {String} name name of the PersistentVolume - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~deletePersistentVolumeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deletePersistentVolume = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deletePersistentVolume"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deletePersistentVolume"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/api/v1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listComponentStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listComponentStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatusList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list objects of kind ComponentStatus - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listComponentStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatusList} - */ - this.listComponentStatus = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ComponentStatusList; - - return this.apiClient.callApi( - '/api/v1/componentstatuses', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listConfigMapForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listConfigMapForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ConfigMap - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listConfigMapForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList} - */ - this.listConfigMapForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ConfigMapList; - - return this.apiClient.callApi( - '/api/v1/configmaps', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listEndpointsForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listEndpointsForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Endpoints - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listEndpointsForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList} - */ - this.listEndpointsForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1EndpointsList; - - return this.apiClient.callApi( - '/api/v1/endpoints', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listEventForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listEventForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EventList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Event - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listEventForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1EventList} - */ - this.listEventForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1EventList; - - return this.apiClient.callApi( - '/api/v1/events', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listLimitRangeForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listLimitRangeForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind LimitRange - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listLimitRangeForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList} - */ - this.listLimitRangeForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1LimitRangeList; - - return this.apiClient.callApi( - '/api/v1/limitranges', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespace operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespaceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Namespace - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespaceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList} - */ - this.listNamespace = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1NamespaceList; - - return this.apiClient.callApi( - '/api/v1/namespaces', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedConfigMap operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedConfigMapCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ConfigMap - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedConfigMapCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList} - */ - this.listNamespacedConfigMap = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedConfigMap"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ConfigMapList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/configmaps', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedEndpoints operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedEndpointsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Endpoints - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedEndpointsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList} - */ - this.listNamespacedEndpoints = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedEndpoints"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1EndpointsList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/endpoints', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedEvent operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedEventCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EventList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Event - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedEventCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1EventList} - */ - this.listNamespacedEvent = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedEvent"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1EventList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/events', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedLimitRange operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedLimitRangeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind LimitRange - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedLimitRangeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList} - */ - this.listNamespacedLimitRange = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedLimitRange"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1LimitRangeList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/limitranges', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedPersistentVolumeClaim operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedPersistentVolumeClaimCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedPersistentVolumeClaimCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList} - */ - this.listNamespacedPersistentVolumeClaim = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedPersistentVolumeClaim"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1PersistentVolumeClaimList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PodList} - */ - this.listNamespacedPod = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedPod"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1PodList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedPodTemplate operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedPodTemplateCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PodTemplate - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedPodTemplateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList} - */ - this.listNamespacedPodTemplate = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedPodTemplate"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1PodTemplateList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/podtemplates', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedReplicationController operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedReplicationControllerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedReplicationControllerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList} - */ - this.listNamespacedReplicationController = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedReplicationController"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ReplicationControllerList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedResourceQuota operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedResourceQuotaCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedResourceQuotaCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList} - */ - this.listNamespacedResourceQuota = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedResourceQuota"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ResourceQuotaList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedSecret operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedSecretCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Secret - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedSecretCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1SecretList} - */ - this.listNamespacedSecret = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedSecret"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1SecretList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/secrets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceList} - */ - this.listNamespacedService = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedService"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ServiceList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedServiceAccount operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedServiceAccountCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ServiceAccount - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNamespacedServiceAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList} - */ - this.listNamespacedServiceAccount = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedServiceAccount"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ServiceAccountList; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/serviceaccounts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNodeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Node - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1NodeList} - */ - this.listNode = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1NodeList; - - return this.apiClient.callApi( - '/api/v1/nodes', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listPersistentVolume operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listPersistentVolumeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PersistentVolume - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listPersistentVolumeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList} - */ - this.listPersistentVolume = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1PersistentVolumeList; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listPersistentVolumeClaimForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listPersistentVolumeClaimForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PersistentVolumeClaim - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listPersistentVolumeClaimForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList} - */ - this.listPersistentVolumeClaimForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1PersistentVolumeClaimList; - - return this.apiClient.callApi( - '/api/v1/persistentvolumeclaims', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listPodForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listPodForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Pod - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listPodForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PodList} - */ - this.listPodForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1PodList; - - return this.apiClient.callApi( - '/api/v1/pods', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listPodTemplateForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listPodTemplateForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PodTemplate - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listPodTemplateForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList} - */ - this.listPodTemplateForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1PodTemplateList; - - return this.apiClient.callApi( - '/api/v1/podtemplates', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listReplicationControllerForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listReplicationControllerForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ReplicationController - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listReplicationControllerForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList} - */ - this.listReplicationControllerForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ReplicationControllerList; - - return this.apiClient.callApi( - '/api/v1/replicationcontrollers', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listResourceQuotaForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listResourceQuotaForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ResourceQuota - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listResourceQuotaForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList} - */ - this.listResourceQuotaForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ResourceQuotaList; - - return this.apiClient.callApi( - '/api/v1/resourcequotas', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listSecretForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listSecretForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Secret - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listSecretForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1SecretList} - */ - this.listSecretForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1SecretList; - - return this.apiClient.callApi( - '/api/v1/secrets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listServiceAccountForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listServiceAccountForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ServiceAccount - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listServiceAccountForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList} - */ - this.listServiceAccountForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ServiceAccountList; - - return this.apiClient.callApi( - '/api/v1/serviceaccounts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listServiceForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listServiceForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Service - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~listServiceForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceList} - */ - this.listServiceForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1ServiceList; - - return this.apiClient.callApi( - '/api/v1/services', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespace operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespaceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Namespace - * @param {String} name name of the Namespace - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespaceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - this.patchNamespace = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespace"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespace"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Namespace; - - return this.apiClient.callApi( - '/api/v1/namespaces/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespaceStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespaceStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified Namespace - * @param {String} name name of the Namespace - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespaceStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - this.patchNamespaceStatus = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespaceStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespaceStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Namespace; - - return this.apiClient.callApi( - '/api/v1/namespaces/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedConfigMap operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedConfigMapCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ConfigMap - * @param {String} name name of the ConfigMap - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedConfigMapCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} - */ - this.patchNamespacedConfigMap = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedConfigMap"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedConfigMap"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedConfigMap"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ConfigMap; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/configmaps/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedEndpoints operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedEndpointsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Endpoints - * @param {String} name name of the Endpoints - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedEndpointsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} - */ - this.patchNamespacedEndpoints = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedEndpoints"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedEndpoints"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedEndpoints"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Endpoints; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/endpoints/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedEvent operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedEventCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Event - * @param {String} name name of the Event - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedEventCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Event} - */ - this.patchNamespacedEvent = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedEvent"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedEvent"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedEvent"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Event; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/events/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedLimitRange operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedLimitRangeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified LimitRange - * @param {String} name name of the LimitRange - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedLimitRangeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} - */ - this.patchNamespacedLimitRange = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedLimitRange"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedLimitRange"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedLimitRange"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1LimitRange; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/limitranges/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedPersistentVolumeClaim operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPersistentVolumeClaimCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified PersistentVolumeClaim - * @param {String} name name of the PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPersistentVolumeClaimCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} - */ - this.patchNamespacedPersistentVolumeClaim = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedPersistentVolumeClaim"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedPersistentVolumeClaim"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedPersistentVolumeClaim"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolumeClaim; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedPersistentVolumeClaimStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPersistentVolumeClaimStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified PersistentVolumeClaim - * @param {String} name name of the PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPersistentVolumeClaimStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} - */ - this.patchNamespacedPersistentVolumeClaimStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedPersistentVolumeClaimStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedPersistentVolumeClaimStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedPersistentVolumeClaimStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolumeClaim; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} - */ - this.patchNamespacedPod = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedPod"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Pod; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedPodStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPodStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPodStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} - */ - this.patchNamespacedPodStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedPodStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedPodStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedPodStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Pod; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedPodTemplate operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPodTemplateCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified PodTemplate - * @param {String} name name of the PodTemplate - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedPodTemplateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} - */ - this.patchNamespacedPodTemplate = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedPodTemplate"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedPodTemplate"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedPodTemplate"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PodTemplate; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/podtemplates/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedReplicationController operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedReplicationControllerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ReplicationController - * @param {String} name name of the ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedReplicationControllerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} - */ - this.patchNamespacedReplicationController = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedReplicationController"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedReplicationController"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedReplicationController"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ReplicationController; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedReplicationControllerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedReplicationControllerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified ReplicationController - * @param {String} name name of the ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedReplicationControllerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} - */ - this.patchNamespacedReplicationControllerStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedReplicationControllerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedReplicationControllerStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedReplicationControllerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ReplicationController; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedResourceQuota operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedResourceQuotaCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ResourceQuota - * @param {String} name name of the ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedResourceQuotaCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} - */ - this.patchNamespacedResourceQuota = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedResourceQuota"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedResourceQuota"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedResourceQuota"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ResourceQuota; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedResourceQuotaStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedResourceQuotaStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified ResourceQuota - * @param {String} name name of the ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedResourceQuotaStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} - */ - this.patchNamespacedResourceQuotaStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedResourceQuotaStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedResourceQuotaStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedResourceQuotaStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ResourceQuota; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedScaleScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedScaleScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedScaleScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} - */ - this.patchNamespacedScaleScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedScaleScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedScaleScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedScaleScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Scale; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedSecret operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedSecretCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Secret - * @param {String} name name of the Secret - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedSecretCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} - */ - this.patchNamespacedSecret = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedSecret"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedSecret"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedSecret"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Secret; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/secrets/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Service} - */ - this.patchNamespacedService = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedService"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Service; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedServiceAccount operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedServiceAccountCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ServiceAccount - * @param {String} name name of the ServiceAccount - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedServiceAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} - */ - this.patchNamespacedServiceAccount = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedServiceAccount"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedServiceAccount"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedServiceAccount"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ServiceAccount; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/serviceaccounts/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedServiceStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedServiceStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNamespacedServiceStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Service} - */ - this.patchNamespacedServiceStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedServiceStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedServiceStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedServiceStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Service; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNodeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Node - * @param {String} name name of the Node - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Node} - */ - this.patchNode = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNode"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Node; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNodeStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNodeStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified Node - * @param {String} name name of the Node - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchNodeStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Node} - */ - this.patchNodeStatus = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNodeStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNodeStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Node; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchPersistentVolume operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchPersistentVolumeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified PersistentVolume - * @param {String} name name of the PersistentVolume - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchPersistentVolumeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} - */ - this.patchPersistentVolume = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchPersistentVolume"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchPersistentVolume"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolume; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchPersistentVolumeStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchPersistentVolumeStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified PersistentVolume - * @param {String} name name of the PersistentVolume - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~patchPersistentVolumeStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} - */ - this.patchPersistentVolumeStatus = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchPersistentVolumeStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchPersistentVolumeStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolume; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyDELETENamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENamespacedPodCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy DELETE requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyDELETENamespacedPod = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyDELETENamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyDELETENamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyDELETENamespacedPodWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENamespacedPodWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy DELETE requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENamespacedPodWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyDELETENamespacedPodWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyDELETENamespacedPodWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyDELETENamespacedPodWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyDELETENamespacedPodWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyDELETENamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy DELETE requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyDELETENamespacedService = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyDELETENamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyDELETENamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyDELETENamespacedServiceWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENamespacedServiceWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy DELETE requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENamespacedServiceWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyDELETENamespacedServiceWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyDELETENamespacedServiceWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyDELETENamespacedServiceWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyDELETENamespacedServiceWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyDELETENode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENodeCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy DELETE requests to Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyDELETENode = function(name, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyDELETENode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyDELETENodeWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENodeWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy DELETE requests to Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyDELETENodeWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyDELETENodeWithPath = function(name, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyDELETENodeWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyDELETENodeWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}/{path}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyGETNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy GET requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyGETNamespacedPod = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyGETNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyGETNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyGETNamespacedPodWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNamespacedPodWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy GET requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNamespacedPodWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyGETNamespacedPodWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyGETNamespacedPodWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyGETNamespacedPodWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyGETNamespacedPodWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyGETNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy GET requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyGETNamespacedService = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyGETNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyGETNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyGETNamespacedServiceWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNamespacedServiceWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy GET requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNamespacedServiceWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyGETNamespacedServiceWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyGETNamespacedServiceWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyGETNamespacedServiceWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyGETNamespacedServiceWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyGETNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNodeCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy GET requests to Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyGETNode = function(name, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyGETNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyGETNodeWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNodeWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy GET requests to Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyGETNodeWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyGETNodeWithPath = function(name, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyGETNodeWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyGETNodeWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}/{path}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyHEADNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy HEAD requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyHEADNamespacedPod = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyHEADNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyHEADNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyHEADNamespacedPodWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNamespacedPodWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy HEAD requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNamespacedPodWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyHEADNamespacedPodWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyHEADNamespacedPodWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyHEADNamespacedPodWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyHEADNamespacedPodWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyHEADNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy HEAD requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyHEADNamespacedService = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyHEADNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyHEADNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyHEADNamespacedServiceWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNamespacedServiceWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy HEAD requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNamespacedServiceWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyHEADNamespacedServiceWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyHEADNamespacedServiceWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyHEADNamespacedServiceWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyHEADNamespacedServiceWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyHEADNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNodeCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy HEAD requests to Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyHEADNode = function(name, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyHEADNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyHEADNodeWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNodeWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy HEAD requests to Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyHEADNodeWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyHEADNodeWithPath = function(name, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyHEADNodeWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyHEADNodeWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}/{path}', 'HEAD', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyOPTIONSNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy OPTIONS requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyOPTIONSNamespacedPod = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyOPTIONSNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyOPTIONSNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyOPTIONSNamespacedPodWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNamespacedPodWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy OPTIONS requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNamespacedPodWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyOPTIONSNamespacedPodWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyOPTIONSNamespacedPodWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyOPTIONSNamespacedPodWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyOPTIONSNamespacedPodWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyOPTIONSNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy OPTIONS requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyOPTIONSNamespacedService = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyOPTIONSNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyOPTIONSNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyOPTIONSNamespacedServiceWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNamespacedServiceWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy OPTIONS requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNamespacedServiceWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyOPTIONSNamespacedServiceWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyOPTIONSNamespacedServiceWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyOPTIONSNamespacedServiceWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyOPTIONSNamespacedServiceWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyOPTIONSNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNodeCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy OPTIONS requests to Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyOPTIONSNode = function(name, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyOPTIONSNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyOPTIONSNodeWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNodeWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy OPTIONS requests to Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyOPTIONSNodeWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyOPTIONSNodeWithPath = function(name, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyOPTIONSNodeWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyOPTIONSNodeWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}/{path}', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPATCHNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PATCH requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPATCHNamespacedPod = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPATCHNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPATCHNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPATCHNamespacedPodWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNamespacedPodWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PATCH requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNamespacedPodWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPATCHNamespacedPodWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPATCHNamespacedPodWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPATCHNamespacedPodWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPATCHNamespacedPodWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPATCHNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PATCH requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPATCHNamespacedService = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPATCHNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPATCHNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPATCHNamespacedServiceWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNamespacedServiceWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PATCH requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNamespacedServiceWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPATCHNamespacedServiceWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPATCHNamespacedServiceWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPATCHNamespacedServiceWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPATCHNamespacedServiceWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPATCHNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNodeCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PATCH requests to Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPATCHNode = function(name, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPATCHNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPATCHNodeWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNodeWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PATCH requests to Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPATCHNodeWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPATCHNodeWithPath = function(name, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPATCHNodeWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPATCHNodeWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}/{path}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPOSTNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy POST requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPOSTNamespacedPod = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPOSTNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPOSTNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPOSTNamespacedPodWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNamespacedPodWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy POST requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNamespacedPodWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPOSTNamespacedPodWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPOSTNamespacedPodWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPOSTNamespacedPodWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPOSTNamespacedPodWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPOSTNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy POST requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPOSTNamespacedService = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPOSTNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPOSTNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPOSTNamespacedServiceWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNamespacedServiceWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy POST requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNamespacedServiceWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPOSTNamespacedServiceWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPOSTNamespacedServiceWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPOSTNamespacedServiceWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPOSTNamespacedServiceWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPOSTNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNodeCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy POST requests to Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPOSTNode = function(name, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPOSTNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPOSTNodeWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNodeWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy POST requests to Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPOSTNodeWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPOSTNodeWithPath = function(name, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPOSTNodeWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPOSTNodeWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}/{path}', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPUTNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PUT requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPUTNamespacedPod = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPUTNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPUTNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPUTNamespacedPodWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNamespacedPodWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PUT requests to Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNamespacedPodWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPUTNamespacedPodWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPUTNamespacedPodWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPUTNamespacedPodWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPUTNamespacedPodWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPUTNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PUT requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPUTNamespacedService = function(name, namespace, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPUTNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPUTNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPUTNamespacedServiceWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNamespacedServiceWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PUT requests to Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNamespacedServiceWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPUTNamespacedServiceWithPath = function(name, namespace, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPUTNamespacedServiceWithPath"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling proxyPUTNamespacedServiceWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPUTNamespacedServiceWithPath"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPUTNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNodeCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PUT requests to Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPUTNode = function(name, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPUTNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the proxyPUTNodeWithPath operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNodeWithPathCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * proxy PUT requests to Node - * @param {String} name name of the Node - * @param {String} path path to the resource - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~proxyPUTNodeWithPathCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.proxyPUTNodeWithPath = function(name, path, callback) { - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling proxyPUTNodeWithPath"); - } - - // verify the required parameter 'path' is set - if (path == undefined || path == null) { - throw new Error("Missing the required parameter 'path' when calling proxyPUTNodeWithPath"); - } - - - var pathParams = { - 'name': name, - 'path': path - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['*/*']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/proxy/nodes/{name}/{path}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readComponentStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readComponentStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ComponentStatus - * @param {String} name name of the ComponentStatus - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readComponentStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus} - */ - this.readComponentStatus = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readComponentStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ComponentStatus; - - return this.apiClient.callApi( - '/api/v1/componentstatuses/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespace operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespaceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Namespace - * @param {String} name name of the Namespace - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespaceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - this.readNamespace = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespace"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Namespace; - - return this.apiClient.callApi( - '/api/v1/namespaces/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespaceStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespaceStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified Namespace - * @param {String} name name of the Namespace - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespaceStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - this.readNamespaceStatus = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespaceStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Namespace; - - return this.apiClient.callApi( - '/api/v1/namespaces/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedConfigMap operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedConfigMapCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ConfigMap - * @param {String} name name of the ConfigMap - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedConfigMapCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} - */ - this.readNamespacedConfigMap = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedConfigMap"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedConfigMap"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ConfigMap; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/configmaps/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedEndpoints operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedEndpointsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Endpoints - * @param {String} name name of the Endpoints - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedEndpointsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} - */ - this.readNamespacedEndpoints = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedEndpoints"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedEndpoints"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Endpoints; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/endpoints/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedEvent operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedEventCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Event - * @param {String} name name of the Event - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedEventCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Event} - */ - this.readNamespacedEvent = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedEvent"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedEvent"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Event; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/events/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedLimitRange operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedLimitRangeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified LimitRange - * @param {String} name name of the LimitRange - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedLimitRangeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} - */ - this.readNamespacedLimitRange = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedLimitRange"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedLimitRange"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1LimitRange; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/limitranges/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPersistentVolumeClaim operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPersistentVolumeClaimCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified PersistentVolumeClaim - * @param {String} name name of the PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPersistentVolumeClaimCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} - */ - this.readNamespacedPersistentVolumeClaim = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPersistentVolumeClaim"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPersistentVolumeClaim"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolumeClaim; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPersistentVolumeClaimStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPersistentVolumeClaimStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified PersistentVolumeClaim - * @param {String} name name of the PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPersistentVolumeClaimStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} - */ - this.readNamespacedPersistentVolumeClaimStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPersistentVolumeClaimStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPersistentVolumeClaimStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolumeClaim; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} - */ - this.readNamespacedPod = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Pod; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPodLog operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPodLogCallback - * @param {String} error Error message, if any. - * @param {'String'} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read log of the specified Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.container The container for which to stream logs. Defaults to only container if there is one container in the pod. - * @param {Boolean} opts.follow Follow the log stream of the pod. Defaults to false. - * @param {Number} opts.limitBytes If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.previous Return previous terminated container logs. Defaults to false. - * @param {Number} opts.sinceSeconds A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - * @param {Number} opts.tailLines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime - * @param {Boolean} opts.timestamps If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPodLogCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link 'String'} - */ - this.readNamespacedPodLog = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPodLog"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPodLog"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'container': opts['container'], - 'follow': opts['follow'], - 'limitBytes': opts['limitBytes'], - 'pretty': opts['pretty'], - 'previous': opts['previous'], - 'sinceSeconds': opts['sinceSeconds'], - 'tailLines': opts['tailLines'], - 'timestamps': opts['timestamps'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['text/plain', 'application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = 'String'; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/log', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPodStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPodStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPodStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} - */ - this.readNamespacedPodStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPodStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPodStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Pod; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPodTemplate operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPodTemplateCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified PodTemplate - * @param {String} name name of the PodTemplate - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedPodTemplateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} - */ - this.readNamespacedPodTemplate = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPodTemplate"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPodTemplate"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PodTemplate; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/podtemplates/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedReplicationController operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedReplicationControllerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ReplicationController - * @param {String} name name of the ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedReplicationControllerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} - */ - this.readNamespacedReplicationController = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedReplicationController"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedReplicationController"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ReplicationController; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedReplicationControllerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedReplicationControllerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified ReplicationController - * @param {String} name name of the ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedReplicationControllerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} - */ - this.readNamespacedReplicationControllerStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedReplicationControllerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedReplicationControllerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ReplicationController; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedResourceQuota operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedResourceQuotaCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ResourceQuota - * @param {String} name name of the ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedResourceQuotaCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} - */ - this.readNamespacedResourceQuota = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedResourceQuota"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedResourceQuota"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ResourceQuota; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedResourceQuotaStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedResourceQuotaStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified ResourceQuota - * @param {String} name name of the ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedResourceQuotaStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} - */ - this.readNamespacedResourceQuotaStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedResourceQuotaStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedResourceQuotaStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ResourceQuota; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedScaleScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedScaleScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedScaleScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} - */ - this.readNamespacedScaleScale = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedScaleScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedScaleScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Scale; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedSecret operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedSecretCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Secret - * @param {String} name name of the Secret - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedSecretCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} - */ - this.readNamespacedSecret = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedSecret"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedSecret"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Secret; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/secrets/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Service} - */ - this.readNamespacedService = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Service; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedServiceAccount operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedServiceAccountCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ServiceAccount - * @param {String} name name of the ServiceAccount - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedServiceAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} - */ - this.readNamespacedServiceAccount = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedServiceAccount"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedServiceAccount"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ServiceAccount; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/serviceaccounts/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedServiceStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedServiceStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNamespacedServiceStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Service} - */ - this.readNamespacedServiceStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedServiceStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedServiceStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Service; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNodeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Node - * @param {String} name name of the Node - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Node} - */ - this.readNode = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Node; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNodeStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNodeStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified Node - * @param {String} name name of the Node - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readNodeStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Node} - */ - this.readNodeStatus = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNodeStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Node; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readPersistentVolume operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readPersistentVolumeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified PersistentVolume - * @param {String} name name of the PersistentVolume - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readPersistentVolumeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} - */ - this.readPersistentVolume = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readPersistentVolume"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolume; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readPersistentVolumeStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readPersistentVolumeStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified PersistentVolume - * @param {String} name name of the PersistentVolume - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~readPersistentVolumeStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} - */ - this.readPersistentVolumeStatus = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readPersistentVolumeStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolume; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespace operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespaceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Namespace - * @param {String} name name of the Namespace - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespaceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - this.replaceNamespace = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespace"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespace"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Namespace; - - return this.apiClient.callApi( - '/api/v1/namespaces/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespaceFinalize operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespaceFinalizeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace finalize of the specified Namespace - * @param {String} name name of the Namespace - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespaceFinalizeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - this.replaceNamespaceFinalize = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespaceFinalize"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespaceFinalize"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Namespace; - - return this.apiClient.callApi( - '/api/v1/namespaces/{name}/finalize', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespaceStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespaceStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified Namespace - * @param {String} name name of the Namespace - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespaceStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} - */ - this.replaceNamespaceStatus = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespaceStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespaceStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Namespace; - - return this.apiClient.callApi( - '/api/v1/namespaces/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedConfigMap operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedConfigMapCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ConfigMap - * @param {String} name name of the ConfigMap - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedConfigMapCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} - */ - this.replaceNamespacedConfigMap = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedConfigMap"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedConfigMap"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedConfigMap"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ConfigMap; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/configmaps/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedEndpoints operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedEndpointsCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Endpoints - * @param {String} name name of the Endpoints - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedEndpointsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} - */ - this.replaceNamespacedEndpoints = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedEndpoints"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedEndpoints"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedEndpoints"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Endpoints; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/endpoints/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedEvent operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedEventCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Event - * @param {String} name name of the Event - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedEventCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Event} - */ - this.replaceNamespacedEvent = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedEvent"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedEvent"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedEvent"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Event; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/events/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedLimitRange operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedLimitRangeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified LimitRange - * @param {String} name name of the LimitRange - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedLimitRangeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} - */ - this.replaceNamespacedLimitRange = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedLimitRange"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedLimitRange"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedLimitRange"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1LimitRange; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/limitranges/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedPersistentVolumeClaim operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPersistentVolumeClaimCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified PersistentVolumeClaim - * @param {String} name name of the PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPersistentVolumeClaimCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} - */ - this.replaceNamespacedPersistentVolumeClaim = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedPersistentVolumeClaim"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedPersistentVolumeClaim"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedPersistentVolumeClaim"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolumeClaim; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedPersistentVolumeClaimStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPersistentVolumeClaimStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified PersistentVolumeClaim - * @param {String} name name of the PersistentVolumeClaim - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPersistentVolumeClaimStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} - */ - this.replaceNamespacedPersistentVolumeClaimStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedPersistentVolumeClaimStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedPersistentVolumeClaimStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedPersistentVolumeClaimStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolumeClaim; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedPod operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPodCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPodCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} - */ - this.replaceNamespacedPod = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedPod"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedPod"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedPod"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Pod; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedPodStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPodStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified Pod - * @param {String} name name of the Pod - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPodStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} - */ - this.replaceNamespacedPodStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedPodStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedPodStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedPodStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Pod; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/pods/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedPodTemplate operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPodTemplateCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified PodTemplate - * @param {String} name name of the PodTemplate - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedPodTemplateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} - */ - this.replaceNamespacedPodTemplate = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedPodTemplate"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedPodTemplate"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedPodTemplate"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PodTemplate; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/podtemplates/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedReplicationController operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedReplicationControllerCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ReplicationController - * @param {String} name name of the ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedReplicationControllerCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} - */ - this.replaceNamespacedReplicationController = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedReplicationController"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedReplicationController"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedReplicationController"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ReplicationController; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedReplicationControllerStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedReplicationControllerStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified ReplicationController - * @param {String} name name of the ReplicationController - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedReplicationControllerStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} - */ - this.replaceNamespacedReplicationControllerStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedReplicationControllerStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedReplicationControllerStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedReplicationControllerStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ReplicationController; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedResourceQuota operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedResourceQuotaCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ResourceQuota - * @param {String} name name of the ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedResourceQuotaCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} - */ - this.replaceNamespacedResourceQuota = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedResourceQuota"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedResourceQuota"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedResourceQuota"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ResourceQuota; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedResourceQuotaStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedResourceQuotaStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified ResourceQuota - * @param {String} name name of the ResourceQuota - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedResourceQuotaStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} - */ - this.replaceNamespacedResourceQuotaStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedResourceQuotaStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedResourceQuotaStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedResourceQuotaStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ResourceQuota; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/resourcequotas/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedScaleScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedScaleScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedScaleScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} - */ - this.replaceNamespacedScaleScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedScaleScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedScaleScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedScaleScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Scale; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedSecret operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedSecretCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Secret - * @param {String} name name of the Secret - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedSecretCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} - */ - this.replaceNamespacedSecret = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedSecret"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedSecret"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedSecret"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Secret; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/secrets/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedService operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedServiceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedServiceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Service} - */ - this.replaceNamespacedService = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedService"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedService"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedService"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Service; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedServiceAccount operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedServiceAccountCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ServiceAccount - * @param {String} name name of the ServiceAccount - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedServiceAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} - */ - this.replaceNamespacedServiceAccount = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedServiceAccount"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedServiceAccount"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedServiceAccount"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1ServiceAccount; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/serviceaccounts/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedServiceStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedServiceStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified Service - * @param {String} name name of the Service - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNamespacedServiceStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Service} - */ - this.replaceNamespacedServiceStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedServiceStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedServiceStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedServiceStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Service; - - return this.apiClient.callApi( - '/api/v1/namespaces/{namespace}/services/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNodeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Node} - */ - this.replaceNode = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNode"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNode"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Node; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNodeStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNodeStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified Node - * @param {String} name name of the Node - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replaceNodeStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Node} - */ - this.replaceNodeStatus = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNodeStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNodeStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Node; - - return this.apiClient.callApi( - '/api/v1/nodes/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replacePersistentVolume operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replacePersistentVolumeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified PersistentVolume - * @param {String} name name of the PersistentVolume - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replacePersistentVolumeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} - */ - this.replacePersistentVolume = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replacePersistentVolume"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replacePersistentVolume"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolume; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replacePersistentVolumeStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replacePersistentVolumeStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified PersistentVolume - * @param {String} name name of the PersistentVolume - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Core_v1Api~replacePersistentVolumeStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} - */ - this.replacePersistentVolumeStatus = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replacePersistentVolumeStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replacePersistentVolumeStatus"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1PersistentVolume; - - return this.apiClient.callApi( - '/api/v1/persistentvolumes/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi.js deleted file mode 100644 index e6cb258109..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.ExtensionsApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Extensions service. - * @module io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new ExtensionsApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/ExtensionsApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/extensions/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api.js deleted file mode 100644 index 9261aaa9fb..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api.js +++ /dev/null @@ -1,4547 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResourceList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/ExtensionsV1beta1Deployment'), require('../io.kubernetes.js.models/ExtensionsV1beta1DeploymentList'), require('../io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback'), require('../io.kubernetes.js.models/ExtensionsV1beta1Scale'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1beta1DaemonSet'), require('../io.kubernetes.js.models/V1beta1DaemonSetList'), require('../io.kubernetes.js.models/V1beta1Ingress'), require('../io.kubernetes.js.models/V1beta1IngressList'), require('../io.kubernetes.js.models/V1beta1NetworkPolicy'), require('../io.kubernetes.js.models/V1beta1NetworkPolicyList'), require('../io.kubernetes.js.models/V1beta1PodSecurityPolicy'), require('../io.kubernetes.js.models/V1beta1PodSecurityPolicyList'), require('../io.kubernetes.js.models/V1beta1ReplicaSet'), require('../io.kubernetes.js.models/V1beta1ReplicaSetList'), require('../io.kubernetes.js.models/V1beta1ThirdPartyResource'), require('../io.kubernetes.js.models/V1beta1ThirdPartyResourceList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Extensions_v1beta1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.ExtensionsV1beta1Deployment, root.KubernetesJsClient.ExtensionsV1beta1DeploymentList, root.KubernetesJsClient.ExtensionsV1beta1DeploymentRollback, root.KubernetesJsClient.ExtensionsV1beta1Scale, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1beta1DaemonSet, root.KubernetesJsClient.V1beta1DaemonSetList, root.KubernetesJsClient.V1beta1Ingress, root.KubernetesJsClient.V1beta1IngressList, root.KubernetesJsClient.V1beta1NetworkPolicy, root.KubernetesJsClient.V1beta1NetworkPolicyList, root.KubernetesJsClient.V1beta1PodSecurityPolicy, root.KubernetesJsClient.V1beta1PodSecurityPolicyList, root.KubernetesJsClient.V1beta1ReplicaSet, root.KubernetesJsClient.V1beta1ReplicaSetList, root.KubernetesJsClient.V1beta1ThirdPartyResource, root.KubernetesJsClient.V1beta1ThirdPartyResourceList); - } -}(this, function(ApiClient, ExtensionsV1beta1Deployment, ExtensionsV1beta1DeploymentList, ExtensionsV1beta1DeploymentRollback, ExtensionsV1beta1Scale, V1APIResourceList, V1DeleteOptions, V1Status, V1beta1DaemonSet, V1beta1DaemonSetList, V1beta1Ingress, V1beta1IngressList, V1beta1NetworkPolicy, V1beta1NetworkPolicyList, V1beta1PodSecurityPolicy, V1beta1PodSecurityPolicyList, V1beta1ReplicaSet, V1beta1ReplicaSetList, V1beta1ThirdPartyResource, V1beta1ThirdPartyResourceList) { - 'use strict'; - - /** - * Extensions_v1beta1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Extensions_v1beta1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedDaemonSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedDaemonSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedDaemonSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} - */ - this.createNamespacedDaemonSet = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedDaemonSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedDaemonSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1DaemonSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} - */ - this.createNamespacedDeployment = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedDeployment"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedDeployment"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedDeploymentRollbackRollback operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedDeploymentRollbackRollbackCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create rollback of a DeploymentRollback - * @param {String} name name of the DeploymentRollback - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedDeploymentRollbackRollbackCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback} - */ - this.createNamespacedDeploymentRollbackRollback = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling createNamespacedDeploymentRollbackRollback"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedDeploymentRollbackRollback"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedDeploymentRollbackRollback"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1DeploymentRollback; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedIngress operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedIngressCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create an Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedIngressCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} - */ - this.createNamespacedIngress = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedIngress"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedIngress"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Ingress; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedNetworkPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedNetworkPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a NetworkPolicy - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedNetworkPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} - */ - this.createNamespacedNetworkPolicy = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedNetworkPolicy"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedNetworkPolicy"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1NetworkPolicy; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedReplicaSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedReplicaSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createNamespacedReplicaSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} - */ - this.createNamespacedReplicaSet = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedReplicaSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedReplicaSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ReplicaSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createPodSecurityPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createPodSecurityPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a PodSecurityPolicy - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createPodSecurityPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} - */ - this.createPodSecurityPolicy = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createPodSecurityPolicy"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodSecurityPolicy; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/podsecuritypolicies', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createThirdPartyResource operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createThirdPartyResourceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ThirdPartyResource - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~createThirdPartyResourceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} - */ - this.createThirdPartyResource = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createThirdPartyResource"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ThirdPartyResource; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/thirdpartyresources', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedDaemonSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedDaemonSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedDaemonSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedDaemonSet = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedDaemonSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedDeployment = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedDeployment"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedIngress operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedIngressCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedIngressCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedIngress = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedIngress"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedNetworkPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedNetworkPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of NetworkPolicy - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedNetworkPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedNetworkPolicy = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedNetworkPolicy"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedReplicaSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedReplicaSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionNamespacedReplicaSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedReplicaSet = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedReplicaSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionPodSecurityPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionPodSecurityPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of PodSecurityPolicy - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionPodSecurityPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionPodSecurityPolicy = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/podsecuritypolicies', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionThirdPartyResource operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionThirdPartyResourceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ThirdPartyResource - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteCollectionThirdPartyResourceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionThirdPartyResource = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/thirdpartyresources', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedDaemonSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedDaemonSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a DaemonSet - * @param {String} name name of the DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedDaemonSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedDaemonSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedDaemonSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedDaemonSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedDaemonSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedDeployment = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedDeployment"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedDeployment"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedDeployment"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedIngress operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedIngressCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete an Ingress - * @param {String} name name of the Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedIngressCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedIngress = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedIngress"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedIngress"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedIngress"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedNetworkPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedNetworkPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a NetworkPolicy - * @param {String} name name of the NetworkPolicy - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedNetworkPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedNetworkPolicy = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedNetworkPolicy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedNetworkPolicy"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedNetworkPolicy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedReplicaSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedReplicaSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ReplicaSet - * @param {String} name name of the ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteNamespacedReplicaSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedReplicaSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedReplicaSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedReplicaSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedReplicaSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deletePodSecurityPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deletePodSecurityPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a PodSecurityPolicy - * @param {String} name name of the PodSecurityPolicy - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deletePodSecurityPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deletePodSecurityPolicy = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deletePodSecurityPolicy"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deletePodSecurityPolicy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/podsecuritypolicies/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteThirdPartyResource operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteThirdPartyResourceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ThirdPartyResource - * @param {String} name name of the ThirdPartyResource - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~deleteThirdPartyResourceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteThirdPartyResource = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteThirdPartyResource"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteThirdPartyResource"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/thirdpartyresources/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listDaemonSetForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listDaemonSetForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind DaemonSet - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listDaemonSetForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList} - */ - this.listDaemonSetForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1DaemonSetList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/daemonsets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listDeploymentForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listDeploymentForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Deployment - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listDeploymentForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList} - */ - this.listDeploymentForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = ExtensionsV1beta1DeploymentList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/deployments', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listIngressForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listIngressForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Ingress - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listIngressForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList} - */ - this.listIngressForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1IngressList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/ingresses', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedDaemonSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedDaemonSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedDaemonSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList} - */ - this.listNamespacedDaemonSet = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedDaemonSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1DaemonSetList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList} - */ - this.listNamespacedDeployment = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedDeployment"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = ExtensionsV1beta1DeploymentList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedIngress operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedIngressCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedIngressCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList} - */ - this.listNamespacedIngress = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedIngress"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1IngressList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedNetworkPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedNetworkPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind NetworkPolicy - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedNetworkPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList} - */ - this.listNamespacedNetworkPolicy = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedNetworkPolicy"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1NetworkPolicyList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedReplicaSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedReplicaSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNamespacedReplicaSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetList} - */ - this.listNamespacedReplicaSet = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedReplicaSet"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1ReplicaSetList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNetworkPolicyForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNetworkPolicyForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind NetworkPolicy - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listNetworkPolicyForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList} - */ - this.listNetworkPolicyForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1NetworkPolicyList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/networkpolicies', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listPodSecurityPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listPodSecurityPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PodSecurityPolicy - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listPodSecurityPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList} - */ - this.listPodSecurityPolicy = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1PodSecurityPolicyList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/podsecuritypolicies', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listReplicaSetForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listReplicaSetForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ReplicaSet - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listReplicaSetForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSetList} - */ - this.listReplicaSetForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1ReplicaSetList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/replicasets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listThirdPartyResource operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listThirdPartyResourceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ThirdPartyResource - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~listThirdPartyResourceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResourceList} - */ - this.listThirdPartyResource = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1ThirdPartyResourceList; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/thirdpartyresources', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedDaemonSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDaemonSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified DaemonSet - * @param {String} name name of the DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDaemonSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} - */ - this.patchNamespacedDaemonSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedDaemonSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedDaemonSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedDaemonSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1DaemonSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedDaemonSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDaemonSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified DaemonSet - * @param {String} name name of the DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDaemonSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} - */ - this.patchNamespacedDaemonSetStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedDaemonSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedDaemonSetStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedDaemonSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1DaemonSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} - */ - this.patchNamespacedDeployment = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedDeployment"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedDeployment"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedDeployment"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedDeploymentStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDeploymentStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDeploymentStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} - */ - this.patchNamespacedDeploymentStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedDeploymentStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedDeploymentStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedDeploymentsScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDeploymentsScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedDeploymentsScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.patchNamespacedDeploymentsScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedDeploymentsScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentsScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedDeploymentsScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedIngress operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedIngressCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Ingress - * @param {String} name name of the Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedIngressCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} - */ - this.patchNamespacedIngress = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedIngress"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedIngress"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedIngress"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Ingress; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedIngressStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedIngressStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified Ingress - * @param {String} name name of the Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedIngressStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} - */ - this.patchNamespacedIngressStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedIngressStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedIngressStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedIngressStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Ingress; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedNetworkPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedNetworkPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified NetworkPolicy - * @param {String} name name of the NetworkPolicy - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedNetworkPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} - */ - this.patchNamespacedNetworkPolicy = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedNetworkPolicy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedNetworkPolicy"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedNetworkPolicy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1NetworkPolicy; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedReplicaSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedReplicaSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ReplicaSet - * @param {String} name name of the ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedReplicaSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} - */ - this.patchNamespacedReplicaSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedReplicaSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedReplicaSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedReplicaSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ReplicaSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedReplicaSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedReplicaSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified ReplicaSet - * @param {String} name name of the ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedReplicaSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} - */ - this.patchNamespacedReplicaSetStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedReplicaSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedReplicaSetStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedReplicaSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ReplicaSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedReplicasetsScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedReplicasetsScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedReplicasetsScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.patchNamespacedReplicasetsScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedReplicasetsScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedReplicasetsScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedReplicasetsScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedReplicationcontrollersScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedReplicationcontrollersScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchNamespacedReplicationcontrollersScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.patchNamespacedReplicationcontrollersScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedReplicationcontrollersScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedReplicationcontrollersScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedReplicationcontrollersScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchPodSecurityPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchPodSecurityPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified PodSecurityPolicy - * @param {String} name name of the PodSecurityPolicy - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchPodSecurityPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} - */ - this.patchPodSecurityPolicy = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchPodSecurityPolicy"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchPodSecurityPolicy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodSecurityPolicy; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/podsecuritypolicies/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchThirdPartyResource operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchThirdPartyResourceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ThirdPartyResource - * @param {String} name name of the ThirdPartyResource - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~patchThirdPartyResourceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} - */ - this.patchThirdPartyResource = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchThirdPartyResource"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchThirdPartyResource"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ThirdPartyResource; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/thirdpartyresources/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedDaemonSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDaemonSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified DaemonSet - * @param {String} name name of the DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDaemonSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} - */ - this.readNamespacedDaemonSet = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedDaemonSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedDaemonSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1DaemonSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedDaemonSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDaemonSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified DaemonSet - * @param {String} name name of the DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDaemonSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} - */ - this.readNamespacedDaemonSetStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedDaemonSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedDaemonSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1DaemonSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} - */ - this.readNamespacedDeployment = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedDeployment"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedDeployment"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedDeploymentStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDeploymentStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDeploymentStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} - */ - this.readNamespacedDeploymentStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedDeploymentStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedDeploymentStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedDeploymentsScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDeploymentsScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedDeploymentsScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.readNamespacedDeploymentsScale = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedDeploymentsScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedDeploymentsScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedIngress operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedIngressCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Ingress - * @param {String} name name of the Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedIngressCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} - */ - this.readNamespacedIngress = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedIngress"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedIngress"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Ingress; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedIngressStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedIngressStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified Ingress - * @param {String} name name of the Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedIngressStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} - */ - this.readNamespacedIngressStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedIngressStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedIngressStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Ingress; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedNetworkPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedNetworkPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified NetworkPolicy - * @param {String} name name of the NetworkPolicy - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedNetworkPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} - */ - this.readNamespacedNetworkPolicy = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedNetworkPolicy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedNetworkPolicy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1NetworkPolicy; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedReplicaSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedReplicaSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ReplicaSet - * @param {String} name name of the ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedReplicaSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} - */ - this.readNamespacedReplicaSet = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedReplicaSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedReplicaSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ReplicaSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedReplicaSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedReplicaSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified ReplicaSet - * @param {String} name name of the ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedReplicaSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} - */ - this.readNamespacedReplicaSetStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedReplicaSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedReplicaSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ReplicaSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedReplicasetsScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedReplicasetsScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedReplicasetsScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.readNamespacedReplicasetsScale = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedReplicasetsScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedReplicasetsScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedReplicationcontrollersScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedReplicationcontrollersScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readNamespacedReplicationcontrollersScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.readNamespacedReplicationcontrollersScale = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedReplicationcontrollersScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedReplicationcontrollersScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readPodSecurityPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readPodSecurityPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified PodSecurityPolicy - * @param {String} name name of the PodSecurityPolicy - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readPodSecurityPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} - */ - this.readPodSecurityPolicy = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readPodSecurityPolicy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodSecurityPolicy; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/podsecuritypolicies/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readThirdPartyResource operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readThirdPartyResourceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ThirdPartyResource - * @param {String} name name of the ThirdPartyResource - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~readThirdPartyResourceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} - */ - this.readThirdPartyResource = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readThirdPartyResource"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ThirdPartyResource; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/thirdpartyresources/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedDaemonSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDaemonSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified DaemonSet - * @param {String} name name of the DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDaemonSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} - */ - this.replaceNamespacedDaemonSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedDaemonSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedDaemonSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedDaemonSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1DaemonSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedDaemonSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDaemonSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified DaemonSet - * @param {String} name name of the DaemonSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDaemonSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} - */ - this.replaceNamespacedDaemonSetStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedDaemonSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedDaemonSetStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedDaemonSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1DaemonSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedDeployment operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDeploymentCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDeploymentCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} - */ - this.replaceNamespacedDeployment = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedDeployment"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedDeployment"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedDeployment"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedDeploymentStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDeploymentStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified Deployment - * @param {String} name name of the Deployment - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDeploymentStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} - */ - this.replaceNamespacedDeploymentStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedDeploymentStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedDeploymentStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Deployment; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedDeploymentsScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDeploymentsScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedDeploymentsScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.replaceNamespacedDeploymentsScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedDeploymentsScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentsScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedDeploymentsScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedIngress operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedIngressCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Ingress - * @param {String} name name of the Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedIngressCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} - */ - this.replaceNamespacedIngress = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedIngress"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedIngress"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedIngress"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Ingress; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedIngressStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedIngressStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified Ingress - * @param {String} name name of the Ingress - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedIngressStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} - */ - this.replaceNamespacedIngressStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedIngressStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedIngressStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedIngressStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Ingress; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedNetworkPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedNetworkPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified NetworkPolicy - * @param {String} name name of the NetworkPolicy - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedNetworkPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} - */ - this.replaceNamespacedNetworkPolicy = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedNetworkPolicy"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedNetworkPolicy"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedNetworkPolicy"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1NetworkPolicy; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedReplicaSet operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedReplicaSetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ReplicaSet - * @param {String} name name of the ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedReplicaSetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} - */ - this.replaceNamespacedReplicaSet = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedReplicaSet"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedReplicaSet"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedReplicaSet"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ReplicaSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedReplicaSetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedReplicaSetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified ReplicaSet - * @param {String} name name of the ReplicaSet - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedReplicaSetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ReplicaSet} - */ - this.replaceNamespacedReplicaSetStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedReplicaSetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedReplicaSetStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedReplicaSetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ReplicaSet; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedReplicasetsScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedReplicasetsScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedReplicasetsScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.replaceNamespacedReplicasetsScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedReplicasetsScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedReplicasetsScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedReplicasetsScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedReplicationcontrollersScale operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedReplicationcontrollersScaleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace scale of the specified Scale - * @param {String} name name of the Scale - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceNamespacedReplicationcontrollersScaleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} - */ - this.replaceNamespacedReplicationcontrollersScale = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedReplicationcontrollersScale"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedReplicationcontrollersScale"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedReplicationcontrollersScale"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = ExtensionsV1beta1Scale; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replacePodSecurityPolicy operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replacePodSecurityPolicyCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified PodSecurityPolicy - * @param {String} name name of the PodSecurityPolicy - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replacePodSecurityPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} - */ - this.replacePodSecurityPolicy = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replacePodSecurityPolicy"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replacePodSecurityPolicy"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodSecurityPolicy; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/podsecuritypolicies/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceThirdPartyResource operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceThirdPartyResourceCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ThirdPartyResource - * @param {String} name name of the ThirdPartyResource - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Extensions_v1beta1Api~replaceThirdPartyResourceCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ThirdPartyResource} - */ - this.replaceThirdPartyResource = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceThirdPartyResource"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceThirdPartyResource"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ThirdPartyResource; - - return this.apiClient.callApi( - '/apis/extensions/v1beta1/thirdpartyresources/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/LogsApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/LogsApi.js deleted file mode 100644 index 780084135f..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/LogsApi.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.LogsApi = factory(root.KubernetesJsClient.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - /** - * Logs service. - * @module io.kubernetes.js/io.kubernetes.js.apis/LogsApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new LogsApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/LogsApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the logFileHandler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/LogsApi~logFileHandlerCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * @param {String} logpath path to the log - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/LogsApi~logFileHandlerCallback} callback The callback function, accepting three arguments: error, data, response - */ - this.logFileHandler = function(logpath, callback) { - var postBody = null; - - // verify the required parameter 'logpath' is set - if (logpath == undefined || logpath == null) { - throw new Error("Missing the required parameter 'logpath' when calling logFileHandler"); - } - - - var pathParams = { - 'logpath': logpath - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = []; - var accepts = []; - var returnType = null; - - return this.apiClient.callApi( - '/logs/{logpath}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the logFileListHandler operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/LogsApi~logFileListHandlerCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/LogsApi~logFileListHandlerCallback} callback The callback function, accepting three arguments: error, data, response - */ - this.logFileListHandler = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = []; - var accepts = []; - var returnType = null; - - return this.apiClient.callApi( - '/logs/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/PolicyApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/PolicyApi.js deleted file mode 100644 index 87023a893b..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/PolicyApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.PolicyApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Policy service. - * @module io.kubernetes.js/io.kubernetes.js.apis/PolicyApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new PolicyApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/PolicyApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/PolicyApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/PolicyApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/policy/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api.js deleted file mode 100644 index 1c7bdf1eb2..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api.js +++ /dev/null @@ -1,745 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1beta1PodDisruptionBudget'), require('../io.kubernetes.js.models/V1beta1PodDisruptionBudgetList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Policy_v1beta1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1beta1PodDisruptionBudget, root.KubernetesJsClient.V1beta1PodDisruptionBudgetList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V1beta1PodDisruptionBudget, V1beta1PodDisruptionBudgetList) { - 'use strict'; - - /** - * Policy_v1beta1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Policy_v1beta1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedPodDisruptionBudget operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~createNamespacedPodDisruptionBudgetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~createNamespacedPodDisruptionBudgetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} - */ - this.createNamespacedPodDisruptionBudget = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedPodDisruptionBudget"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedPodDisruptionBudget"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodDisruptionBudget; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedPodDisruptionBudget operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~deleteCollectionNamespacedPodDisruptionBudgetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~deleteCollectionNamespacedPodDisruptionBudgetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedPodDisruptionBudget = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedPodDisruptionBudget"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedPodDisruptionBudget operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~deleteNamespacedPodDisruptionBudgetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a PodDisruptionBudget - * @param {String} name name of the PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~deleteNamespacedPodDisruptionBudgetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedPodDisruptionBudget = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedPodDisruptionBudget"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedPodDisruptionBudget"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedPodDisruptionBudget"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedPodDisruptionBudget operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~listNamespacedPodDisruptionBudgetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~listNamespacedPodDisruptionBudgetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList} - */ - this.listNamespacedPodDisruptionBudget = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedPodDisruptionBudget"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1PodDisruptionBudgetList; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listPodDisruptionBudgetForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~listPodDisruptionBudgetForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PodDisruptionBudget - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~listPodDisruptionBudgetForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList} - */ - this.listPodDisruptionBudgetForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1PodDisruptionBudgetList; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/poddisruptionbudgets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedPodDisruptionBudget operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~patchNamespacedPodDisruptionBudgetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified PodDisruptionBudget - * @param {String} name name of the PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~patchNamespacedPodDisruptionBudgetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} - */ - this.patchNamespacedPodDisruptionBudget = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedPodDisruptionBudget"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedPodDisruptionBudget"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedPodDisruptionBudget"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodDisruptionBudget; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedPodDisruptionBudgetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~patchNamespacedPodDisruptionBudgetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update status of the specified PodDisruptionBudget - * @param {String} name name of the PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~patchNamespacedPodDisruptionBudgetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} - */ - this.patchNamespacedPodDisruptionBudgetStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedPodDisruptionBudgetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedPodDisruptionBudgetStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedPodDisruptionBudgetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodDisruptionBudget; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPodDisruptionBudget operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~readNamespacedPodDisruptionBudgetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified PodDisruptionBudget - * @param {String} name name of the PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~readNamespacedPodDisruptionBudgetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} - */ - this.readNamespacedPodDisruptionBudget = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPodDisruptionBudget"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPodDisruptionBudget"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodDisruptionBudget; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPodDisruptionBudgetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~readNamespacedPodDisruptionBudgetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read status of the specified PodDisruptionBudget - * @param {String} name name of the PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~readNamespacedPodDisruptionBudgetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} - */ - this.readNamespacedPodDisruptionBudgetStatus = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPodDisruptionBudgetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPodDisruptionBudgetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodDisruptionBudget; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedPodDisruptionBudget operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~replaceNamespacedPodDisruptionBudgetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified PodDisruptionBudget - * @param {String} name name of the PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~replaceNamespacedPodDisruptionBudgetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} - */ - this.replaceNamespacedPodDisruptionBudget = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedPodDisruptionBudget"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedPodDisruptionBudget"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedPodDisruptionBudget"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodDisruptionBudget; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedPodDisruptionBudgetStatus operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~replaceNamespacedPodDisruptionBudgetStatusCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace status of the specified PodDisruptionBudget - * @param {String} name name of the PodDisruptionBudget - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Policy_v1beta1Api~replaceNamespacedPodDisruptionBudgetStatusCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} - */ - this.replaceNamespacedPodDisruptionBudgetStatus = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedPodDisruptionBudgetStatus"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedPodDisruptionBudgetStatus"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedPodDisruptionBudgetStatus"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1PodDisruptionBudget; - - return this.apiClient.callApi( - '/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi.js deleted file mode 100644 index e279834951..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.RbacAuthorizationApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * RbacAuthorization service. - * @module io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new RbacAuthorizationApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorizationApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api.js deleted file mode 100644 index a9c9925a7a..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api.js +++ /dev/null @@ -1,1778 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBindingList', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleList', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1alpha1ClusterRole'), require('../io.kubernetes.js.models/V1alpha1ClusterRoleBinding'), require('../io.kubernetes.js.models/V1alpha1ClusterRoleBindingList'), require('../io.kubernetes.js.models/V1alpha1ClusterRoleList'), require('../io.kubernetes.js.models/V1alpha1Role'), require('../io.kubernetes.js.models/V1alpha1RoleBinding'), require('../io.kubernetes.js.models/V1alpha1RoleBindingList'), require('../io.kubernetes.js.models/V1alpha1RoleList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.RbacAuthorization_v1alpha1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1alpha1ClusterRole, root.KubernetesJsClient.V1alpha1ClusterRoleBinding, root.KubernetesJsClient.V1alpha1ClusterRoleBindingList, root.KubernetesJsClient.V1alpha1ClusterRoleList, root.KubernetesJsClient.V1alpha1Role, root.KubernetesJsClient.V1alpha1RoleBinding, root.KubernetesJsClient.V1alpha1RoleBindingList, root.KubernetesJsClient.V1alpha1RoleList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V1alpha1ClusterRole, V1alpha1ClusterRoleBinding, V1alpha1ClusterRoleBindingList, V1alpha1ClusterRoleList, V1alpha1Role, V1alpha1RoleBinding, V1alpha1RoleBindingList, V1alpha1RoleList) { - 'use strict'; - - /** - * RbacAuthorization_v1alpha1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new RbacAuthorization_v1alpha1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~createClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ClusterRole - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~createClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} - */ - this.createClusterRole = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createClusterRole"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1ClusterRole; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~createClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ClusterRoleBinding - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~createClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} - */ - this.createClusterRoleBinding = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createClusterRoleBinding"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1ClusterRoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~createNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~createNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} - */ - this.createNamespacedRole = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedRole"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1Role; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~createNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~createNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} - */ - this.createNamespacedRoleBinding = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedRoleBinding"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1RoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ClusterRole - * @param {String} name name of the ClusterRole - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteClusterRole = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteClusterRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteClusterRole"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ClusterRoleBinding - * @param {String} name name of the ClusterRoleBinding - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteClusterRoleBinding = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteClusterRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteClusterRoleBinding"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteCollectionClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ClusterRole - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteCollectionClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionClusterRole = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteCollectionClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ClusterRoleBinding - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteCollectionClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionClusterRoleBinding = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteCollectionNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteCollectionNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedRole = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedRole"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteCollectionNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteCollectionNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedRoleBinding = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedRoleBinding"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Role - * @param {String} name name of the Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedRole = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedRole"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedRole"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a RoleBinding - * @param {String} name name of the RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~deleteNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedRoleBinding = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedRoleBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedRoleBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ClusterRole - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleList} - */ - this.listClusterRole = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1alpha1ClusterRoleList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBindingList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ClusterRoleBinding - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBindingList} - */ - this.listClusterRoleBinding = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1alpha1ClusterRoleBindingList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList} - */ - this.listNamespacedRole = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedRole"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1alpha1RoleList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList} - */ - this.listNamespacedRoleBinding = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedRoleBinding"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1alpha1RoleBindingList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listRoleBindingForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listRoleBindingForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind RoleBinding - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listRoleBindingForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList} - */ - this.listRoleBindingForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1alpha1RoleBindingList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listRoleForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listRoleForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Role - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~listRoleForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList} - */ - this.listRoleForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1alpha1RoleList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/roles', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~patchClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ClusterRole - * @param {String} name name of the ClusterRole - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~patchClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} - */ - this.patchClusterRole = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchClusterRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchClusterRole"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1ClusterRole; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~patchClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ClusterRoleBinding - * @param {String} name name of the ClusterRoleBinding - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~patchClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} - */ - this.patchClusterRoleBinding = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchClusterRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchClusterRoleBinding"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1ClusterRoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~patchNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Role - * @param {String} name name of the Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~patchNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} - */ - this.patchNamespacedRole = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedRole"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedRole"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1Role; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~patchNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified RoleBinding - * @param {String} name name of the RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~patchNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} - */ - this.patchNamespacedRoleBinding = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedRoleBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedRoleBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1RoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~readClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ClusterRole - * @param {String} name name of the ClusterRole - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~readClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} - */ - this.readClusterRole = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readClusterRole"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1ClusterRole; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~readClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ClusterRoleBinding - * @param {String} name name of the ClusterRoleBinding - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~readClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} - */ - this.readClusterRoleBinding = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readClusterRoleBinding"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1ClusterRoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~readNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Role - * @param {String} name name of the Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~readNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} - */ - this.readNamespacedRole = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedRole"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedRole"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1Role; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~readNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified RoleBinding - * @param {String} name name of the RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~readNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} - */ - this.readNamespacedRoleBinding = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedRoleBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedRoleBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1RoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~replaceClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ClusterRole - * @param {String} name name of the ClusterRole - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~replaceClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} - */ - this.replaceClusterRole = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceClusterRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceClusterRole"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1ClusterRole; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~replaceClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ClusterRoleBinding - * @param {String} name name of the ClusterRoleBinding - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~replaceClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} - */ - this.replaceClusterRoleBinding = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceClusterRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceClusterRoleBinding"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1ClusterRoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~replaceNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Role - * @param {String} name name of the Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~replaceNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} - */ - this.replaceNamespacedRole = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedRole"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedRole"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1Role; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~replaceNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified RoleBinding - * @param {String} name name of the RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1alpha1Api~replaceNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} - */ - this.replaceNamespacedRoleBinding = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedRoleBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedRoleBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1RoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api.js deleted file mode 100644 index ba76931f96..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api.js +++ /dev/null @@ -1,1778 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBindingList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1Role', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBindingList', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1beta1ClusterRole'), require('../io.kubernetes.js.models/V1beta1ClusterRoleBinding'), require('../io.kubernetes.js.models/V1beta1ClusterRoleBindingList'), require('../io.kubernetes.js.models/V1beta1ClusterRoleList'), require('../io.kubernetes.js.models/V1beta1Role'), require('../io.kubernetes.js.models/V1beta1RoleBinding'), require('../io.kubernetes.js.models/V1beta1RoleBindingList'), require('../io.kubernetes.js.models/V1beta1RoleList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.RbacAuthorization_v1beta1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1beta1ClusterRole, root.KubernetesJsClient.V1beta1ClusterRoleBinding, root.KubernetesJsClient.V1beta1ClusterRoleBindingList, root.KubernetesJsClient.V1beta1ClusterRoleList, root.KubernetesJsClient.V1beta1Role, root.KubernetesJsClient.V1beta1RoleBinding, root.KubernetesJsClient.V1beta1RoleBindingList, root.KubernetesJsClient.V1beta1RoleList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V1beta1ClusterRole, V1beta1ClusterRoleBinding, V1beta1ClusterRoleBindingList, V1beta1ClusterRoleList, V1beta1Role, V1beta1RoleBinding, V1beta1RoleBindingList, V1beta1RoleList) { - 'use strict'; - - /** - * RbacAuthorization_v1beta1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new RbacAuthorization_v1beta1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~createClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ClusterRole - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~createClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} - */ - this.createClusterRole = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createClusterRole"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ClusterRole; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterroles', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~createClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a ClusterRoleBinding - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~createClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} - */ - this.createClusterRoleBinding = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createClusterRoleBinding"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ClusterRoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~createNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~createNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} - */ - this.createNamespacedRole = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedRole"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Role; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the createNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~createNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~createNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} - */ - this.createNamespacedRoleBinding = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedRoleBinding"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1RoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ClusterRole - * @param {String} name name of the ClusterRole - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteClusterRole = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteClusterRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteClusterRole"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a ClusterRoleBinding - * @param {String} name name of the ClusterRoleBinding - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteClusterRoleBinding = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteClusterRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteClusterRoleBinding"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteCollectionClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ClusterRole - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteCollectionClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionClusterRole = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterroles', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteCollectionClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of ClusterRoleBinding - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteCollectionClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionClusterRoleBinding = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteCollectionNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteCollectionNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedRole = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedRole"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteCollectionNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteCollectionNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedRoleBinding = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedRoleBinding"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a Role - * @param {String} name name of the Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedRole = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedRole"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedRole"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a RoleBinding - * @param {String} name name of the RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~deleteNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedRoleBinding = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedRoleBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedRoleBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ClusterRole - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleList} - */ - this.listClusterRole = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1ClusterRoleList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterroles', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBindingList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind ClusterRoleBinding - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBindingList} - */ - this.listClusterRoleBinding = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1ClusterRoleBindingList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleList} - */ - this.listNamespacedRole = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedRole"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1RoleList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBindingList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBindingList} - */ - this.listNamespacedRoleBinding = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedRoleBinding"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1RoleBindingList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listRoleBindingForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listRoleBindingForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBindingList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind RoleBinding - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listRoleBindingForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBindingList} - */ - this.listRoleBindingForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1RoleBindingList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/rolebindings', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listRoleForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listRoleForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind Role - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~listRoleForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleList} - */ - this.listRoleForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1RoleList; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/roles', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~patchClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ClusterRole - * @param {String} name name of the ClusterRole - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~patchClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} - */ - this.patchClusterRole = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchClusterRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchClusterRole"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ClusterRole; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~patchClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified ClusterRoleBinding - * @param {String} name name of the ClusterRoleBinding - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~patchClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} - */ - this.patchClusterRoleBinding = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchClusterRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchClusterRoleBinding"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ClusterRoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~patchNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified Role - * @param {String} name name of the Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~patchNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} - */ - this.patchNamespacedRole = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedRole"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedRole"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Role; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~patchNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified RoleBinding - * @param {String} name name of the RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~patchNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} - */ - this.patchNamespacedRoleBinding = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedRoleBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedRoleBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1RoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~readClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ClusterRole - * @param {String} name name of the ClusterRole - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~readClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} - */ - this.readClusterRole = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readClusterRole"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ClusterRole; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~readClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified ClusterRoleBinding - * @param {String} name name of the ClusterRoleBinding - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~readClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} - */ - this.readClusterRoleBinding = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readClusterRoleBinding"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ClusterRoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~readNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified Role - * @param {String} name name of the Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~readNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} - */ - this.readNamespacedRole = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedRole"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedRole"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Role; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~readNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified RoleBinding - * @param {String} name name of the RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~readNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} - */ - this.readNamespacedRoleBinding = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedRoleBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedRoleBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1RoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceClusterRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~replaceClusterRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ClusterRole - * @param {String} name name of the ClusterRole - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~replaceClusterRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} - */ - this.replaceClusterRole = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceClusterRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceClusterRole"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ClusterRole; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceClusterRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~replaceClusterRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified ClusterRoleBinding - * @param {String} name name of the ClusterRoleBinding - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~replaceClusterRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} - */ - this.replaceClusterRoleBinding = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceClusterRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceClusterRoleBinding"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1ClusterRoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedRole operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~replaceNamespacedRoleCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified Role - * @param {String} name name of the Role - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~replaceNamespacedRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Role} - */ - this.replaceNamespacedRole = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedRole"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedRole"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedRole"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1Role; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedRoleBinding operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~replaceNamespacedRoleBindingCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified RoleBinding - * @param {String} name name of the RoleBinding - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/RbacAuthorization_v1beta1Api~replaceNamespacedRoleBindingCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleBinding} - */ - this.replaceNamespacedRoleBinding = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedRoleBinding"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedRoleBinding"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedRoleBinding"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1RoleBinding; - - return this.apiClient.callApi( - '/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/SettingsApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/SettingsApi.js deleted file mode 100644 index 8721a94387..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/SettingsApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.SettingsApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Settings service. - * @module io.kubernetes.js/io.kubernetes.js.apis/SettingsApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new SettingsApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/SettingsApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/SettingsApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/SettingsApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api.js deleted file mode 100644 index efdd0cc95d..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api.js +++ /dev/null @@ -1,565 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1alpha1PodPreset'), require('../io.kubernetes.js.models/V1alpha1PodPresetList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Settings_v1alpha1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1alpha1PodPreset, root.KubernetesJsClient.V1alpha1PodPresetList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V1alpha1PodPreset, V1alpha1PodPresetList) { - 'use strict'; - - /** - * Settings_v1alpha1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Settings_v1alpha1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createNamespacedPodPreset operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~createNamespacedPodPresetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a PodPreset - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~createNamespacedPodPresetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} - */ - this.createNamespacedPodPreset = function(namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling createNamespacedPodPreset"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createNamespacedPodPreset"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1PodPreset; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionNamespacedPodPreset operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~deleteCollectionNamespacedPodPresetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of PodPreset - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~deleteCollectionNamespacedPodPresetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionNamespacedPodPreset = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedPodPreset"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteNamespacedPodPreset operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~deleteNamespacedPodPresetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a PodPreset - * @param {String} name name of the PodPreset - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~deleteNamespacedPodPresetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteNamespacedPodPreset = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteNamespacedPodPreset"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling deleteNamespacedPodPreset"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteNamespacedPodPreset"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listNamespacedPodPreset operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~listNamespacedPodPresetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PodPreset - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~listNamespacedPodPresetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList} - */ - this.listNamespacedPodPreset = function(namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling listNamespacedPodPreset"); - } - - - var pathParams = { - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1alpha1PodPresetList; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listPodPresetForAllNamespaces operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~listPodPresetForAllNamespacesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind PodPreset - * @param {Object} opts Optional parameters - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~listPodPresetForAllNamespacesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList} - */ - this.listPodPresetForAllNamespaces = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'pretty': opts['pretty'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1alpha1PodPresetList; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/podpresets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchNamespacedPodPreset operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~patchNamespacedPodPresetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified PodPreset - * @param {String} name name of the PodPreset - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~patchNamespacedPodPresetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} - */ - this.patchNamespacedPodPreset = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchNamespacedPodPreset"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling patchNamespacedPodPreset"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchNamespacedPodPreset"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1PodPreset; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readNamespacedPodPreset operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~readNamespacedPodPresetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified PodPreset - * @param {String} name name of the PodPreset - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~readNamespacedPodPresetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} - */ - this.readNamespacedPodPreset = function(name, namespace, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readNamespacedPodPreset"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling readNamespacedPodPreset"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1PodPreset; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceNamespacedPodPreset operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~replaceNamespacedPodPresetCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified PodPreset - * @param {String} name name of the PodPreset - * @param {String} namespace object name and auth scope, such as for teams and projects - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Settings_v1alpha1Api~replaceNamespacedPodPresetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} - */ - this.replaceNamespacedPodPreset = function(name, namespace, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceNamespacedPodPreset"); - } - - // verify the required parameter 'namespace' is set - if (namespace == undefined || namespace == null) { - throw new Error("Missing the required parameter 'namespace' when calling replaceNamespacedPodPreset"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceNamespacedPodPreset"); - } - - - var pathParams = { - 'name': name, - 'namespace': namespace - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1alpha1PodPreset; - - return this.apiClient.callApi( - '/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/StorageApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/StorageApi.js deleted file mode 100644 index eedc917c96..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/StorageApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIGroup'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIGroup')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.StorageApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIGroup); - } -}(this, function(ApiClient, V1APIGroup) { - 'use strict'; - - /** - * Storage service. - * @module io.kubernetes.js/io.kubernetes.js.apis/StorageApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new StorageApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/StorageApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getAPIGroup operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/StorageApi~getAPIGroupCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get information of a group - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/StorageApi~getAPIGroupCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} - */ - this.getAPIGroup = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIGroup; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api.js deleted file mode 100644 index b895cf5d74..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api.js +++ /dev/null @@ -1,464 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1StorageClass', 'io.kubernetes.js/io.kubernetes.js.models/V1StorageClassList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1StorageClass'), require('../io.kubernetes.js.models/V1StorageClassList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Storage_v1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1StorageClass, root.KubernetesJsClient.V1StorageClassList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V1StorageClass, V1StorageClassList) { - 'use strict'; - - /** - * Storage_v1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Storage_v1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~createStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a StorageClass - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~createStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} - */ - this.createStorageClass = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createStorageClass"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1StorageClass; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1/storageclasses', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~deleteCollectionStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of StorageClass - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~deleteCollectionStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionStorageClass = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1/storageclasses', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~deleteStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a StorageClass - * @param {String} name name of the StorageClass - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~deleteStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteStorageClass = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteStorageClass"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteStorageClass"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1/storageclasses/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~listStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClassList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind StorageClass - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~listStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClassList} - */ - this.listStorageClass = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1StorageClassList; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1/storageclasses', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~patchStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified StorageClass - * @param {String} name name of the StorageClass - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~patchStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} - */ - this.patchStorageClass = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchStorageClass"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchStorageClass"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1StorageClass; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1/storageclasses/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~readStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified StorageClass - * @param {String} name name of the StorageClass - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~readStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} - */ - this.readStorageClass = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readStorageClass"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1StorageClass; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1/storageclasses/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~replaceStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified StorageClass - * @param {String} name name of the StorageClass - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1Api~replaceStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} - */ - this.replaceStorageClass = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceStorageClass"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceStorageClass"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1StorageClass; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1/storageclasses/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api.js deleted file mode 100644 index 18968faab5..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api.js +++ /dev/null @@ -1,464 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1Status', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClassList'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/V1APIResourceList'), require('../io.kubernetes.js.models/V1DeleteOptions'), require('../io.kubernetes.js.models/V1Status'), require('../io.kubernetes.js.models/V1beta1StorageClass'), require('../io.kubernetes.js.models/V1beta1StorageClassList')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.Storage_v1beta1Api = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1APIResourceList, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1Status, root.KubernetesJsClient.V1beta1StorageClass, root.KubernetesJsClient.V1beta1StorageClassList); - } -}(this, function(ApiClient, V1APIResourceList, V1DeleteOptions, V1Status, V1beta1StorageClass, V1beta1StorageClassList) { - 'use strict'; - - /** - * Storage_v1beta1 service. - * @module io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new Storage_v1beta1Api. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the createStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~createStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * create a StorageClass - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~createStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} - */ - this.createStorageClass = function(body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling createStorageClass"); - } - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StorageClass; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1beta1/storageclasses', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteCollectionStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~deleteCollectionStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete collection of StorageClass - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~deleteCollectionStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteCollectionStorageClass = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1beta1/storageclasses', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~deleteStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * delete a StorageClass - * @param {String} name name of the StorageClass - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Number} opts.gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param {Boolean} opts.orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param {String} opts.propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~deleteStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1Status} - */ - this.deleteStorageClass = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling deleteStorageClass"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling deleteStorageClass"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'gracePeriodSeconds': opts['gracePeriodSeconds'], - 'orphanDependents': opts['orphanDependents'], - 'propagationPolicy': opts['propagationPolicy'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1Status; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1beta1/storageclasses/{name}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getAPIResources operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~getAPIResourcesCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get available resources - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~getAPIResourcesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} - */ - this.getAPIResources = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1APIResourceList; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1beta1/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~listStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClassList} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * list or watch objects of kind StorageClass - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {String} opts.fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param {String} opts.labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param {String} opts.resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - * @param {Number} opts.timeoutSeconds Timeout for the list/watch call. - * @param {Boolean} opts.watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~listStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClassList} - */ - this.listStorageClass = function(opts, callback) { - opts = opts || {}; - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - 'pretty': opts['pretty'], - 'fieldSelector': opts['fieldSelector'], - 'labelSelector': opts['labelSelector'], - 'resourceVersion': opts['resourceVersion'], - 'timeoutSeconds': opts['timeoutSeconds'], - 'watch': opts['watch'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']; - var returnType = V1beta1StorageClassList; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1beta1/storageclasses', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the patchStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~patchStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * partially update the specified StorageClass - * @param {String} name name of the StorageClass - * @param {Object} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~patchStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} - */ - this.patchStorageClass = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling patchStorageClass"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling patchStorageClass"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StorageClass; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1beta1/storageclasses/{name}', 'PATCH', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the readStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~readStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * read the specified StorageClass - * @param {String} name name of the StorageClass - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {Boolean} opts.exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - * @param {Boolean} opts._export Should this value be exported. Export strips fields that a user can not specify. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~readStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} - */ - this.readStorageClass = function(name, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling readStorageClass"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'], - 'exact': opts['exact'], - 'export': opts['_export'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StorageClass; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1beta1/storageclasses/{name}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the replaceStorageClass operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~replaceStorageClassCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * replace the specified StorageClass - * @param {String} name name of the StorageClass - * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} body - * @param {Object} opts Optional parameters - * @param {String} opts.pretty If 'true', then the output is pretty printed. - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/Storage_v1beta1Api~replaceStorageClassCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/V1beta1StorageClass} - */ - this.replaceStorageClass = function(name, body, opts, callback) { - opts = opts || {}; - var postBody = body; - - // verify the required parameter 'name' is set - if (name == undefined || name == null) { - throw new Error("Missing the required parameter 'name' when calling replaceStorageClass"); - } - - // verify the required parameter 'body' is set - if (body == undefined || body == null) { - throw new Error("Missing the required parameter 'body' when calling replaceStorageClass"); - } - - - var pathParams = { - 'name': name - }; - var queryParams = { - 'pretty': opts['pretty'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['*/*']; - var accepts = ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']; - var returnType = V1beta1StorageClass; - - return this.apiClient.callApi( - '/apis/storage.k8s.io/v1beta1/storageclasses/{name}', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/VersionApi.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/VersionApi.js deleted file mode 100644 index be27417923..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/VersionApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/VersionInfo'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../io.kubernetes.js.models/VersionInfo')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.VersionApi = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.VersionInfo); - } -}(this, function(ApiClient, VersionInfo) { - 'use strict'; - - /** - * Version service. - * @module io.kubernetes.js/io.kubernetes.js.apis/VersionApi - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new VersionApi. - * @alias module:io.kubernetes.js/io.kubernetes.js.apis/VersionApi - * @class - * @param {module:io.kubernetes.js/ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:io.kubernetes.js/ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getCode operation. - * @callback module:io.kubernetes.js/io.kubernetes.js.apis/VersionApi~getCodeCallback - * @param {String} error Error message, if any. - * @param {module:io.kubernetes.js/io.kubernetes.js.models/VersionInfo} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * get the code version - * @param {module:io.kubernetes.js/io.kubernetes.js.apis/VersionApi~getCodeCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:io.kubernetes.js/io.kubernetes.js.models/VersionInfo} - */ - this.getCode = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = ['BearerToken']; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = VersionInfo; - - return this.apiClient.callApi( - '/version/', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment.js deleted file mode 100644 index 97bab1b2dc..0000000000 --- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment.js +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Kubernetes - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * OpenAPI spec version: v1.6.3 - * - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentSpec', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./AppsV1beta1DeploymentSpec'), require('./AppsV1beta1DeploymentStatus'), require('./V1ObjectMeta')); - } else { - // Browser globals (root is window) - if (!root.KubernetesJsClient) { - root.KubernetesJsClient = {}; - } - root.KubernetesJsClient.AppsV1beta1Deployment = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.AppsV1beta1DeploymentSpec, root.KubernetesJsClient.AppsV1beta1DeploymentStatus, root.KubernetesJsClient.V1ObjectMeta); - } -}(this, function(ApiClient, AppsV1beta1DeploymentSpec, AppsV1beta1DeploymentStatus, V1ObjectMeta) { - 'use strict'; - - - - - /** - * The AppsV1beta1Deployment model module. - * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment - * @version 1.0.0-snapshot - */ - - /** - * Constructs a new
AppsV1beta1Deployment.
- * Deployment enables declarative updates for Pods and ReplicaSets.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a AppsV1beta1Deployment from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment} The populated AppsV1beta1Deployment instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = AppsV1beta1DeploymentSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = AppsV1beta1DeploymentStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Specification of the desired behavior of the Deployment.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Most recently observed status of the Deployment.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition.js
deleted file mode 100644
index 27f8f56c96..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition.js
+++ /dev/null
@@ -1,128 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.AppsV1beta1DeploymentCondition = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The AppsV1beta1DeploymentCondition model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new AppsV1beta1DeploymentCondition.
- * DeploymentCondition describes the state of a deployment at a certain point.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition
- * @class
- * @param status {String} Status of the condition, one of True, False, Unknown.
- * @param type {String} Type of deployment condition.
- */
- var exports = function(status, type) {
- var _this = this;
-
-
-
-
-
- _this['status'] = status;
- _this['type'] = type;
- };
-
- /**
- * Constructs a AppsV1beta1DeploymentCondition from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition} The populated AppsV1beta1DeploymentCondition instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('lastTransitionTime')) {
- obj['lastTransitionTime'] = ApiClient.convertToType(data['lastTransitionTime'], 'Date');
- }
- if (data.hasOwnProperty('lastUpdateTime')) {
- obj['lastUpdateTime'] = ApiClient.convertToType(data['lastUpdateTime'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Last time the condition transitioned from one status to another.
- * @member {Date} lastTransitionTime
- */
- exports.prototype['lastTransitionTime'] = undefined;
- /**
- * The last time this condition was updated.
- * @member {Date} lastUpdateTime
- */
- exports.prototype['lastUpdateTime'] = undefined;
- /**
- * A human readable message indicating details about the transition.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * The reason for the condition's last transition.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * Status of the condition, one of True, False, Unknown.
- * @member {String} status
- */
- exports.prototype['status'] = undefined;
- /**
- * Type of deployment condition.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList.js
deleted file mode 100644
index a2ea51185f..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Deployment', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./AppsV1beta1Deployment'), require('./V1ListMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.AppsV1beta1DeploymentList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.AppsV1beta1Deployment, root.KubernetesJsClient.V1ListMeta);
- }
-}(this, function(ApiClient, AppsV1beta1Deployment, V1ListMeta) {
- 'use strict';
-
-
-
-
- /**
- * The AppsV1beta1DeploymentList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new AppsV1beta1DeploymentList.
- * DeploymentList is a list of Deployments.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList
- * @class
- * @param items {Array.AppsV1beta1DeploymentList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentList} The populated AppsV1beta1DeploymentList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [AppsV1beta1Deployment]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is the list of Deployments.
- * @member {Array.AppsV1beta1DeploymentRollback.
- * DeploymentRollback stores the information required to rollback a deployment.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback
- * @class
- * @param name {String} Required: This must match the Name of a deployment.
- * @param rollbackTo {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig} The config of this deployment rollback.
- */
- var exports = function(name, rollbackTo) {
- var _this = this;
-
-
-
- _this['name'] = name;
- _this['rollbackTo'] = rollbackTo;
-
- };
-
- /**
- * Constructs a AppsV1beta1DeploymentRollback from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentRollback} The populated AppsV1beta1DeploymentRollback instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('rollbackTo')) {
- obj['rollbackTo'] = AppsV1beta1RollbackConfig.constructFromObject(data['rollbackTo']);
- }
- if (data.hasOwnProperty('updatedAnnotations')) {
- obj['updatedAnnotations'] = ApiClient.convertToType(data['updatedAnnotations'], {'String': 'String'});
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Required: This must match the Name of a deployment.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * The config of this deployment rollback.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig} rollbackTo
- */
- exports.prototype['rollbackTo'] = undefined;
- /**
- * The annotations to be updated to a deployment
- * @member {Object.AppsV1beta1DeploymentSpec.
- * DeploymentSpec is the specification of the desired behavior of the Deployment.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentSpec
- * @class
- * @param template {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} Template describes the pods that will be created.
- */
- var exports = function(template) {
- var _this = this;
-
-
-
-
-
-
-
-
-
- _this['template'] = template;
- };
-
- /**
- * Constructs a AppsV1beta1DeploymentSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentSpec} The populated AppsV1beta1DeploymentSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('minReadySeconds')) {
- obj['minReadySeconds'] = ApiClient.convertToType(data['minReadySeconds'], 'Number');
- }
- if (data.hasOwnProperty('paused')) {
- obj['paused'] = ApiClient.convertToType(data['paused'], 'Boolean');
- }
- if (data.hasOwnProperty('progressDeadlineSeconds')) {
- obj['progressDeadlineSeconds'] = ApiClient.convertToType(data['progressDeadlineSeconds'], 'Number');
- }
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- if (data.hasOwnProperty('revisionHistoryLimit')) {
- obj['revisionHistoryLimit'] = ApiClient.convertToType(data['revisionHistoryLimit'], 'Number');
- }
- if (data.hasOwnProperty('rollbackTo')) {
- obj['rollbackTo'] = AppsV1beta1RollbackConfig.constructFromObject(data['rollbackTo']);
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = V1LabelSelector.constructFromObject(data['selector']);
- }
- if (data.hasOwnProperty('strategy')) {
- obj['strategy'] = AppsV1beta1DeploymentStrategy.constructFromObject(data['strategy']);
- }
- if (data.hasOwnProperty('template')) {
- obj['template'] = V1PodTemplateSpec.constructFromObject(data['template']);
- }
- }
- return obj;
- }
-
- /**
- * Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
- * @member {Number} minReadySeconds
- */
- exports.prototype['minReadySeconds'] = undefined;
- /**
- * Indicates that the deployment is paused.
- * @member {Boolean} paused
- */
- exports.prototype['paused'] = undefined;
- /**
- * The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
- * @member {Number} progressDeadlineSeconds
- */
- exports.prototype['progressDeadlineSeconds'] = undefined;
- /**
- * Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
- /**
- * The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.
- * @member {Number} revisionHistoryLimit
- */
- exports.prototype['revisionHistoryLimit'] = undefined;
- /**
- * The config this deployment is rolling back to. Will be cleared after rollback is done.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig} rollbackTo
- */
- exports.prototype['rollbackTo'] = undefined;
- /**
- * Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} selector
- */
- exports.prototype['selector'] = undefined;
- /**
- * The deployment strategy to use to replace existing pods with new ones.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStrategy} strategy
- */
- exports.prototype['strategy'] = undefined;
- /**
- * Template describes the pods that will be created.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} template
- */
- exports.prototype['template'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus.js
deleted file mode 100644
index e65d6ecff9..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus.js
+++ /dev/null
@@ -1,135 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentCondition'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./AppsV1beta1DeploymentCondition'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.AppsV1beta1DeploymentStatus = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.AppsV1beta1DeploymentCondition);
- }
-}(this, function(ApiClient, AppsV1beta1DeploymentCondition) {
- 'use strict';
-
-
-
-
- /**
- * The AppsV1beta1DeploymentStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new AppsV1beta1DeploymentStatus.
- * DeploymentStatus is the most recently observed status of the Deployment.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a AppsV1beta1DeploymentStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStatus} The populated AppsV1beta1DeploymentStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('availableReplicas')) {
- obj['availableReplicas'] = ApiClient.convertToType(data['availableReplicas'], 'Number');
- }
- if (data.hasOwnProperty('conditions')) {
- obj['conditions'] = ApiClient.convertToType(data['conditions'], [AppsV1beta1DeploymentCondition]);
- }
- if (data.hasOwnProperty('observedGeneration')) {
- obj['observedGeneration'] = ApiClient.convertToType(data['observedGeneration'], 'Number');
- }
- if (data.hasOwnProperty('readyReplicas')) {
- obj['readyReplicas'] = ApiClient.convertToType(data['readyReplicas'], 'Number');
- }
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- if (data.hasOwnProperty('unavailableReplicas')) {
- obj['unavailableReplicas'] = ApiClient.convertToType(data['unavailableReplicas'], 'Number');
- }
- if (data.hasOwnProperty('updatedReplicas')) {
- obj['updatedReplicas'] = ApiClient.convertToType(data['updatedReplicas'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
- * @member {Number} availableReplicas
- */
- exports.prototype['availableReplicas'] = undefined;
- /**
- * Represents the latest available observations of a deployment's current state.
- * @member {Array.AppsV1beta1DeploymentStrategy.
- * DeploymentStrategy describes how to replace existing pods with new ones.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStrategy
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a AppsV1beta1DeploymentStrategy from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStrategy} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1DeploymentStrategy} The populated AppsV1beta1DeploymentStrategy instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('rollingUpdate')) {
- obj['rollingUpdate'] = AppsV1beta1RollingUpdateDeployment.constructFromObject(data['rollingUpdate']);
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment} rollingUpdate
- */
- exports.prototype['rollingUpdate'] = undefined;
- /**
- * Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig.js
deleted file mode 100644
index 62f5ee6a9b..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig.js
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.AppsV1beta1RollbackConfig = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The AppsV1beta1RollbackConfig model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new AppsV1beta1RollbackConfig.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a AppsV1beta1RollbackConfig from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollbackConfig} The populated AppsV1beta1RollbackConfig instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('revision')) {
- obj['revision'] = ApiClient.convertToType(data['revision'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * The revision to rollback to. If set to 0, rollbck to the last revision.
- * @member {Number} revision
- */
- exports.prototype['revision'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment.js
deleted file mode 100644
index 5dcb87231d..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.AppsV1beta1RollingUpdateDeployment = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The AppsV1beta1RollingUpdateDeployment model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new AppsV1beta1RollingUpdateDeployment.
- * Spec to control the desired behavior of rolling update.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a AppsV1beta1RollingUpdateDeployment from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1RollingUpdateDeployment} The populated AppsV1beta1RollingUpdateDeployment instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('maxSurge')) {
- obj['maxSurge'] = ApiClient.convertToType(data['maxSurge'], 'String');
- }
- if (data.hasOwnProperty('maxUnavailable')) {
- obj['maxUnavailable'] = ApiClient.convertToType(data['maxUnavailable'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.
- * @member {String} maxSurge
- */
- exports.prototype['maxSurge'] = undefined;
- /**
- * The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
- * @member {String} maxUnavailable
- */
- exports.prototype['maxUnavailable'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale.js
deleted file mode 100644
index 7ea2f0d4f8..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec', 'io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./AppsV1beta1ScaleSpec'), require('./AppsV1beta1ScaleStatus'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.AppsV1beta1Scale = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.AppsV1beta1ScaleSpec, root.KubernetesJsClient.AppsV1beta1ScaleStatus, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, AppsV1beta1ScaleSpec, AppsV1beta1ScaleStatus, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The AppsV1beta1Scale model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new AppsV1beta1Scale.
- * Scale represents a scaling request for a resource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a AppsV1beta1Scale from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1Scale} The populated AppsV1beta1Scale instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = AppsV1beta1ScaleSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = AppsV1beta1ScaleStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec.js
deleted file mode 100644
index a4a8d52ba8..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.AppsV1beta1ScaleSpec = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The AppsV1beta1ScaleSpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new AppsV1beta1ScaleSpec.
- * ScaleSpec describes the attributes of a scale subresource
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a AppsV1beta1ScaleSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleSpec} The populated AppsV1beta1ScaleSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * desired number of instances for the scaled object.
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus.js
deleted file mode 100644
index a132cfe356..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.AppsV1beta1ScaleStatus = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The AppsV1beta1ScaleStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new AppsV1beta1ScaleStatus.
- * ScaleStatus represents the current status of a scale subresource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus
- * @class
- * @param replicas {Number} actual number of observed instances of the scaled object.
- */
- var exports = function(replicas) {
- var _this = this;
-
- _this['replicas'] = replicas;
-
-
- };
-
- /**
- * Constructs a AppsV1beta1ScaleStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/AppsV1beta1ScaleStatus} The populated AppsV1beta1ScaleStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = ApiClient.convertToType(data['selector'], {'String': 'String'});
- }
- if (data.hasOwnProperty('targetSelector')) {
- obj['targetSelector'] = ApiClient.convertToType(data['targetSelector'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * actual number of observed instances of the scaled object.
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
- /**
- * label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
- * @member {Object.ExtensionsV1beta1Deployment.
- * Deployment enables declarative updates for Pods and ReplicaSets.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1Deployment from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment} The populated ExtensionsV1beta1Deployment instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = ExtensionsV1beta1DeploymentSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ExtensionsV1beta1DeploymentStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Specification of the desired behavior of the Deployment.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Most recently observed status of the Deployment.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition.js
deleted file mode 100644
index 5f28fd0ed9..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition.js
+++ /dev/null
@@ -1,128 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ExtensionsV1beta1DeploymentCondition = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The ExtensionsV1beta1DeploymentCondition model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new ExtensionsV1beta1DeploymentCondition.
- * DeploymentCondition describes the state of a deployment at a certain point.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition
- * @class
- * @param status {String} Status of the condition, one of True, False, Unknown.
- * @param type {String} Type of deployment condition.
- */
- var exports = function(status, type) {
- var _this = this;
-
-
-
-
-
- _this['status'] = status;
- _this['type'] = type;
- };
-
- /**
- * Constructs a ExtensionsV1beta1DeploymentCondition from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition} The populated ExtensionsV1beta1DeploymentCondition instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('lastTransitionTime')) {
- obj['lastTransitionTime'] = ApiClient.convertToType(data['lastTransitionTime'], 'Date');
- }
- if (data.hasOwnProperty('lastUpdateTime')) {
- obj['lastUpdateTime'] = ApiClient.convertToType(data['lastUpdateTime'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Last time the condition transitioned from one status to another.
- * @member {Date} lastTransitionTime
- */
- exports.prototype['lastTransitionTime'] = undefined;
- /**
- * The last time this condition was updated.
- * @member {Date} lastUpdateTime
- */
- exports.prototype['lastUpdateTime'] = undefined;
- /**
- * A human readable message indicating details about the transition.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * The reason for the condition's last transition.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * Status of the condition, one of True, False, Unknown.
- * @member {String} status
- */
- exports.prototype['status'] = undefined;
- /**
- * Type of deployment condition.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList.js
deleted file mode 100644
index 0bb55a2a48..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Deployment', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./ExtensionsV1beta1Deployment'), require('./V1ListMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ExtensionsV1beta1DeploymentList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.ExtensionsV1beta1Deployment, root.KubernetesJsClient.V1ListMeta);
- }
-}(this, function(ApiClient, ExtensionsV1beta1Deployment, V1ListMeta) {
- 'use strict';
-
-
-
-
- /**
- * The ExtensionsV1beta1DeploymentList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new ExtensionsV1beta1DeploymentList.
- * DeploymentList is a list of Deployments.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList
- * @class
- * @param items {Array.ExtensionsV1beta1DeploymentList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentList} The populated ExtensionsV1beta1DeploymentList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [ExtensionsV1beta1Deployment]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is the list of Deployments.
- * @member {Array.ExtensionsV1beta1DeploymentRollback.
- * DeploymentRollback stores the information required to rollback a deployment.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback
- * @class
- * @param name {String} Required: This must match the Name of a deployment.
- * @param rollbackTo {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig} The config of this deployment rollback.
- */
- var exports = function(name, rollbackTo) {
- var _this = this;
-
-
-
- _this['name'] = name;
- _this['rollbackTo'] = rollbackTo;
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1DeploymentRollback from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentRollback} The populated ExtensionsV1beta1DeploymentRollback instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('rollbackTo')) {
- obj['rollbackTo'] = ExtensionsV1beta1RollbackConfig.constructFromObject(data['rollbackTo']);
- }
- if (data.hasOwnProperty('updatedAnnotations')) {
- obj['updatedAnnotations'] = ApiClient.convertToType(data['updatedAnnotations'], {'String': 'String'});
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Required: This must match the Name of a deployment.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * The config of this deployment rollback.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig} rollbackTo
- */
- exports.prototype['rollbackTo'] = undefined;
- /**
- * The annotations to be updated to a deployment
- * @member {Object.ExtensionsV1beta1DeploymentSpec.
- * DeploymentSpec is the specification of the desired behavior of the Deployment.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentSpec
- * @class
- * @param template {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} Template describes the pods that will be created.
- */
- var exports = function(template) {
- var _this = this;
-
-
-
-
-
-
-
-
-
- _this['template'] = template;
- };
-
- /**
- * Constructs a ExtensionsV1beta1DeploymentSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentSpec} The populated ExtensionsV1beta1DeploymentSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('minReadySeconds')) {
- obj['minReadySeconds'] = ApiClient.convertToType(data['minReadySeconds'], 'Number');
- }
- if (data.hasOwnProperty('paused')) {
- obj['paused'] = ApiClient.convertToType(data['paused'], 'Boolean');
- }
- if (data.hasOwnProperty('progressDeadlineSeconds')) {
- obj['progressDeadlineSeconds'] = ApiClient.convertToType(data['progressDeadlineSeconds'], 'Number');
- }
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- if (data.hasOwnProperty('revisionHistoryLimit')) {
- obj['revisionHistoryLimit'] = ApiClient.convertToType(data['revisionHistoryLimit'], 'Number');
- }
- if (data.hasOwnProperty('rollbackTo')) {
- obj['rollbackTo'] = ExtensionsV1beta1RollbackConfig.constructFromObject(data['rollbackTo']);
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = V1LabelSelector.constructFromObject(data['selector']);
- }
- if (data.hasOwnProperty('strategy')) {
- obj['strategy'] = ExtensionsV1beta1DeploymentStrategy.constructFromObject(data['strategy']);
- }
- if (data.hasOwnProperty('template')) {
- obj['template'] = V1PodTemplateSpec.constructFromObject(data['template']);
- }
- }
- return obj;
- }
-
- /**
- * Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
- * @member {Number} minReadySeconds
- */
- exports.prototype['minReadySeconds'] = undefined;
- /**
- * Indicates that the deployment is paused and will not be processed by the deployment controller.
- * @member {Boolean} paused
- */
- exports.prototype['paused'] = undefined;
- /**
- * The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.
- * @member {Number} progressDeadlineSeconds
- */
- exports.prototype['progressDeadlineSeconds'] = undefined;
- /**
- * Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
- /**
- * The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.
- * @member {Number} revisionHistoryLimit
- */
- exports.prototype['revisionHistoryLimit'] = undefined;
- /**
- * The config this deployment is rolling back to. Will be cleared after rollback is done.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig} rollbackTo
- */
- exports.prototype['rollbackTo'] = undefined;
- /**
- * Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} selector
- */
- exports.prototype['selector'] = undefined;
- /**
- * The deployment strategy to use to replace existing pods with new ones.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStrategy} strategy
- */
- exports.prototype['strategy'] = undefined;
- /**
- * Template describes the pods that will be created.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} template
- */
- exports.prototype['template'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus.js
deleted file mode 100644
index af123e4feb..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus.js
+++ /dev/null
@@ -1,135 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentCondition'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./ExtensionsV1beta1DeploymentCondition'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ExtensionsV1beta1DeploymentStatus = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.ExtensionsV1beta1DeploymentCondition);
- }
-}(this, function(ApiClient, ExtensionsV1beta1DeploymentCondition) {
- 'use strict';
-
-
-
-
- /**
- * The ExtensionsV1beta1DeploymentStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new ExtensionsV1beta1DeploymentStatus.
- * DeploymentStatus is the most recently observed status of the Deployment.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1DeploymentStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStatus} The populated ExtensionsV1beta1DeploymentStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('availableReplicas')) {
- obj['availableReplicas'] = ApiClient.convertToType(data['availableReplicas'], 'Number');
- }
- if (data.hasOwnProperty('conditions')) {
- obj['conditions'] = ApiClient.convertToType(data['conditions'], [ExtensionsV1beta1DeploymentCondition]);
- }
- if (data.hasOwnProperty('observedGeneration')) {
- obj['observedGeneration'] = ApiClient.convertToType(data['observedGeneration'], 'Number');
- }
- if (data.hasOwnProperty('readyReplicas')) {
- obj['readyReplicas'] = ApiClient.convertToType(data['readyReplicas'], 'Number');
- }
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- if (data.hasOwnProperty('unavailableReplicas')) {
- obj['unavailableReplicas'] = ApiClient.convertToType(data['unavailableReplicas'], 'Number');
- }
- if (data.hasOwnProperty('updatedReplicas')) {
- obj['updatedReplicas'] = ApiClient.convertToType(data['updatedReplicas'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
- * @member {Number} availableReplicas
- */
- exports.prototype['availableReplicas'] = undefined;
- /**
- * Represents the latest available observations of a deployment's current state.
- * @member {Array.ExtensionsV1beta1DeploymentStrategy.
- * DeploymentStrategy describes how to replace existing pods with new ones.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStrategy
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1DeploymentStrategy from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStrategy} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1DeploymentStrategy} The populated ExtensionsV1beta1DeploymentStrategy instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('rollingUpdate')) {
- obj['rollingUpdate'] = ExtensionsV1beta1RollingUpdateDeployment.constructFromObject(data['rollingUpdate']);
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment} rollingUpdate
- */
- exports.prototype['rollingUpdate'] = undefined;
- /**
- * Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig.js
deleted file mode 100644
index 3eeadf3ced..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig.js
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ExtensionsV1beta1RollbackConfig = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The ExtensionsV1beta1RollbackConfig model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new ExtensionsV1beta1RollbackConfig.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1RollbackConfig from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollbackConfig} The populated ExtensionsV1beta1RollbackConfig instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('revision')) {
- obj['revision'] = ApiClient.convertToType(data['revision'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * The revision to rollback to. If set to 0, rollbck to the last revision.
- * @member {Number} revision
- */
- exports.prototype['revision'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment.js
deleted file mode 100644
index fa3f70c91d..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ExtensionsV1beta1RollingUpdateDeployment = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The ExtensionsV1beta1RollingUpdateDeployment model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new ExtensionsV1beta1RollingUpdateDeployment.
- * Spec to control the desired behavior of rolling update.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1RollingUpdateDeployment from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1RollingUpdateDeployment} The populated ExtensionsV1beta1RollingUpdateDeployment instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('maxSurge')) {
- obj['maxSurge'] = ApiClient.convertToType(data['maxSurge'], 'String');
- }
- if (data.hasOwnProperty('maxUnavailable')) {
- obj['maxUnavailable'] = ApiClient.convertToType(data['maxUnavailable'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.
- * @member {String} maxSurge
- */
- exports.prototype['maxSurge'] = undefined;
- /**
- * The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
- * @member {String} maxUnavailable
- */
- exports.prototype['maxUnavailable'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale.js
deleted file mode 100644
index 2c3bfdfb5d..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec', 'io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./ExtensionsV1beta1ScaleSpec'), require('./ExtensionsV1beta1ScaleStatus'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ExtensionsV1beta1Scale = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.ExtensionsV1beta1ScaleSpec, root.KubernetesJsClient.ExtensionsV1beta1ScaleStatus, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, ExtensionsV1beta1ScaleSpec, ExtensionsV1beta1ScaleStatus, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The ExtensionsV1beta1Scale model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new ExtensionsV1beta1Scale.
- * represents a scaling request for a resource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1Scale from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1Scale} The populated ExtensionsV1beta1Scale instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = ExtensionsV1beta1ScaleSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ExtensionsV1beta1ScaleStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec.js
deleted file mode 100644
index 159962aae4..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ExtensionsV1beta1ScaleSpec = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The ExtensionsV1beta1ScaleSpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new ExtensionsV1beta1ScaleSpec.
- * describes the attributes of a scale subresource
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1ScaleSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleSpec} The populated ExtensionsV1beta1ScaleSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * desired number of instances for the scaled object.
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus.js
deleted file mode 100644
index 60c4cf7ed1..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.ExtensionsV1beta1ScaleStatus = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The ExtensionsV1beta1ScaleStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new ExtensionsV1beta1ScaleStatus.
- * represents the current status of a scale subresource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus
- * @class
- * @param replicas {Number} actual number of observed instances of the scaled object.
- */
- var exports = function(replicas) {
- var _this = this;
-
- _this['replicas'] = replicas;
-
-
- };
-
- /**
- * Constructs a ExtensionsV1beta1ScaleStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/ExtensionsV1beta1ScaleStatus} The populated ExtensionsV1beta1ScaleStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = ApiClient.convertToType(data['selector'], {'String': 'String'});
- }
- if (data.hasOwnProperty('targetSelector')) {
- obj['targetSelector'] = ApiClient.convertToType(data['targetSelector'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * actual number of observed instances of the scaled object.
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
- /**
- * label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
- * @member {Object.RuntimeRawExtension.
- * RawExtension is used to hold extensions in external versions. To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types. // Internal package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.Object `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // External package: type MyAPIObject struct { runtime.TypeMeta `json:\",inline\"` MyPlugin runtime.RawExtension `json:\"myPlugin\"` } type PluginA struct { AOption string `json:\"aOption\"` } // On the wire, the JSON will look something like this: { \"kind\":\"MyAPIObject\", \"apiVersion\":\"v1\", \"myPlugin\": { \"kind\":\"PluginA\", \"aOption\":\"foo\", }, } So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/RuntimeRawExtension
- * @class
- * @param raw {String} Raw is the underlying serialization of this object.
- */
- var exports = function(raw) {
- var _this = this;
-
- _this['Raw'] = raw;
- };
-
- /**
- * Constructs a RuntimeRawExtension from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/RuntimeRawExtension} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/RuntimeRawExtension} The populated RuntimeRawExtension instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('Raw')) {
- obj['Raw'] = ApiClient.convertToType(data['Raw'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Raw is the underlying serialization of this object.
- * @member {String} Raw
- */
- exports.prototype['Raw'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1APIGroup.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1APIGroup.js
deleted file mode 100644
index fc1a45331c..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1APIGroup.js
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery', 'io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1GroupVersionForDiscovery'), require('./V1ServerAddressByClientCIDR'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1APIGroup = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1GroupVersionForDiscovery, root.KubernetesJsClient.V1ServerAddressByClientCIDR);
- }
-}(this, function(ApiClient, V1GroupVersionForDiscovery, V1ServerAddressByClientCIDR) {
- 'use strict';
-
-
-
-
- /**
- * The V1APIGroup model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1APIGroup
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1APIGroup.
- * APIGroup contains the name, the supported versions, and the preferred version of a group.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup
- * @class
- * @param name {String} name is the name of the group.
- * @param serverAddressByClientCIDRs {Array.V1APIGroup from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroup} The populated V1APIGroup instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('preferredVersion')) {
- obj['preferredVersion'] = V1GroupVersionForDiscovery.constructFromObject(data['preferredVersion']);
- }
- if (data.hasOwnProperty('serverAddressByClientCIDRs')) {
- obj['serverAddressByClientCIDRs'] = ApiClient.convertToType(data['serverAddressByClientCIDRs'], [V1ServerAddressByClientCIDR]);
- }
- if (data.hasOwnProperty('versions')) {
- obj['versions'] = ApiClient.convertToType(data['versions'], [V1GroupVersionForDiscovery]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * name is the name of the group.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * preferredVersion is the version preferred by the API server, which probably is the storage version.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery} preferredVersion
- */
- exports.prototype['preferredVersion'] = undefined;
- /**
- * a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
- * @member {Array.V1APIGroupList.
- * APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroupList
- * @class
- * @param groups {Array.V1APIGroupList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroupList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1APIGroupList} The populated V1APIGroupList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('groups')) {
- obj['groups'] = ApiClient.convertToType(data['groups'], [V1APIGroup]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * groups is a list of APIGroup.
- * @member {Array.V1APIResource.
- * APIResource specifies the name of a resource and whether it is namespaced.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1APIResource
- * @class
- * @param kind {String} kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
- * @param name {String} name is the name of the resource.
- * @param namespaced {Boolean} namespaced indicates if a resource is namespaced or not.
- * @param verbs {Array.V1APIResource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResource} The populated V1APIResource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('namespaced')) {
- obj['namespaced'] = ApiClient.convertToType(data['namespaced'], 'Boolean');
- }
- if (data.hasOwnProperty('shortNames')) {
- obj['shortNames'] = ApiClient.convertToType(data['shortNames'], ['String']);
- }
- if (data.hasOwnProperty('verbs')) {
- obj['verbs'] = ApiClient.convertToType(data['verbs'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * name is the name of the resource.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * namespaced indicates if a resource is namespaced or not.
- * @member {Boolean} namespaced
- */
- exports.prototype['namespaced'] = undefined;
- /**
- * shortNames is a list of suggested short names of the resource.
- * @member {Array.V1APIResourceList.
- * APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList
- * @class
- * @param groupVersion {String} groupVersion is the group and version this APIResourceList is for.
- * @param resources {Array.V1APIResourceList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1APIResourceList} The populated V1APIResourceList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('groupVersion')) {
- obj['groupVersion'] = ApiClient.convertToType(data['groupVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('resources')) {
- obj['resources'] = ApiClient.convertToType(data['resources'], [V1APIResource]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * groupVersion is the group and version this APIResourceList is for.
- * @member {String} groupVersion
- */
- exports.prototype['groupVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * resources contains the name of the resources and if they are namespaced.
- * @member {Array.V1APIVersions.
- * APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1APIVersions
- * @class
- * @param serverAddressByClientCIDRs {Array.V1APIVersions from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1APIVersions} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1APIVersions} The populated V1APIVersions instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('serverAddressByClientCIDRs')) {
- obj['serverAddressByClientCIDRs'] = ApiClient.convertToType(data['serverAddressByClientCIDRs'], [V1ServerAddressByClientCIDR]);
- }
- if (data.hasOwnProperty('versions')) {
- obj['versions'] = ApiClient.convertToType(data['versions'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
- * @member {Array.V1AWSElasticBlockStoreVolumeSource.
- * Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1AWSElasticBlockStoreVolumeSource
- * @class
- * @param volumeID {String} Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore
- */
- var exports = function(volumeID) {
- var _this = this;
-
-
-
-
- _this['volumeID'] = volumeID;
- };
-
- /**
- * Constructs a V1AWSElasticBlockStoreVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1AWSElasticBlockStoreVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1AWSElasticBlockStoreVolumeSource} The populated V1AWSElasticBlockStoreVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('partition')) {
- obj['partition'] = ApiClient.convertToType(data['partition'], 'Number');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('volumeID')) {
- obj['volumeID'] = ApiClient.convertToType(data['volumeID'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).
- * @member {Number} partition
- */
- exports.prototype['partition'] = undefined;
- /**
- * Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore
- * @member {String} volumeID
- */
- exports.prototype['volumeID'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Affinity.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Affinity.js
deleted file mode 100644
index 31d4f85107..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Affinity.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity', 'io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity', 'io.kubernetes.js/io.kubernetes.js.models/V1PodAntiAffinity'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1NodeAffinity'), require('./V1PodAffinity'), require('./V1PodAntiAffinity'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Affinity = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1NodeAffinity, root.KubernetesJsClient.V1PodAffinity, root.KubernetesJsClient.V1PodAntiAffinity);
- }
-}(this, function(ApiClient, V1NodeAffinity, V1PodAffinity, V1PodAntiAffinity) {
- 'use strict';
-
-
-
-
- /**
- * The V1Affinity model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Affinity
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Affinity.
- * Affinity is a group of affinity scheduling rules.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Affinity
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1Affinity from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Affinity} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Affinity} The populated V1Affinity instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('nodeAffinity')) {
- obj['nodeAffinity'] = V1NodeAffinity.constructFromObject(data['nodeAffinity']);
- }
- if (data.hasOwnProperty('podAffinity')) {
- obj['podAffinity'] = V1PodAffinity.constructFromObject(data['podAffinity']);
- }
- if (data.hasOwnProperty('podAntiAffinity')) {
- obj['podAntiAffinity'] = V1PodAntiAffinity.constructFromObject(data['podAntiAffinity']);
- }
- }
- return obj;
- }
-
- /**
- * Describes node affinity scheduling rules for the pod.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity} nodeAffinity
- */
- exports.prototype['nodeAffinity'] = undefined;
- /**
- * Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity} podAffinity
- */
- exports.prototype['podAffinity'] = undefined;
- /**
- * Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAntiAffinity} podAntiAffinity
- */
- exports.prototype['podAntiAffinity'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume.js
deleted file mode 100644
index a4e1ac1a53..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1AttachedVolume = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1AttachedVolume model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1AttachedVolume.
- * AttachedVolume describes a volume attached to a node
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume
- * @class
- * @param devicePath {String} DevicePath represents the device path where the volume should be available
- * @param name {String} Name of the attached volume
- */
- var exports = function(devicePath, name) {
- var _this = this;
-
- _this['devicePath'] = devicePath;
- _this['name'] = name;
- };
-
- /**
- * Constructs a V1AttachedVolume from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1AttachedVolume} The populated V1AttachedVolume instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('devicePath')) {
- obj['devicePath'] = ApiClient.convertToType(data['devicePath'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * DevicePath represents the device path where the volume should be available
- * @member {String} devicePath
- */
- exports.prototype['devicePath'] = undefined;
- /**
- * Name of the attached volume
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource.js
deleted file mode 100644
index ca29b615c8..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource.js
+++ /dev/null
@@ -1,119 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1AzureDiskVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1AzureDiskVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1AzureDiskVolumeSource.
- * AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource
- * @class
- * @param diskName {String} The Name of the data disk in the blob storage
- * @param diskURI {String} The URI the data disk in the blob storage
- */
- var exports = function(diskName, diskURI) {
- var _this = this;
-
-
- _this['diskName'] = diskName;
- _this['diskURI'] = diskURI;
-
-
- };
-
- /**
- * Constructs a V1AzureDiskVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource} The populated V1AzureDiskVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('cachingMode')) {
- obj['cachingMode'] = ApiClient.convertToType(data['cachingMode'], 'String');
- }
- if (data.hasOwnProperty('diskName')) {
- obj['diskName'] = ApiClient.convertToType(data['diskName'], 'String');
- }
- if (data.hasOwnProperty('diskURI')) {
- obj['diskURI'] = ApiClient.convertToType(data['diskURI'], 'String');
- }
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * Host Caching mode: None, Read Only, Read Write.
- * @member {String} cachingMode
- */
- exports.prototype['cachingMode'] = undefined;
- /**
- * The Name of the data disk in the blob storage
- * @member {String} diskName
- */
- exports.prototype['diskName'] = undefined;
- /**
- * The URI the data disk in the blob storage
- * @member {String} diskURI
- */
- exports.prototype['diskURI'] = undefined;
- /**
- * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource.js
deleted file mode 100644
index 9a11c01801..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1AzureFileVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1AzureFileVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1AzureFileVolumeSource.
- * AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource
- * @class
- * @param secretName {String} the name of secret that contains Azure Storage Account Name and Key
- * @param shareName {String} Share Name
- */
- var exports = function(secretName, shareName) {
- var _this = this;
-
-
- _this['secretName'] = secretName;
- _this['shareName'] = shareName;
- };
-
- /**
- * Constructs a V1AzureFileVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource} The populated V1AzureFileVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('secretName')) {
- obj['secretName'] = ApiClient.convertToType(data['secretName'], 'String');
- }
- if (data.hasOwnProperty('shareName')) {
- obj['shareName'] = ApiClient.convertToType(data['shareName'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * the name of secret that contains Azure Storage Account Name and Key
- * @member {String} secretName
- */
- exports.prototype['secretName'] = undefined;
- /**
- * Share Name
- * @member {String} shareName
- */
- exports.prototype['shareName'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Binding.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Binding.js
deleted file mode 100644
index ab998c85b3..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Binding.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1ObjectReference'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Binding = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1ObjectReference);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1ObjectReference) {
- 'use strict';
-
-
-
-
- /**
- * The V1Binding model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Binding
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Binding.
- * Binding ties one object to another. For example, a pod is bound to a node by a scheduler.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Binding
- * @class
- * @param target {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference} The target object that you want to bind to the standard object.
- */
- var exports = function(target) {
- var _this = this;
-
-
-
-
- _this['target'] = target;
- };
-
- /**
- * Constructs a V1Binding from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Binding} The populated V1Binding instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('target')) {
- obj['target'] = V1ObjectReference.constructFromObject(data['target']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * The target object that you want to bind to the standard object.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference} target
- */
- exports.prototype['target'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Capabilities.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Capabilities.js
deleted file mode 100644
index 544c6f5b4c..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Capabilities.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Capabilities = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1Capabilities model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Capabilities
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Capabilities.
- * Adds and removes POSIX capabilities from running containers.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Capabilities
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1Capabilities from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Capabilities} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Capabilities} The populated V1Capabilities instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('add')) {
- obj['add'] = ApiClient.convertToType(data['add'], ['String']);
- }
- if (data.hasOwnProperty('drop')) {
- obj['drop'] = ApiClient.convertToType(data['drop'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * Added capabilities
- * @member {Array.V1CephFSVolumeSource.
- * Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1CephFSVolumeSource
- * @class
- * @param monitors {Array.V1CephFSVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1CephFSVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1CephFSVolumeSource} The populated V1CephFSVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('monitors')) {
- obj['monitors'] = ApiClient.convertToType(data['monitors'], ['String']);
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('secretFile')) {
- obj['secretFile'] = ApiClient.convertToType(data['secretFile'], 'String');
- }
- if (data.hasOwnProperty('secretRef')) {
- obj['secretRef'] = V1LocalObjectReference.constructFromObject(data['secretRef']);
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
- * @member {Array.V1CinderVolumeSource.
- * Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1CinderVolumeSource
- * @class
- * @param volumeID {String} volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
- */
- var exports = function(volumeID) {
- var _this = this;
-
-
-
- _this['volumeID'] = volumeID;
- };
-
- /**
- * Constructs a V1CinderVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1CinderVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1CinderVolumeSource} The populated V1CinderVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('volumeID')) {
- obj['volumeID'] = ApiClient.convertToType(data['volumeID'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
- * @member {String} volumeID
- */
- exports.prototype['volumeID'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition.js
deleted file mode 100644
index 8602d9273d..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition.js
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ComponentCondition = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ComponentCondition model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ComponentCondition.
- * Information about the condition of a component.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition
- * @class
- * @param status {String} Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".
- * @param type {String} Type of condition for a component. Valid value: \"Healthy\"
- */
- var exports = function(status, type) {
- var _this = this;
-
-
-
- _this['status'] = status;
- _this['type'] = type;
- };
-
- /**
- * Constructs a V1ComponentCondition from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition} The populated V1ComponentCondition instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('error')) {
- obj['error'] = ApiClient.convertToType(data['error'], 'String');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Condition error code for a component. For example, a health check error code.
- * @member {String} error
- */
- exports.prototype['error'] = undefined;
- /**
- * Message about the condition for a component. For example, information about a health check.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".
- * @member {String} status
- */
- exports.prototype['status'] = undefined;
- /**
- * Type of condition for a component. Valid value: \"Healthy\"
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus.js
deleted file mode 100644
index 27e9350ed9..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus.js
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ComponentCondition', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ComponentCondition'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ComponentStatus = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ComponentCondition, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, V1ComponentCondition, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1ComponentStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ComponentStatus.
- * ComponentStatus (and ComponentStatusList) holds the cluster validation info.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ComponentStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatus} The populated V1ComponentStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('conditions')) {
- obj['conditions'] = ApiClient.convertToType(data['conditions'], [V1ComponentCondition]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of component conditions observed
- * @member {Array.V1ComponentStatusList.
- * Status of all the conditions for the component as a list of ComponentStatus objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatusList
- * @class
- * @param items {Array.V1ComponentStatusList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatusList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ComponentStatusList} The populated V1ComponentStatusList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1ComponentStatus]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of ComponentStatus objects.
- * @member {Array.V1ConfigMap.
- * ConfigMap holds configuration data for pods to consume.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ConfigMap from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap} The populated V1ConfigMap instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('data')) {
- obj['data'] = ApiClient.convertToType(data['data'], {'String': 'String'});
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.
- * @member {Object.V1ConfigMapEnvSource.
- * ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapEnvSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1ConfigMapEnvSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapEnvSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapEnvSource} The populated V1ConfigMapEnvSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('optional')) {
- obj['optional'] = ApiClient.convertToType(data['optional'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Specify whether the ConfigMap must be defined
- * @member {Boolean} optional
- */
- exports.prototype['optional'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector.js
deleted file mode 100644
index 5e80a72e00..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ConfigMapKeySelector = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ConfigMapKeySelector model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ConfigMapKeySelector.
- * Selects a key from a ConfigMap.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector
- * @class
- * @param key {String} The key to select.
- */
- var exports = function(key) {
- var _this = this;
-
- _this['key'] = key;
-
-
- };
-
- /**
- * Constructs a V1ConfigMapKeySelector from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector} The populated V1ConfigMapKeySelector instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('key')) {
- obj['key'] = ApiClient.convertToType(data['key'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('optional')) {
- obj['optional'] = ApiClient.convertToType(data['optional'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * The key to select.
- * @member {String} key
- */
- exports.prototype['key'] = undefined;
- /**
- * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Specify whether the ConfigMap or it's key must be defined
- * @member {Boolean} optional
- */
- exports.prototype['optional'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList.js
deleted file mode 100644
index 5959b26208..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMap', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ConfigMap'), require('./V1ListMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ConfigMapList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ConfigMap, root.KubernetesJsClient.V1ListMeta);
- }
-}(this, function(ApiClient, V1ConfigMap, V1ListMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1ConfigMapList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ConfigMapList.
- * ConfigMapList is a resource containing a list of ConfigMap objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList
- * @class
- * @param items {Array.V1ConfigMapList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapList} The populated V1ConfigMapList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1ConfigMap]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is the list of ConfigMaps.
- * @member {Array.V1ConfigMapProjection.
- * Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapProjection
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1ConfigMapProjection from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapProjection} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapProjection} The populated V1ConfigMapProjection instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1KeyToPath]);
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('optional')) {
- obj['optional'] = ApiClient.convertToType(data['optional'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- * @member {Array.V1ConfigMapVolumeSource.
- * Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapVolumeSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ConfigMapVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapVolumeSource} The populated V1ConfigMapVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('defaultMode')) {
- obj['defaultMode'] = ApiClient.convertToType(data['defaultMode'], 'Number');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1KeyToPath]);
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('optional')) {
- obj['optional'] = ApiClient.convertToType(data['optional'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- * @member {Number} defaultMode
- */
- exports.prototype['defaultMode'] = undefined;
- /**
- * If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- * @member {Array.V1Container.
- * A single application container that you want to run within a pod.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Container
- * @class
- * @param name {String} Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
- */
- var exports = function(name) {
- var _this = this;
-
-
-
-
-
-
-
-
-
- _this['name'] = name;
-
-
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Container from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Container} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Container} The populated V1Container instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('args')) {
- obj['args'] = ApiClient.convertToType(data['args'], ['String']);
- }
- if (data.hasOwnProperty('command')) {
- obj['command'] = ApiClient.convertToType(data['command'], ['String']);
- }
- if (data.hasOwnProperty('env')) {
- obj['env'] = ApiClient.convertToType(data['env'], [V1EnvVar]);
- }
- if (data.hasOwnProperty('envFrom')) {
- obj['envFrom'] = ApiClient.convertToType(data['envFrom'], [V1EnvFromSource]);
- }
- if (data.hasOwnProperty('image')) {
- obj['image'] = ApiClient.convertToType(data['image'], 'String');
- }
- if (data.hasOwnProperty('imagePullPolicy')) {
- obj['imagePullPolicy'] = ApiClient.convertToType(data['imagePullPolicy'], 'String');
- }
- if (data.hasOwnProperty('lifecycle')) {
- obj['lifecycle'] = V1Lifecycle.constructFromObject(data['lifecycle']);
- }
- if (data.hasOwnProperty('livenessProbe')) {
- obj['livenessProbe'] = V1Probe.constructFromObject(data['livenessProbe']);
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('ports')) {
- obj['ports'] = ApiClient.convertToType(data['ports'], [V1ContainerPort]);
- }
- if (data.hasOwnProperty('readinessProbe')) {
- obj['readinessProbe'] = V1Probe.constructFromObject(data['readinessProbe']);
- }
- if (data.hasOwnProperty('resources')) {
- obj['resources'] = V1ResourceRequirements.constructFromObject(data['resources']);
- }
- if (data.hasOwnProperty('securityContext')) {
- obj['securityContext'] = V1SecurityContext.constructFromObject(data['securityContext']);
- }
- if (data.hasOwnProperty('stdin')) {
- obj['stdin'] = ApiClient.convertToType(data['stdin'], 'Boolean');
- }
- if (data.hasOwnProperty('stdinOnce')) {
- obj['stdinOnce'] = ApiClient.convertToType(data['stdinOnce'], 'Boolean');
- }
- if (data.hasOwnProperty('terminationMessagePath')) {
- obj['terminationMessagePath'] = ApiClient.convertToType(data['terminationMessagePath'], 'String');
- }
- if (data.hasOwnProperty('terminationMessagePolicy')) {
- obj['terminationMessagePolicy'] = ApiClient.convertToType(data['terminationMessagePolicy'], 'String');
- }
- if (data.hasOwnProperty('tty')) {
- obj['tty'] = ApiClient.convertToType(data['tty'], 'Boolean');
- }
- if (data.hasOwnProperty('volumeMounts')) {
- obj['volumeMounts'] = ApiClient.convertToType(data['volumeMounts'], [V1VolumeMount]);
- }
- if (data.hasOwnProperty('workingDir')) {
- obj['workingDir'] = ApiClient.convertToType(data['workingDir'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands
- * @member {Array.V1ContainerImage.
- * Describe a container image
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerImage
- * @class
- * @param names {Array.V1ContainerImage from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerImage} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerImage} The populated V1ContainerImage instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('names')) {
- obj['names'] = ApiClient.convertToType(data['names'], ['String']);
- }
- if (data.hasOwnProperty('sizeBytes')) {
- obj['sizeBytes'] = ApiClient.convertToType(data['sizeBytes'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]
- * @member {Array.V1ContainerPort.
- * ContainerPort represents a network port in a single container.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerPort
- * @class
- * @param containerPort {Number} Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.
- */
- var exports = function(containerPort) {
- var _this = this;
-
- _this['containerPort'] = containerPort;
-
-
-
-
- };
-
- /**
- * Constructs a V1ContainerPort from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerPort} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerPort} The populated V1ContainerPort instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('containerPort')) {
- obj['containerPort'] = ApiClient.convertToType(data['containerPort'], 'Number');
- }
- if (data.hasOwnProperty('hostIP')) {
- obj['hostIP'] = ApiClient.convertToType(data['hostIP'], 'String');
- }
- if (data.hasOwnProperty('hostPort')) {
- obj['hostPort'] = ApiClient.convertToType(data['hostPort'], 'Number');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('protocol')) {
- obj['protocol'] = ApiClient.convertToType(data['protocol'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.
- * @member {Number} containerPort
- */
- exports.prototype['containerPort'] = undefined;
- /**
- * What host IP to bind the external port to.
- * @member {String} hostIP
- */
- exports.prototype['hostIP'] = undefined;
- /**
- * Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.
- * @member {Number} hostPort
- */
- exports.prototype['hostPort'] = undefined;
- /**
- * If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".
- * @member {String} protocol
- */
- exports.prototype['protocol'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerState.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerState.js
deleted file mode 100644
index c83111c05c..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerState.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateWaiting'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ContainerStateRunning'), require('./V1ContainerStateTerminated'), require('./V1ContainerStateWaiting'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ContainerState = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ContainerStateRunning, root.KubernetesJsClient.V1ContainerStateTerminated, root.KubernetesJsClient.V1ContainerStateWaiting);
- }
-}(this, function(ApiClient, V1ContainerStateRunning, V1ContainerStateTerminated, V1ContainerStateWaiting) {
- 'use strict';
-
-
-
-
- /**
- * The V1ContainerState model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ContainerState
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ContainerState.
- * ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerState
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1ContainerState from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerState} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerState} The populated V1ContainerState instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('running')) {
- obj['running'] = V1ContainerStateRunning.constructFromObject(data['running']);
- }
- if (data.hasOwnProperty('terminated')) {
- obj['terminated'] = V1ContainerStateTerminated.constructFromObject(data['terminated']);
- }
- if (data.hasOwnProperty('waiting')) {
- obj['waiting'] = V1ContainerStateWaiting.constructFromObject(data['waiting']);
- }
- }
- return obj;
- }
-
- /**
- * Details about a running container
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning} running
- */
- exports.prototype['running'] = undefined;
- /**
- * Details about a terminated container
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated} terminated
- */
- exports.prototype['terminated'] = undefined;
- /**
- * Details about a waiting container
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateWaiting} waiting
- */
- exports.prototype['waiting'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning.js
deleted file mode 100644
index d830ca0d4a..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ContainerStateRunning = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ContainerStateRunning model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ContainerStateRunning.
- * ContainerStateRunning is a running state of a container.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1ContainerStateRunning from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateRunning} The populated V1ContainerStateRunning instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('startedAt')) {
- obj['startedAt'] = ApiClient.convertToType(data['startedAt'], 'Date');
- }
- }
- return obj;
- }
-
- /**
- * Time at which the container was last (re-)started
- * @member {Date} startedAt
- */
- exports.prototype['startedAt'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated.js
deleted file mode 100644
index 156cfde5c8..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated.js
+++ /dev/null
@@ -1,136 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ContainerStateTerminated = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ContainerStateTerminated model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ContainerStateTerminated.
- * ContainerStateTerminated is a terminated state of a container.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated
- * @class
- * @param exitCode {Number} Exit status from the last termination of the container
- */
- var exports = function(exitCode) {
- var _this = this;
-
-
- _this['exitCode'] = exitCode;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ContainerStateTerminated from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateTerminated} The populated V1ContainerStateTerminated instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('containerID')) {
- obj['containerID'] = ApiClient.convertToType(data['containerID'], 'String');
- }
- if (data.hasOwnProperty('exitCode')) {
- obj['exitCode'] = ApiClient.convertToType(data['exitCode'], 'Number');
- }
- if (data.hasOwnProperty('finishedAt')) {
- obj['finishedAt'] = ApiClient.convertToType(data['finishedAt'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('signal')) {
- obj['signal'] = ApiClient.convertToType(data['signal'], 'Number');
- }
- if (data.hasOwnProperty('startedAt')) {
- obj['startedAt'] = ApiClient.convertToType(data['startedAt'], 'Date');
- }
- }
- return obj;
- }
-
- /**
- * Container's ID in the format 'docker://V1ContainerStateWaiting.
- * ContainerStateWaiting is a waiting state of a container.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateWaiting
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1ContainerStateWaiting from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateWaiting} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStateWaiting} The populated V1ContainerStateWaiting instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Message regarding why the container is not yet running.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * (brief) reason the container is not yet running.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus.js
deleted file mode 100644
index fefe51715f..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus.js
+++ /dev/null
@@ -1,149 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ContainerState'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ContainerState'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ContainerStatus = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ContainerState);
- }
-}(this, function(ApiClient, V1ContainerState) {
- 'use strict';
-
-
-
-
- /**
- * The V1ContainerStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ContainerStatus.
- * ContainerStatus contains details for the current status of this container.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus
- * @class
- * @param image {String} The image the container is running. More info: http://kubernetes.io/docs/user-guide/images
- * @param imageID {String} ImageID of the container's image.
- * @param name {String} This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
- * @param ready {Boolean} Specifies whether the container has passed its readiness probe.
- * @param restartCount {Number} The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.
- */
- var exports = function(image, imageID, name, ready, restartCount) {
- var _this = this;
-
-
- _this['image'] = image;
- _this['imageID'] = imageID;
-
- _this['name'] = name;
- _this['ready'] = ready;
- _this['restartCount'] = restartCount;
-
- };
-
- /**
- * Constructs a V1ContainerStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ContainerStatus} The populated V1ContainerStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('containerID')) {
- obj['containerID'] = ApiClient.convertToType(data['containerID'], 'String');
- }
- if (data.hasOwnProperty('image')) {
- obj['image'] = ApiClient.convertToType(data['image'], 'String');
- }
- if (data.hasOwnProperty('imageID')) {
- obj['imageID'] = ApiClient.convertToType(data['imageID'], 'String');
- }
- if (data.hasOwnProperty('lastState')) {
- obj['lastState'] = V1ContainerState.constructFromObject(data['lastState']);
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('ready')) {
- obj['ready'] = ApiClient.convertToType(data['ready'], 'Boolean');
- }
- if (data.hasOwnProperty('restartCount')) {
- obj['restartCount'] = ApiClient.convertToType(data['restartCount'], 'Number');
- }
- if (data.hasOwnProperty('state')) {
- obj['state'] = V1ContainerState.constructFromObject(data['state']);
- }
- }
- return obj;
- }
-
- /**
- * Container's ID in the format 'docker://V1CrossVersionObjectReference.
- * CrossVersionObjectReference contains enough information to let you identify the referred resource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1CrossVersionObjectReference
- * @class
- * @param kind {String} Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"
- * @param name {String} Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
- */
- var exports = function(kind, name) {
- var _this = this;
-
-
- _this['kind'] = kind;
- _this['name'] = name;
- };
-
- /**
- * Constructs a V1CrossVersionObjectReference from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1CrossVersionObjectReference} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1CrossVersionObjectReference} The populated V1CrossVersionObjectReference instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * API version of the referent
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint.js
deleted file mode 100644
index 9c608067db..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1DaemonEndpoint = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1DaemonEndpoint model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1DaemonEndpoint.
- * DaemonEndpoint contains information about a single Daemon endpoint.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint
- * @class
- * @param port {Number} Port number of the given endpoint.
- */
- var exports = function(port) {
- var _this = this;
-
- _this['Port'] = port;
- };
-
- /**
- * Constructs a V1DaemonEndpoint from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint} The populated V1DaemonEndpoint instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('Port')) {
- obj['Port'] = ApiClient.convertToType(data['Port'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * Port number of the given endpoint.
- * @member {Number} Port
- */
- exports.prototype['Port'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions.js
deleted file mode 100644
index 4a7831b1c8..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1Preconditions'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1Preconditions'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1DeleteOptions = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1Preconditions);
- }
-}(this, function(ApiClient, V1Preconditions) {
- 'use strict';
-
-
-
-
- /**
- * The V1DeleteOptions model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1DeleteOptions.
- * DeleteOptions may be provided when deleting an API object.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1DeleteOptions from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} The populated V1DeleteOptions instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('gracePeriodSeconds')) {
- obj['gracePeriodSeconds'] = ApiClient.convertToType(data['gracePeriodSeconds'], 'Number');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('orphanDependents')) {
- obj['orphanDependents'] = ApiClient.convertToType(data['orphanDependents'], 'Boolean');
- }
- if (data.hasOwnProperty('preconditions')) {
- obj['preconditions'] = V1Preconditions.constructFromObject(data['preconditions']);
- }
- if (data.hasOwnProperty('propagationPolicy')) {
- obj['propagationPolicy'] = ApiClient.convertToType(data['propagationPolicy'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
- * @member {Number} gracePeriodSeconds
- */
- exports.prototype['gracePeriodSeconds'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
- * @member {Boolean} orphanDependents
- */
- exports.prototype['orphanDependents'] = undefined;
- /**
- * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1Preconditions} preconditions
- */
- exports.prototype['preconditions'] = undefined;
- /**
- * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
- * @member {String} propagationPolicy
- */
- exports.prototype['propagationPolicy'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection.js
deleted file mode 100644
index d2369e30c6..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeFile'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1DownwardAPIVolumeFile'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1DownwardAPIProjection = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1DownwardAPIVolumeFile);
- }
-}(this, function(ApiClient, V1DownwardAPIVolumeFile) {
- 'use strict';
-
-
-
-
- /**
- * The V1DownwardAPIProjection model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1DownwardAPIProjection.
- * Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1DownwardAPIProjection from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection} The populated V1DownwardAPIProjection instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1DownwardAPIVolumeFile]);
- }
- }
- return obj;
- }
-
- /**
- * Items is a list of DownwardAPIVolume file
- * @member {Array.V1DownwardAPIVolumeFile.
- * DownwardAPIVolumeFile represents information to create the file containing the pod field
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeFile
- * @class
- * @param path {String} Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
- */
- var exports = function(path) {
- var _this = this;
-
-
-
- _this['path'] = path;
-
- };
-
- /**
- * Constructs a V1DownwardAPIVolumeFile from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeFile} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeFile} The populated V1DownwardAPIVolumeFile instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fieldRef')) {
- obj['fieldRef'] = V1ObjectFieldSelector.constructFromObject(data['fieldRef']);
- }
- if (data.hasOwnProperty('mode')) {
- obj['mode'] = ApiClient.convertToType(data['mode'], 'Number');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('resourceFieldRef')) {
- obj['resourceFieldRef'] = V1ResourceFieldSelector.constructFromObject(data['resourceFieldRef']);
- }
- }
- return obj;
- }
-
- /**
- * Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector} fieldRef
- */
- exports.prototype['fieldRef'] = undefined;
- /**
- * Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- * @member {Number} mode
- */
- exports.prototype['mode'] = undefined;
- /**
- * Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
- * @member {String} path
- */
- exports.prototype['path'] = undefined;
- /**
- * Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector} resourceFieldRef
- */
- exports.prototype['resourceFieldRef'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource.js
deleted file mode 100644
index 4a8a44e89b..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeFile'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1DownwardAPIVolumeFile'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1DownwardAPIVolumeSource = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1DownwardAPIVolumeFile);
- }
-}(this, function(ApiClient, V1DownwardAPIVolumeFile) {
- 'use strict';
-
-
-
-
- /**
- * The V1DownwardAPIVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1DownwardAPIVolumeSource.
- * DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1DownwardAPIVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource} The populated V1DownwardAPIVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('defaultMode')) {
- obj['defaultMode'] = ApiClient.convertToType(data['defaultMode'], 'Number');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1DownwardAPIVolumeFile]);
- }
- }
- return obj;
- }
-
- /**
- * Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- * @member {Number} defaultMode
- */
- exports.prototype['defaultMode'] = undefined;
- /**
- * Items is a list of downward API volume file
- * @member {Array.V1EmptyDirVolumeSource.
- * Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EmptyDirVolumeSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1EmptyDirVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EmptyDirVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EmptyDirVolumeSource} The populated V1EmptyDirVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('medium')) {
- obj['medium'] = ApiClient.convertToType(data['medium'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
- * @member {String} medium
- */
- exports.prototype['medium'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress.js
deleted file mode 100644
index c1576be363..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectReference'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1EndpointAddress = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectReference);
- }
-}(this, function(ApiClient, V1ObjectReference) {
- 'use strict';
-
-
-
-
- /**
- * The V1EndpointAddress model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1EndpointAddress.
- * EndpointAddress is a tuple that describes single IP address.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress
- * @class
- * @param ip {String} The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.
- */
- var exports = function(ip) {
- var _this = this;
-
-
- _this['ip'] = ip;
-
-
- };
-
- /**
- * Constructs a V1EndpointAddress from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress} The populated V1EndpointAddress instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('hostname')) {
- obj['hostname'] = ApiClient.convertToType(data['hostname'], 'String');
- }
- if (data.hasOwnProperty('ip')) {
- obj['ip'] = ApiClient.convertToType(data['ip'], 'String');
- }
- if (data.hasOwnProperty('nodeName')) {
- obj['nodeName'] = ApiClient.convertToType(data['nodeName'], 'String');
- }
- if (data.hasOwnProperty('targetRef')) {
- obj['targetRef'] = V1ObjectReference.constructFromObject(data['targetRef']);
- }
- }
- return obj;
- }
-
- /**
- * The Hostname of this endpoint
- * @member {String} hostname
- */
- exports.prototype['hostname'] = undefined;
- /**
- * The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.
- * @member {String} ip
- */
- exports.prototype['ip'] = undefined;
- /**
- * Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
- * @member {String} nodeName
- */
- exports.prototype['nodeName'] = undefined;
- /**
- * Reference to object providing the endpoint.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference} targetRef
- */
- exports.prototype['targetRef'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort.js
deleted file mode 100644
index a7cce1719c..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1EndpointPort = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1EndpointPort model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1EndpointPort.
- * EndpointPort is a tuple that describes a single port.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort
- * @class
- * @param port {Number} The port number of the endpoint.
- */
- var exports = function(port) {
- var _this = this;
-
-
- _this['port'] = port;
-
- };
-
- /**
- * Constructs a V1EndpointPort from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort} The populated V1EndpointPort instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
- if (data.hasOwnProperty('protocol')) {
- obj['protocol'] = ApiClient.convertToType(data['protocol'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * The port number of the endpoint.
- * @member {Number} port
- */
- exports.prototype['port'] = undefined;
- /**
- * The IP protocol for this port. Must be UDP or TCP. Default is TCP.
- * @member {String} protocol
- */
- exports.prototype['protocol'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset.js
deleted file mode 100644
index 01b027f4bd..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1EndpointAddress', 'io.kubernetes.js/io.kubernetes.js.models/V1EndpointPort'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1EndpointAddress'), require('./V1EndpointPort'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1EndpointSubset = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1EndpointAddress, root.KubernetesJsClient.V1EndpointPort);
- }
-}(this, function(ApiClient, V1EndpointAddress, V1EndpointPort) {
- 'use strict';
-
-
-
-
- /**
- * The V1EndpointSubset model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1EndpointSubset.
- * EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1EndpointSubset from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointSubset} The populated V1EndpointSubset instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('addresses')) {
- obj['addresses'] = ApiClient.convertToType(data['addresses'], [V1EndpointAddress]);
- }
- if (data.hasOwnProperty('notReadyAddresses')) {
- obj['notReadyAddresses'] = ApiClient.convertToType(data['notReadyAddresses'], [V1EndpointAddress]);
- }
- if (data.hasOwnProperty('ports')) {
- obj['ports'] = ApiClient.convertToType(data['ports'], [V1EndpointPort]);
- }
- }
- return obj;
- }
-
- /**
- * IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.
- * @member {Array.V1Endpoints.
- * Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ]
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints
- * @class
- * @param subsets {Array.V1Endpoints from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Endpoints} The populated V1Endpoints instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('subsets')) {
- obj['subsets'] = ApiClient.convertToType(data['subsets'], [V1EndpointSubset]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.
- * @member {Array.V1EndpointsList.
- * EndpointsList is a list of endpoints.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList
- * @class
- * @param items {Array.V1EndpointsList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EndpointsList} The populated V1EndpointsList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1Endpoints]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of endpoints.
- * @member {Array.V1EnvFromSource.
- * EnvFromSource represents the source of a set of ConfigMaps
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EnvFromSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1EnvFromSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvFromSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvFromSource} The populated V1EnvFromSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('configMapRef')) {
- obj['configMapRef'] = V1ConfigMapEnvSource.constructFromObject(data['configMapRef']);
- }
- if (data.hasOwnProperty('prefix')) {
- obj['prefix'] = ApiClient.convertToType(data['prefix'], 'String');
- }
- if (data.hasOwnProperty('secretRef')) {
- obj['secretRef'] = V1SecretEnvSource.constructFromObject(data['secretRef']);
- }
- }
- return obj;
- }
-
- /**
- * The ConfigMap to select from
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapEnvSource} configMapRef
- */
- exports.prototype['configMapRef'] = undefined;
- /**
- * An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
- * @member {String} prefix
- */
- exports.prototype['prefix'] = undefined;
- /**
- * The Secret to select from
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretEnvSource} secretRef
- */
- exports.prototype['secretRef'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EnvVar.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EnvVar.js
deleted file mode 100644
index 9a9778128e..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EnvVar.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1EnvVarSource'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1EnvVar = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1EnvVarSource);
- }
-}(this, function(ApiClient, V1EnvVarSource) {
- 'use strict';
-
-
-
-
- /**
- * The V1EnvVar model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1EnvVar
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1EnvVar.
- * EnvVar represents an environment variable present in a Container.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVar
- * @class
- * @param name {String} Name of the environment variable. Must be a C_IDENTIFIER.
- */
- var exports = function(name) {
- var _this = this;
-
- _this['name'] = name;
-
-
- };
-
- /**
- * Constructs a V1EnvVar from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVar} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVar} The populated V1EnvVar instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('value')) {
- obj['value'] = ApiClient.convertToType(data['value'], 'String');
- }
- if (data.hasOwnProperty('valueFrom')) {
- obj['valueFrom'] = V1EnvVarSource.constructFromObject(data['valueFrom']);
- }
- }
- return obj;
- }
-
- /**
- * Name of the environment variable. Must be a C_IDENTIFIER.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".
- * @member {String} value
- */
- exports.prototype['value'] = undefined;
- /**
- * Source for the environment variable's value. Cannot be used if value is not empty.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource} valueFrom
- */
- exports.prototype['valueFrom'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource.js
deleted file mode 100644
index 855a038a78..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource.js
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector', 'io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ConfigMapKeySelector'), require('./V1ObjectFieldSelector'), require('./V1ResourceFieldSelector'), require('./V1SecretKeySelector'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1EnvVarSource = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ConfigMapKeySelector, root.KubernetesJsClient.V1ObjectFieldSelector, root.KubernetesJsClient.V1ResourceFieldSelector, root.KubernetesJsClient.V1SecretKeySelector);
- }
-}(this, function(ApiClient, V1ConfigMapKeySelector, V1ObjectFieldSelector, V1ResourceFieldSelector, V1SecretKeySelector) {
- 'use strict';
-
-
-
-
- /**
- * The V1EnvVarSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1EnvVarSource.
- * EnvVarSource represents a source for the value of an EnvVar.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1EnvVarSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EnvVarSource} The populated V1EnvVarSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('configMapKeyRef')) {
- obj['configMapKeyRef'] = V1ConfigMapKeySelector.constructFromObject(data['configMapKeyRef']);
- }
- if (data.hasOwnProperty('fieldRef')) {
- obj['fieldRef'] = V1ObjectFieldSelector.constructFromObject(data['fieldRef']);
- }
- if (data.hasOwnProperty('resourceFieldRef')) {
- obj['resourceFieldRef'] = V1ResourceFieldSelector.constructFromObject(data['resourceFieldRef']);
- }
- if (data.hasOwnProperty('secretKeyRef')) {
- obj['secretKeyRef'] = V1SecretKeySelector.constructFromObject(data['secretKeyRef']);
- }
- }
- return obj;
- }
-
- /**
- * Selects a key of a ConfigMap.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapKeySelector} configMapKeyRef
- */
- exports.prototype['configMapKeyRef'] = undefined;
- /**
- * Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector} fieldRef
- */
- exports.prototype['fieldRef'] = undefined;
- /**
- * Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector} resourceFieldRef
- */
- exports.prototype['resourceFieldRef'] = undefined;
- /**
- * Selects a key of a secret in the pod's namespace
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector} secretKeyRef
- */
- exports.prototype['secretKeyRef'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Event.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Event.js
deleted file mode 100644
index e3cf11d9f3..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Event.js
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1EventSource', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1EventSource'), require('./V1ObjectMeta'), require('./V1ObjectReference'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Event = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1EventSource, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1ObjectReference);
- }
-}(this, function(ApiClient, V1EventSource, V1ObjectMeta, V1ObjectReference) {
- 'use strict';
-
-
-
-
- /**
- * The V1Event model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Event
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Event.
- * Event is a report of an event somewhere in the cluster.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Event
- * @class
- * @param involvedObject {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference} The object that this event is about.
- * @param metadata {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- */
- var exports = function(involvedObject, metadata) {
- var _this = this;
-
-
-
-
- _this['involvedObject'] = involvedObject;
-
-
-
- _this['metadata'] = metadata;
-
-
-
- };
-
- /**
- * Constructs a V1Event from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Event} The populated V1Event instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('count')) {
- obj['count'] = ApiClient.convertToType(data['count'], 'Number');
- }
- if (data.hasOwnProperty('firstTimestamp')) {
- obj['firstTimestamp'] = ApiClient.convertToType(data['firstTimestamp'], 'Date');
- }
- if (data.hasOwnProperty('involvedObject')) {
- obj['involvedObject'] = V1ObjectReference.constructFromObject(data['involvedObject']);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('lastTimestamp')) {
- obj['lastTimestamp'] = ApiClient.convertToType(data['lastTimestamp'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('source')) {
- obj['source'] = V1EventSource.constructFromObject(data['source']);
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * The number of times this event has occurred.
- * @member {Number} count
- */
- exports.prototype['count'] = undefined;
- /**
- * The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
- * @member {Date} firstTimestamp
- */
- exports.prototype['firstTimestamp'] = undefined;
- /**
- * The object that this event is about.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference} involvedObject
- */
- exports.prototype['involvedObject'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * The time at which the most recent occurrence of this event was recorded.
- * @member {Date} lastTimestamp
- */
- exports.prototype['lastTimestamp'] = undefined;
- /**
- * A human-readable description of the status of this operation.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * This should be a short, machine understandable string that gives the reason for the transition into the object's current status.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * The component reporting this event. Should be a short machine understandable string.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1EventSource} source
- */
- exports.prototype['source'] = undefined;
- /**
- * Type of this event (Normal, Warning), new types could be added in the future
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EventList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EventList.js
deleted file mode 100644
index 1039ef7ec4..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1EventList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1Event', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1Event'), require('./V1ListMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1EventList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1Event, root.KubernetesJsClient.V1ListMeta);
- }
-}(this, function(ApiClient, V1Event, V1ListMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1EventList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1EventList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1EventList.
- * EventList is a list of events.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EventList
- * @class
- * @param items {Array.V1EventList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EventList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EventList} The populated V1EventList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1Event]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of events
- * @member {Array.V1EventSource.
- * EventSource contains information for an event.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1EventSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1EventSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1EventSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1EventSource} The populated V1EventSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('component')) {
- obj['component'] = ApiClient.convertToType(data['component'], 'String');
- }
- if (data.hasOwnProperty('host')) {
- obj['host'] = ApiClient.convertToType(data['host'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Component from which the event is generated.
- * @member {String} component
- */
- exports.prototype['component'] = undefined;
- /**
- * Node name on which the event is generated.
- * @member {String} host
- */
- exports.prototype['host'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ExecAction.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ExecAction.js
deleted file mode 100644
index 322e1cf8d3..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ExecAction.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ExecAction = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ExecAction model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ExecAction
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ExecAction.
- * ExecAction describes a \"run in container\" action.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ExecAction
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1ExecAction from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ExecAction} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ExecAction} The populated V1ExecAction instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('command')) {
- obj['command'] = ApiClient.convertToType(data['command'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
- * @member {Array.V1FCVolumeSource.
- * Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1FCVolumeSource
- * @class
- * @param lun {Number} Required: FC target lun number
- * @param targetWWNs {Array.V1FCVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1FCVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1FCVolumeSource} The populated V1FCVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('lun')) {
- obj['lun'] = ApiClient.convertToType(data['lun'], 'Number');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('targetWWNs')) {
- obj['targetWWNs'] = ApiClient.convertToType(data['targetWWNs'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * Required: FC target lun number
- * @member {Number} lun
- */
- exports.prototype['lun'] = undefined;
- /**
- * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * Required: FC target worldwide names (WWNs)
- * @member {Array.V1FlexVolumeSource.
- * FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1FlexVolumeSource
- * @class
- * @param driver {String} Driver is the name of the driver to use for this volume.
- */
- var exports = function(driver) {
- var _this = this;
-
- _this['driver'] = driver;
-
-
-
-
- };
-
- /**
- * Constructs a V1FlexVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1FlexVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1FlexVolumeSource} The populated V1FlexVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('driver')) {
- obj['driver'] = ApiClient.convertToType(data['driver'], 'String');
- }
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('options')) {
- obj['options'] = ApiClient.convertToType(data['options'], {'String': 'String'});
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('secretRef')) {
- obj['secretRef'] = V1LocalObjectReference.constructFromObject(data['secretRef']);
- }
- }
- return obj;
- }
-
- /**
- * Driver is the name of the driver to use for this volume.
- * @member {String} driver
- */
- exports.prototype['driver'] = undefined;
- /**
- * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * Optional: Extra command options if any.
- * @member {Object.V1FlockerVolumeSource.
- * Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1FlockerVolumeSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1FlockerVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1FlockerVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1FlockerVolumeSource} The populated V1FlockerVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('datasetName')) {
- obj['datasetName'] = ApiClient.convertToType(data['datasetName'], 'String');
- }
- if (data.hasOwnProperty('datasetUUID')) {
- obj['datasetUUID'] = ApiClient.convertToType(data['datasetUUID'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
- * @member {String} datasetName
- */
- exports.prototype['datasetName'] = undefined;
- /**
- * UUID of the dataset. This is unique identifier of a Flocker dataset
- * @member {String} datasetUUID
- */
- exports.prototype['datasetUUID'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource.js
deleted file mode 100644
index 904549fe2f..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1GCEPersistentDiskVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1GCEPersistentDiskVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1GCEPersistentDiskVolumeSource.
- * Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource
- * @class
- * @param pdName {String} Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk
- */
- var exports = function(pdName) {
- var _this = this;
-
-
-
- _this['pdName'] = pdName;
-
- };
-
- /**
- * Constructs a V1GCEPersistentDiskVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource} The populated V1GCEPersistentDiskVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('partition')) {
- obj['partition'] = ApiClient.convertToType(data['partition'], 'Number');
- }
- if (data.hasOwnProperty('pdName')) {
- obj['pdName'] = ApiClient.convertToType(data['pdName'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk
- * @member {Number} partition
- */
- exports.prototype['partition'] = undefined;
- /**
- * Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk
- * @member {String} pdName
- */
- exports.prototype['pdName'] = undefined;
- /**
- * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource.js
deleted file mode 100644
index 088c6276c7..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1GitRepoVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1GitRepoVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1GitRepoVolumeSource.
- * Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource
- * @class
- * @param repository {String} Repository URL
- */
- var exports = function(repository) {
- var _this = this;
-
-
- _this['repository'] = repository;
-
- };
-
- /**
- * Constructs a V1GitRepoVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource} The populated V1GitRepoVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('directory')) {
- obj['directory'] = ApiClient.convertToType(data['directory'], 'String');
- }
- if (data.hasOwnProperty('repository')) {
- obj['repository'] = ApiClient.convertToType(data['repository'], 'String');
- }
- if (data.hasOwnProperty('revision')) {
- obj['revision'] = ApiClient.convertToType(data['revision'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
- * @member {String} directory
- */
- exports.prototype['directory'] = undefined;
- /**
- * Repository URL
- * @member {String} repository
- */
- exports.prototype['repository'] = undefined;
- /**
- * Commit hash for the specified revision.
- * @member {String} revision
- */
- exports.prototype['revision'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource.js
deleted file mode 100644
index 45199e30ce..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1GlusterfsVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1GlusterfsVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1GlusterfsVolumeSource.
- * Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource
- * @class
- * @param endpoints {String} EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
- * @param path {String} Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
- */
- var exports = function(endpoints, path) {
- var _this = this;
-
- _this['endpoints'] = endpoints;
- _this['path'] = path;
-
- };
-
- /**
- * Constructs a V1GlusterfsVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource} The populated V1GlusterfsVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('endpoints')) {
- obj['endpoints'] = ApiClient.convertToType(data['endpoints'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
- * @member {String} endpoints
- */
- exports.prototype['endpoints'] = undefined;
- /**
- * Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
- * @member {String} path
- */
- exports.prototype['path'] = undefined;
- /**
- * ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery.js
deleted file mode 100644
index 7e16044bbb..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1GroupVersionForDiscovery = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1GroupVersionForDiscovery model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1GroupVersionForDiscovery.
- * GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery
- * @class
- * @param groupVersion {String} groupVersion specifies the API group and version in the form \"group/version\"
- * @param version {String} version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.
- */
- var exports = function(groupVersion, version) {
- var _this = this;
-
- _this['groupVersion'] = groupVersion;
- _this['version'] = version;
- };
-
- /**
- * Constructs a V1GroupVersionForDiscovery from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1GroupVersionForDiscovery} The populated V1GroupVersionForDiscovery instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('groupVersion')) {
- obj['groupVersion'] = ApiClient.convertToType(data['groupVersion'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * groupVersion specifies the API group and version in the form \"group/version\"
- * @member {String} groupVersion
- */
- exports.prototype['groupVersion'] = undefined;
- /**
- * version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.
- * @member {String} version
- */
- exports.prototype['version'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction.js
deleted file mode 100644
index 81ba9d18eb..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction.js
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1HTTPHeader'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1HTTPHeader'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1HTTPGetAction = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1HTTPHeader);
- }
-}(this, function(ApiClient, V1HTTPHeader) {
- 'use strict';
-
-
-
-
- /**
- * The V1HTTPGetAction model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1HTTPGetAction.
- * HTTPGetAction describes an action based on HTTP Get requests.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction
- * @class
- * @param port {String} Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- */
- var exports = function(port) {
- var _this = this;
-
-
-
-
- _this['port'] = port;
-
- };
-
- /**
- * Constructs a V1HTTPGetAction from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction} The populated V1HTTPGetAction instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('host')) {
- obj['host'] = ApiClient.convertToType(data['host'], 'String');
- }
- if (data.hasOwnProperty('httpHeaders')) {
- obj['httpHeaders'] = ApiClient.convertToType(data['httpHeaders'], [V1HTTPHeader]);
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'String');
- }
- if (data.hasOwnProperty('scheme')) {
- obj['scheme'] = ApiClient.convertToType(data['scheme'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.
- * @member {String} host
- */
- exports.prototype['host'] = undefined;
- /**
- * Custom headers to set in the request. HTTP allows repeated headers.
- * @member {Array.V1HTTPHeader.
- * HTTPHeader describes a custom header to be used in HTTP probes
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPHeader
- * @class
- * @param name {String} The header field name
- * @param value {String} The header field value
- */
- var exports = function(name, value) {
- var _this = this;
-
- _this['name'] = name;
- _this['value'] = value;
- };
-
- /**
- * Constructs a V1HTTPHeader from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPHeader} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPHeader} The populated V1HTTPHeader instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('value')) {
- obj['value'] = ApiClient.convertToType(data['value'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The header field name
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * The header field value
- * @member {String} value
- */
- exports.prototype['value'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Handler.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Handler.js
deleted file mode 100644
index ad92d6962c..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Handler.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ExecAction', 'io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction', 'io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ExecAction'), require('./V1HTTPGetAction'), require('./V1TCPSocketAction'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Handler = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ExecAction, root.KubernetesJsClient.V1HTTPGetAction, root.KubernetesJsClient.V1TCPSocketAction);
- }
-}(this, function(ApiClient, V1ExecAction, V1HTTPGetAction, V1TCPSocketAction) {
- 'use strict';
-
-
-
-
- /**
- * The V1Handler model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Handler
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Handler.
- * Handler defines a specific action that should be taken
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Handler
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1Handler from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Handler} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Handler} The populated V1Handler instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('exec')) {
- obj['exec'] = V1ExecAction.constructFromObject(data['exec']);
- }
- if (data.hasOwnProperty('httpGet')) {
- obj['httpGet'] = V1HTTPGetAction.constructFromObject(data['httpGet']);
- }
- if (data.hasOwnProperty('tcpSocket')) {
- obj['tcpSocket'] = V1TCPSocketAction.constructFromObject(data['tcpSocket']);
- }
- }
- return obj;
- }
-
- /**
- * One and only one of the following should be specified. Exec specifies the action to take.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ExecAction} exec
- */
- exports.prototype['exec'] = undefined;
- /**
- * HTTPGet specifies the http request to perform.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction} httpGet
- */
- exports.prototype['httpGet'] = undefined;
- /**
- * TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction} tcpSocket
- */
- exports.prototype['tcpSocket'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler.js
deleted file mode 100644
index 8098923486..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1HorizontalPodAutoscalerSpec'), require('./V1HorizontalPodAutoscalerStatus'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1HorizontalPodAutoscaler = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1HorizontalPodAutoscalerSpec, root.KubernetesJsClient.V1HorizontalPodAutoscalerStatus, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, V1HorizontalPodAutoscalerSpec, V1HorizontalPodAutoscalerStatus, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1HorizontalPodAutoscaler model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1HorizontalPodAutoscaler.
- * configuration of a horizontal pod autoscaler.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1HorizontalPodAutoscaler from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler} The populated V1HorizontalPodAutoscaler instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1HorizontalPodAutoscalerSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1HorizontalPodAutoscalerStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * current information about the autoscaler.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList.js
deleted file mode 100644
index 661a63287f..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscaler', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1HorizontalPodAutoscaler'), require('./V1ListMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1HorizontalPodAutoscalerList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1HorizontalPodAutoscaler, root.KubernetesJsClient.V1ListMeta);
- }
-}(this, function(ApiClient, V1HorizontalPodAutoscaler, V1ListMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1HorizontalPodAutoscalerList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1HorizontalPodAutoscalerList.
- * list of horizontal pod autoscaler objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList
- * @class
- * @param items {Array.V1HorizontalPodAutoscalerList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerList} The populated V1HorizontalPodAutoscalerList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1HorizontalPodAutoscaler]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * list of horizontal pod autoscaler objects.
- * @member {Array.V1HorizontalPodAutoscalerSpec.
- * specification of a horizontal pod autoscaler.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerSpec
- * @class
- * @param maxReplicas {Number} upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
- * @param scaleTargetRef {module:io.kubernetes.js/io.kubernetes.js.models/V1CrossVersionObjectReference} reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
- */
- var exports = function(maxReplicas, scaleTargetRef) {
- var _this = this;
-
- _this['maxReplicas'] = maxReplicas;
-
- _this['scaleTargetRef'] = scaleTargetRef;
-
- };
-
- /**
- * Constructs a V1HorizontalPodAutoscalerSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerSpec} The populated V1HorizontalPodAutoscalerSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('maxReplicas')) {
- obj['maxReplicas'] = ApiClient.convertToType(data['maxReplicas'], 'Number');
- }
- if (data.hasOwnProperty('minReplicas')) {
- obj['minReplicas'] = ApiClient.convertToType(data['minReplicas'], 'Number');
- }
- if (data.hasOwnProperty('scaleTargetRef')) {
- obj['scaleTargetRef'] = V1CrossVersionObjectReference.constructFromObject(data['scaleTargetRef']);
- }
- if (data.hasOwnProperty('targetCPUUtilizationPercentage')) {
- obj['targetCPUUtilizationPercentage'] = ApiClient.convertToType(data['targetCPUUtilizationPercentage'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
- * @member {Number} maxReplicas
- */
- exports.prototype['maxReplicas'] = undefined;
- /**
- * lower limit for the number of pods that can be set by the autoscaler, default 1.
- * @member {Number} minReplicas
- */
- exports.prototype['minReplicas'] = undefined;
- /**
- * reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1CrossVersionObjectReference} scaleTargetRef
- */
- exports.prototype['scaleTargetRef'] = undefined;
- /**
- * target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.
- * @member {Number} targetCPUUtilizationPercentage
- */
- exports.prototype['targetCPUUtilizationPercentage'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus.js
deleted file mode 100644
index 1093e85a15..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus.js
+++ /dev/null
@@ -1,119 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1HorizontalPodAutoscalerStatus = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1HorizontalPodAutoscalerStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1HorizontalPodAutoscalerStatus.
- * current status of a horizontal pod autoscaler
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus
- * @class
- * @param currentReplicas {Number} current number of replicas of pods managed by this autoscaler.
- * @param desiredReplicas {Number} desired number of replicas of pods managed by this autoscaler.
- */
- var exports = function(currentReplicas, desiredReplicas) {
- var _this = this;
-
-
- _this['currentReplicas'] = currentReplicas;
- _this['desiredReplicas'] = desiredReplicas;
-
-
- };
-
- /**
- * Constructs a V1HorizontalPodAutoscalerStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1HorizontalPodAutoscalerStatus} The populated V1HorizontalPodAutoscalerStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('currentCPUUtilizationPercentage')) {
- obj['currentCPUUtilizationPercentage'] = ApiClient.convertToType(data['currentCPUUtilizationPercentage'], 'Number');
- }
- if (data.hasOwnProperty('currentReplicas')) {
- obj['currentReplicas'] = ApiClient.convertToType(data['currentReplicas'], 'Number');
- }
- if (data.hasOwnProperty('desiredReplicas')) {
- obj['desiredReplicas'] = ApiClient.convertToType(data['desiredReplicas'], 'Number');
- }
- if (data.hasOwnProperty('lastScaleTime')) {
- obj['lastScaleTime'] = ApiClient.convertToType(data['lastScaleTime'], 'Date');
- }
- if (data.hasOwnProperty('observedGeneration')) {
- obj['observedGeneration'] = ApiClient.convertToType(data['observedGeneration'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
- * @member {Number} currentCPUUtilizationPercentage
- */
- exports.prototype['currentCPUUtilizationPercentage'] = undefined;
- /**
- * current number of replicas of pods managed by this autoscaler.
- * @member {Number} currentReplicas
- */
- exports.prototype['currentReplicas'] = undefined;
- /**
- * desired number of replicas of pods managed by this autoscaler.
- * @member {Number} desiredReplicas
- */
- exports.prototype['desiredReplicas'] = undefined;
- /**
- * last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
- * @member {Date} lastScaleTime
- */
- exports.prototype['lastScaleTime'] = undefined;
- /**
- * most recent generation observed by this autoscaler.
- * @member {Number} observedGeneration
- */
- exports.prototype['observedGeneration'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource.js
deleted file mode 100644
index 2c3a04e8ab..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1HostPathVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1HostPathVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1HostPathVolumeSource.
- * Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource
- * @class
- * @param path {String} Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath
- */
- var exports = function(path) {
- var _this = this;
-
- _this['path'] = path;
- };
-
- /**
- * Constructs a V1HostPathVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource} The populated V1HostPathVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath
- * @member {String} path
- */
- exports.prototype['path'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource.js
deleted file mode 100644
index 6562966fac..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource.js
+++ /dev/null
@@ -1,138 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ISCSIVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ISCSIVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ISCSIVolumeSource.
- * Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource
- * @class
- * @param iqn {String} Target iSCSI Qualified Name.
- * @param lun {Number} iSCSI target lun number.
- * @param targetPortal {String} iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- */
- var exports = function(iqn, lun, targetPortal) {
- var _this = this;
-
-
- _this['iqn'] = iqn;
-
- _this['lun'] = lun;
-
-
- _this['targetPortal'] = targetPortal;
- };
-
- /**
- * Constructs a V1ISCSIVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource} The populated V1ISCSIVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('iqn')) {
- obj['iqn'] = ApiClient.convertToType(data['iqn'], 'String');
- }
- if (data.hasOwnProperty('iscsiInterface')) {
- obj['iscsiInterface'] = ApiClient.convertToType(data['iscsiInterface'], 'String');
- }
- if (data.hasOwnProperty('lun')) {
- obj['lun'] = ApiClient.convertToType(data['lun'], 'Number');
- }
- if (data.hasOwnProperty('portals')) {
- obj['portals'] = ApiClient.convertToType(data['portals'], ['String']);
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('targetPortal')) {
- obj['targetPortal'] = ApiClient.convertToType(data['targetPortal'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * Target iSCSI Qualified Name.
- * @member {String} iqn
- */
- exports.prototype['iqn'] = undefined;
- /**
- * Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.
- * @member {String} iscsiInterface
- */
- exports.prototype['iscsiInterface'] = undefined;
- /**
- * iSCSI target lun number.
- * @member {Number} lun
- */
- exports.prototype['lun'] = undefined;
- /**
- * iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
- * @member {Array.V1Job.
- * Job represents the configuration of a single job.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Job
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Job from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Job} The populated V1Job instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1JobSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1JobStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1JobSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1JobStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobCondition.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobCondition.js
deleted file mode 100644
index 7f8679a169..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobCondition.js
+++ /dev/null
@@ -1,128 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1JobCondition = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1JobCondition model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1JobCondition
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1JobCondition.
- * JobCondition describes current state of a job.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1JobCondition
- * @class
- * @param status {String} Status of the condition, one of True, False, Unknown.
- * @param type {String} Type of job condition, Complete or Failed.
- */
- var exports = function(status, type) {
- var _this = this;
-
-
-
-
-
- _this['status'] = status;
- _this['type'] = type;
- };
-
- /**
- * Constructs a V1JobCondition from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1JobCondition} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1JobCondition} The populated V1JobCondition instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('lastProbeTime')) {
- obj['lastProbeTime'] = ApiClient.convertToType(data['lastProbeTime'], 'Date');
- }
- if (data.hasOwnProperty('lastTransitionTime')) {
- obj['lastTransitionTime'] = ApiClient.convertToType(data['lastTransitionTime'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Last time the condition was checked.
- * @member {Date} lastProbeTime
- */
- exports.prototype['lastProbeTime'] = undefined;
- /**
- * Last time the condition transit from one status to another.
- * @member {Date} lastTransitionTime
- */
- exports.prototype['lastTransitionTime'] = undefined;
- /**
- * Human readable message indicating details about last transition.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * (brief) reason for the condition's last transition.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * Status of the condition, one of True, False, Unknown.
- * @member {String} status
- */
- exports.prototype['status'] = undefined;
- /**
- * Type of job condition, Complete or Failed.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobList.js
deleted file mode 100644
index 02a3b4a9ab..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1Job', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1Job'), require('./V1ListMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1JobList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1Job, root.KubernetesJsClient.V1ListMeta);
- }
-}(this, function(ApiClient, V1Job, V1ListMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1JobList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1JobList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1JobList.
- * JobList is a collection of jobs.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1JobList
- * @class
- * @param items {Array.V1JobList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1JobList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1JobList} The populated V1JobList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1Job]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is the list of Job.
- * @member {Array.V1JobSpec.
- * JobSpec describes how the job execution will look like.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1JobSpec
- * @class
- * @param template {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs
- */
- var exports = function(template) {
- var _this = this;
-
-
-
-
-
-
- _this['template'] = template;
- };
-
- /**
- * Constructs a V1JobSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1JobSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1JobSpec} The populated V1JobSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('activeDeadlineSeconds')) {
- obj['activeDeadlineSeconds'] = ApiClient.convertToType(data['activeDeadlineSeconds'], 'Number');
- }
- if (data.hasOwnProperty('completions')) {
- obj['completions'] = ApiClient.convertToType(data['completions'], 'Number');
- }
- if (data.hasOwnProperty('manualSelector')) {
- obj['manualSelector'] = ApiClient.convertToType(data['manualSelector'], 'Boolean');
- }
- if (data.hasOwnProperty('parallelism')) {
- obj['parallelism'] = ApiClient.convertToType(data['parallelism'], 'Number');
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = V1LabelSelector.constructFromObject(data['selector']);
- }
- if (data.hasOwnProperty('template')) {
- obj['template'] = V1PodTemplateSpec.constructFromObject(data['template']);
- }
- }
- return obj;
- }
-
- /**
- * Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
- * @member {Number} activeDeadlineSeconds
- */
- exports.prototype['activeDeadlineSeconds'] = undefined;
- /**
- * Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs
- * @member {Number} completions
- */
- exports.prototype['completions'] = undefined;
- /**
- * ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md
- * @member {Boolean} manualSelector
- */
- exports.prototype['manualSelector'] = undefined;
- /**
- * Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs
- * @member {Number} parallelism
- */
- exports.prototype['parallelism'] = undefined;
- /**
- * Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} selector
- */
- exports.prototype['selector'] = undefined;
- /**
- * Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} template
- */
- exports.prototype['template'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobStatus.js
deleted file mode 100644
index eb613466f4..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1JobStatus.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1JobCondition'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1JobCondition'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1JobStatus = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1JobCondition);
- }
-}(this, function(ApiClient, V1JobCondition) {
- 'use strict';
-
-
-
-
- /**
- * The V1JobStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1JobStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1JobStatus.
- * JobStatus represents the current state of a Job.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1JobStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1JobStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1JobStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1JobStatus} The populated V1JobStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('active')) {
- obj['active'] = ApiClient.convertToType(data['active'], 'Number');
- }
- if (data.hasOwnProperty('completionTime')) {
- obj['completionTime'] = ApiClient.convertToType(data['completionTime'], 'Date');
- }
- if (data.hasOwnProperty('conditions')) {
- obj['conditions'] = ApiClient.convertToType(data['conditions'], [V1JobCondition]);
- }
- if (data.hasOwnProperty('failed')) {
- obj['failed'] = ApiClient.convertToType(data['failed'], 'Number');
- }
- if (data.hasOwnProperty('startTime')) {
- obj['startTime'] = ApiClient.convertToType(data['startTime'], 'Date');
- }
- if (data.hasOwnProperty('succeeded')) {
- obj['succeeded'] = ApiClient.convertToType(data['succeeded'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * Active is the number of actively running pods.
- * @member {Number} active
- */
- exports.prototype['active'] = undefined;
- /**
- * CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
- * @member {Date} completionTime
- */
- exports.prototype['completionTime'] = undefined;
- /**
- * Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs
- * @member {Array.V1KeyToPath.
- * Maps a string key to a path within a volume.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1KeyToPath
- * @class
- * @param key {String} The key to project.
- * @param path {String} The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
- */
- var exports = function(key, path) {
- var _this = this;
-
- _this['key'] = key;
-
- _this['path'] = path;
- };
-
- /**
- * Constructs a V1KeyToPath from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1KeyToPath} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1KeyToPath} The populated V1KeyToPath instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('key')) {
- obj['key'] = ApiClient.convertToType(data['key'], 'String');
- }
- if (data.hasOwnProperty('mode')) {
- obj['mode'] = ApiClient.convertToType(data['mode'], 'Number');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The key to project.
- * @member {String} key
- */
- exports.prototype['key'] = undefined;
- /**
- * Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- * @member {Number} mode
- */
- exports.prototype['mode'] = undefined;
- /**
- * The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
- * @member {String} path
- */
- exports.prototype['path'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector.js
deleted file mode 100644
index 19ca329eaf..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1LabelSelectorRequirement'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1LabelSelectorRequirement'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1LabelSelector = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1LabelSelectorRequirement);
- }
-}(this, function(ApiClient, V1LabelSelectorRequirement) {
- 'use strict';
-
-
-
-
- /**
- * The V1LabelSelector model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1LabelSelector.
- * A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1LabelSelector from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} The populated V1LabelSelector instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('matchExpressions')) {
- obj['matchExpressions'] = ApiClient.convertToType(data['matchExpressions'], [V1LabelSelectorRequirement]);
- }
- if (data.hasOwnProperty('matchLabels')) {
- obj['matchLabels'] = ApiClient.convertToType(data['matchLabels'], {'String': 'String'});
- }
- }
- return obj;
- }
-
- /**
- * matchExpressions is a list of label selector requirements. The requirements are ANDed.
- * @member {Array.V1LabelSelectorRequirement.
- * A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelectorRequirement
- * @class
- * @param key {String} key is the label key that the selector applies to.
- * @param operator {String} operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.
- */
- var exports = function(key, operator) {
- var _this = this;
-
- _this['key'] = key;
- _this['operator'] = operator;
-
- };
-
- /**
- * Constructs a V1LabelSelectorRequirement from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelectorRequirement} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelectorRequirement} The populated V1LabelSelectorRequirement instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('key')) {
- obj['key'] = ApiClient.convertToType(data['key'], 'String');
- }
- if (data.hasOwnProperty('operator')) {
- obj['operator'] = ApiClient.convertToType(data['operator'], 'String');
- }
- if (data.hasOwnProperty('values')) {
- obj['values'] = ApiClient.convertToType(data['values'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * key is the label key that the selector applies to.
- * @member {String} key
- */
- exports.prototype['key'] = undefined;
- /**
- * operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.
- * @member {String} operator
- */
- exports.prototype['operator'] = undefined;
- /**
- * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- * @member {Array.V1Lifecycle.
- * Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Lifecycle
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1Lifecycle from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Lifecycle} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Lifecycle} The populated V1Lifecycle instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('postStart')) {
- obj['postStart'] = V1Handler.constructFromObject(data['postStart']);
- }
- if (data.hasOwnProperty('preStop')) {
- obj['preStop'] = V1Handler.constructFromObject(data['preStop']);
- }
- }
- return obj;
- }
-
- /**
- * PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1Handler} postStart
- */
- exports.prototype['postStart'] = undefined;
- /**
- * PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1Handler} preStop
- */
- exports.prototype['preStop'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LimitRange.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LimitRange.js
deleted file mode 100644
index 89d6bee84d..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LimitRange.js
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1LimitRangeSpec'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1LimitRange = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1LimitRangeSpec, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, V1LimitRangeSpec, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1LimitRange model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1LimitRange
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1LimitRange.
- * LimitRange sets resource usage limits for each kind of resource in a Namespace.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1LimitRange from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRange} The populated V1LimitRange instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1LimitRangeSpec.constructFromObject(data['spec']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeSpec} spec
- */
- exports.prototype['spec'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem.js
deleted file mode 100644
index b8c235e826..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1LimitRangeItem = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1LimitRangeItem model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1LimitRangeItem.
- * LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1LimitRangeItem from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeItem} The populated V1LimitRangeItem instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('default')) {
- obj['default'] = ApiClient.convertToType(data['default'], {'String': 'String'});
- }
- if (data.hasOwnProperty('defaultRequest')) {
- obj['defaultRequest'] = ApiClient.convertToType(data['defaultRequest'], {'String': 'String'});
- }
- if (data.hasOwnProperty('max')) {
- obj['max'] = ApiClient.convertToType(data['max'], {'String': 'String'});
- }
- if (data.hasOwnProperty('maxLimitRequestRatio')) {
- obj['maxLimitRequestRatio'] = ApiClient.convertToType(data['maxLimitRequestRatio'], {'String': 'String'});
- }
- if (data.hasOwnProperty('min')) {
- obj['min'] = ApiClient.convertToType(data['min'], {'String': 'String'});
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Default resource requirement limit value by resource name if resource limit is omitted.
- * @member {Object.V1LimitRangeList.
- * LimitRangeList is a list of LimitRange items.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList
- * @class
- * @param items {Array.V1LimitRangeList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeList} The populated V1LimitRangeList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1LimitRange]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md
- * @member {Array.V1LimitRangeSpec.
- * LimitRangeSpec defines a min/max usage limit for resources that match on kind.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeSpec
- * @class
- * @param limits {Array.V1LimitRangeSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LimitRangeSpec} The populated V1LimitRangeSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('limits')) {
- obj['limits'] = ApiClient.convertToType(data['limits'], [V1LimitRangeItem]);
- }
- }
- return obj;
- }
-
- /**
- * Limits is the list of LimitRangeItem objects that are enforced.
- * @member {Array.V1ListMeta.
- * ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ListMeta
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1ListMeta from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ListMeta} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ListMeta} The populated V1ListMeta instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('resourceVersion')) {
- obj['resourceVersion'] = ApiClient.convertToType(data['resourceVersion'], 'String');
- }
- if (data.hasOwnProperty('selfLink')) {
- obj['selfLink'] = ApiClient.convertToType(data['selfLink'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency
- * @member {String} resourceVersion
- */
- exports.prototype['resourceVersion'] = undefined;
- /**
- * SelfLink is a URL representing this object. Populated by the system. Read-only.
- * @member {String} selfLink
- */
- exports.prototype['selfLink'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress.js
deleted file mode 100644
index 9f4404927c..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1LoadBalancerIngress = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1LoadBalancerIngress model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1LoadBalancerIngress.
- * LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1LoadBalancerIngress from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress} The populated V1LoadBalancerIngress instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('hostname')) {
- obj['hostname'] = ApiClient.convertToType(data['hostname'], 'String');
- }
- if (data.hasOwnProperty('ip')) {
- obj['ip'] = ApiClient.convertToType(data['ip'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)
- * @member {String} hostname
- */
- exports.prototype['hostname'] = undefined;
- /**
- * IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)
- * @member {String} ip
- */
- exports.prototype['ip'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus.js
deleted file mode 100644
index 13875856bd..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerIngress'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1LoadBalancerIngress'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1LoadBalancerStatus = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1LoadBalancerIngress);
- }
-}(this, function(ApiClient, V1LoadBalancerIngress) {
- 'use strict';
-
-
-
-
- /**
- * The V1LoadBalancerStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1LoadBalancerStatus.
- * LoadBalancerStatus represents the status of a load-balancer.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1LoadBalancerStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus} The populated V1LoadBalancerStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('ingress')) {
- obj['ingress'] = ApiClient.convertToType(data['ingress'], [V1LoadBalancerIngress]);
- }
- }
- return obj;
- }
-
- /**
- * Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.
- * @member {Array.V1LocalObjectReference.
- * LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1LocalObjectReference from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference} The populated V1LocalObjectReference instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview.js
deleted file mode 100644
index 4ed84753fa..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1SubjectAccessReviewSpec'), require('./V1SubjectAccessReviewStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1LocalSubjectAccessReview = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1SubjectAccessReviewSpec, root.KubernetesJsClient.V1SubjectAccessReviewStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1SubjectAccessReviewSpec, V1SubjectAccessReviewStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1LocalSubjectAccessReview model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1LocalSubjectAccessReview.
- * LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview
- * @class
- * @param spec {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec} Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
- */
- var exports = function(spec) {
- var _this = this;
-
-
-
-
- _this['spec'] = spec;
-
- };
-
- /**
- * Constructs a V1LocalSubjectAccessReview from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalSubjectAccessReview} The populated V1LocalSubjectAccessReview instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1SubjectAccessReviewSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1SubjectAccessReviewStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status is filled in by the server and indicates whether the request is allowed or not
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource.js
deleted file mode 100644
index 8ef3145566..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1NFSVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1NFSVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1NFSVolumeSource.
- * Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource
- * @class
- * @param path {String} Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs
- * @param server {String} Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs
- */
- var exports = function(path, server) {
- var _this = this;
-
- _this['path'] = path;
-
- _this['server'] = server;
- };
-
- /**
- * Constructs a V1NFSVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource} The populated V1NFSVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('server')) {
- obj['server'] = ApiClient.convertToType(data['server'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs
- * @member {String} path
- */
- exports.prototype['path'] = undefined;
- /**
- * ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs
- * @member {String} server
- */
- exports.prototype['server'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Namespace.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Namespace.js
deleted file mode 100644
index b002835972..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Namespace.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1NamespaceSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1NamespaceStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1NamespaceSpec'), require('./V1NamespaceStatus'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Namespace = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1NamespaceSpec, root.KubernetesJsClient.V1NamespaceStatus, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, V1NamespaceSpec, V1NamespaceStatus, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1Namespace model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Namespace
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Namespace.
- * Namespace provides a scope for Names. Use of multiple namespaces is optional.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Namespace from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Namespace} The populated V1Namespace instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1NamespaceSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1NamespaceStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList.js
deleted file mode 100644
index 9063b3c10a..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1Namespace'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1Namespace'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1NamespaceList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1Namespace);
- }
-}(this, function(ApiClient, V1ListMeta, V1Namespace) {
- 'use strict';
-
-
-
-
- /**
- * The V1NamespaceList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1NamespaceList.
- * NamespaceList is a list of Namespaces.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList
- * @class
- * @param items {Array.V1NamespaceList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceList} The populated V1NamespaceList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1Namespace]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces
- * @member {Array.V1NamespaceSpec.
- * NamespaceSpec describes the attributes on a Namespace.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1NamespaceSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceSpec} The populated V1NamespaceSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('finalizers')) {
- obj['finalizers'] = ApiClient.convertToType(data['finalizers'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers
- * @member {Array.V1NamespaceStatus.
- * NamespaceStatus is information about the current status of a Namespace.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1NamespaceStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NamespaceStatus} The populated V1NamespaceStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('phase')) {
- obj['phase'] = ApiClient.convertToType(data['phase'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases
- * @member {String} phase
- */
- exports.prototype['phase'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Node.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Node.js
deleted file mode 100644
index 09e3ef086b..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Node.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeStatus', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1NodeSpec'), require('./V1NodeStatus'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Node = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1NodeSpec, root.KubernetesJsClient.V1NodeStatus, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, V1NodeSpec, V1NodeStatus, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1Node model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Node
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Node.
- * Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Node
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Node from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Node} The populated V1Node instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1NodeSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1NodeStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress.js
deleted file mode 100644
index 3025f62285..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1NodeAddress = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1NodeAddress model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1NodeAddress.
- * NodeAddress contains information for the node's address.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress
- * @class
- * @param address {String} The node address.
- * @param type {String} Node address type, one of Hostname, ExternalIP or InternalIP.
- */
- var exports = function(address, type) {
- var _this = this;
-
- _this['address'] = address;
- _this['type'] = type;
- };
-
- /**
- * Constructs a V1NodeAddress from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAddress} The populated V1NodeAddress instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('address')) {
- obj['address'] = ApiClient.convertToType(data['address'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The node address.
- * @member {String} address
- */
- exports.prototype['address'] = undefined;
- /**
- * Node address type, one of Hostname, ExternalIP or InternalIP.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity.js
deleted file mode 100644
index d5931c942c..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeSelector', 'io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1NodeSelector'), require('./V1PreferredSchedulingTerm'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1NodeAffinity = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1NodeSelector, root.KubernetesJsClient.V1PreferredSchedulingTerm);
- }
-}(this, function(ApiClient, V1NodeSelector, V1PreferredSchedulingTerm) {
- 'use strict';
-
-
-
-
- /**
- * The V1NodeAffinity model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1NodeAffinity.
- * Node affinity is a group of node affinity scheduling rules.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1NodeAffinity from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeAffinity} The populated V1NodeAffinity instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('preferredDuringSchedulingIgnoredDuringExecution')) {
- obj['preferredDuringSchedulingIgnoredDuringExecution'] = ApiClient.convertToType(data['preferredDuringSchedulingIgnoredDuringExecution'], [V1PreferredSchedulingTerm]);
- }
- if (data.hasOwnProperty('requiredDuringSchedulingIgnoredDuringExecution')) {
- obj['requiredDuringSchedulingIgnoredDuringExecution'] = V1NodeSelector.constructFromObject(data['requiredDuringSchedulingIgnoredDuringExecution']);
- }
- }
- return obj;
- }
-
- /**
- * The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
- * @member {Array.V1NodeCondition.
- * NodeCondition contains condition information for a node.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeCondition
- * @class
- * @param status {String} Status of the condition, one of True, False, Unknown.
- * @param type {String} Type of node condition.
- */
- var exports = function(status, type) {
- var _this = this;
-
-
-
-
-
- _this['status'] = status;
- _this['type'] = type;
- };
-
- /**
- * Constructs a V1NodeCondition from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeCondition} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeCondition} The populated V1NodeCondition instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('lastHeartbeatTime')) {
- obj['lastHeartbeatTime'] = ApiClient.convertToType(data['lastHeartbeatTime'], 'Date');
- }
- if (data.hasOwnProperty('lastTransitionTime')) {
- obj['lastTransitionTime'] = ApiClient.convertToType(data['lastTransitionTime'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Last time we got an update on a given condition.
- * @member {Date} lastHeartbeatTime
- */
- exports.prototype['lastHeartbeatTime'] = undefined;
- /**
- * Last time the condition transit from one status to another.
- * @member {Date} lastTransitionTime
- */
- exports.prototype['lastTransitionTime'] = undefined;
- /**
- * Human readable message indicating details about last transition.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * (brief) reason for the condition's last transition.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * Status of the condition, one of True, False, Unknown.
- * @member {String} status
- */
- exports.prototype['status'] = undefined;
- /**
- * Type of node condition.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints.js
deleted file mode 100644
index 3e0b84ab86..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1DaemonEndpoint'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1NodeDaemonEndpoints = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1DaemonEndpoint);
- }
-}(this, function(ApiClient, V1DaemonEndpoint) {
- 'use strict';
-
-
-
-
- /**
- * The V1NodeDaemonEndpoints model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1NodeDaemonEndpoints.
- * NodeDaemonEndpoints lists ports opened by daemons running on the Node.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1NodeDaemonEndpoints from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeDaemonEndpoints} The populated V1NodeDaemonEndpoints instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('kubeletEndpoint')) {
- obj['kubeletEndpoint'] = V1DaemonEndpoint.constructFromObject(data['kubeletEndpoint']);
- }
- }
- return obj;
- }
-
- /**
- * Endpoint on which Kubelet is listening.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1DaemonEndpoint} kubeletEndpoint
- */
- exports.prototype['kubeletEndpoint'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeList.js
deleted file mode 100644
index 2fe8cd94f6..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NodeList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1Node'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1Node'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1NodeList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1Node);
- }
-}(this, function(ApiClient, V1ListMeta, V1Node) {
- 'use strict';
-
-
-
-
- /**
- * The V1NodeList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1NodeList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1NodeList.
- * NodeList is the whole list of all Nodes which have been registered with master.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeList
- * @class
- * @param items {Array.V1NodeList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeList} The populated V1NodeList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1Node]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of nodes
- * @member {Array.V1NodeSelector.
- * A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelector
- * @class
- * @param nodeSelectorTerms {Array.V1NodeSelector from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelector} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelector} The populated V1NodeSelector instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('nodeSelectorTerms')) {
- obj['nodeSelectorTerms'] = ApiClient.convertToType(data['nodeSelectorTerms'], [V1NodeSelectorTerm]);
- }
- }
- return obj;
- }
-
- /**
- * Required. A list of node selector terms. The terms are ORed.
- * @member {Array.V1NodeSelectorRequirement.
- * A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorRequirement
- * @class
- * @param key {String} The label key that the selector applies to.
- * @param operator {String} Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- */
- var exports = function(key, operator) {
- var _this = this;
-
- _this['key'] = key;
- _this['operator'] = operator;
-
- };
-
- /**
- * Constructs a V1NodeSelectorRequirement from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorRequirement} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorRequirement} The populated V1NodeSelectorRequirement instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('key')) {
- obj['key'] = ApiClient.convertToType(data['key'], 'String');
- }
- if (data.hasOwnProperty('operator')) {
- obj['operator'] = ApiClient.convertToType(data['operator'], 'String');
- }
- if (data.hasOwnProperty('values')) {
- obj['values'] = ApiClient.convertToType(data['values'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * The label key that the selector applies to.
- * @member {String} key
- */
- exports.prototype['key'] = undefined;
- /**
- * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- * @member {String} operator
- */
- exports.prototype['operator'] = undefined;
- /**
- * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- * @member {Array.V1NodeSelectorTerm.
- * A null or empty node selector term matches no objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorTerm
- * @class
- * @param matchExpressions {Array.V1NodeSelectorTerm from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorTerm} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorTerm} The populated V1NodeSelectorTerm instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('matchExpressions')) {
- obj['matchExpressions'] = ApiClient.convertToType(data['matchExpressions'], [V1NodeSelectorRequirement]);
- }
- }
- return obj;
- }
-
- /**
- * Required. A list of node selector requirements. The requirements are ANDed.
- * @member {Array.V1NodeSpec.
- * NodeSpec describes the attributes that a node is created with.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1NodeSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSpec} The populated V1NodeSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('externalID')) {
- obj['externalID'] = ApiClient.convertToType(data['externalID'], 'String');
- }
- if (data.hasOwnProperty('podCIDR')) {
- obj['podCIDR'] = ApiClient.convertToType(data['podCIDR'], 'String');
- }
- if (data.hasOwnProperty('providerID')) {
- obj['providerID'] = ApiClient.convertToType(data['providerID'], 'String');
- }
- if (data.hasOwnProperty('taints')) {
- obj['taints'] = ApiClient.convertToType(data['taints'], [V1Taint]);
- }
- if (data.hasOwnProperty('unschedulable')) {
- obj['unschedulable'] = ApiClient.convertToType(data['unschedulable'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.
- * @member {String} externalID
- */
- exports.prototype['externalID'] = undefined;
- /**
- * PodCIDR represents the pod IP range assigned to the node.
- * @member {String} podCIDR
- */
- exports.prototype['podCIDR'] = undefined;
- /**
- * ID of the node assigned by the cloud provider in the format: V1NodeStatus.
- * NodeStatus is information about the current status of a node.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1NodeStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeStatus} The populated V1NodeStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('addresses')) {
- obj['addresses'] = ApiClient.convertToType(data['addresses'], [V1NodeAddress]);
- }
- if (data.hasOwnProperty('allocatable')) {
- obj['allocatable'] = ApiClient.convertToType(data['allocatable'], {'String': 'String'});
- }
- if (data.hasOwnProperty('capacity')) {
- obj['capacity'] = ApiClient.convertToType(data['capacity'], {'String': 'String'});
- }
- if (data.hasOwnProperty('conditions')) {
- obj['conditions'] = ApiClient.convertToType(data['conditions'], [V1NodeCondition]);
- }
- if (data.hasOwnProperty('daemonEndpoints')) {
- obj['daemonEndpoints'] = V1NodeDaemonEndpoints.constructFromObject(data['daemonEndpoints']);
- }
- if (data.hasOwnProperty('images')) {
- obj['images'] = ApiClient.convertToType(data['images'], [V1ContainerImage]);
- }
- if (data.hasOwnProperty('nodeInfo')) {
- obj['nodeInfo'] = V1NodeSystemInfo.constructFromObject(data['nodeInfo']);
- }
- if (data.hasOwnProperty('phase')) {
- obj['phase'] = ApiClient.convertToType(data['phase'], 'String');
- }
- if (data.hasOwnProperty('volumesAttached')) {
- obj['volumesAttached'] = ApiClient.convertToType(data['volumesAttached'], [V1AttachedVolume]);
- }
- if (data.hasOwnProperty('volumesInUse')) {
- obj['volumesInUse'] = ApiClient.convertToType(data['volumesInUse'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses
- * @member {Array.V1NodeSystemInfo.
- * NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSystemInfo
- * @class
- * @param architecture {String} The Architecture reported by the node
- * @param bootID {String} Boot ID reported by the node.
- * @param containerRuntimeVersion {String} ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).
- * @param kernelVersion {String} Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
- * @param kubeProxyVersion {String} KubeProxy Version reported by the node.
- * @param kubeletVersion {String} Kubelet Version reported by the node.
- * @param machineID {String} MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
- * @param operatingSystem {String} The Operating System reported by the node
- * @param osImage {String} OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
- * @param systemUUID {String} SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
- */
- var exports = function(architecture, bootID, containerRuntimeVersion, kernelVersion, kubeProxyVersion, kubeletVersion, machineID, operatingSystem, osImage, systemUUID) {
- var _this = this;
-
- _this['architecture'] = architecture;
- _this['bootID'] = bootID;
- _this['containerRuntimeVersion'] = containerRuntimeVersion;
- _this['kernelVersion'] = kernelVersion;
- _this['kubeProxyVersion'] = kubeProxyVersion;
- _this['kubeletVersion'] = kubeletVersion;
- _this['machineID'] = machineID;
- _this['operatingSystem'] = operatingSystem;
- _this['osImage'] = osImage;
- _this['systemUUID'] = systemUUID;
- };
-
- /**
- * Constructs a V1NodeSystemInfo from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSystemInfo} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSystemInfo} The populated V1NodeSystemInfo instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('architecture')) {
- obj['architecture'] = ApiClient.convertToType(data['architecture'], 'String');
- }
- if (data.hasOwnProperty('bootID')) {
- obj['bootID'] = ApiClient.convertToType(data['bootID'], 'String');
- }
- if (data.hasOwnProperty('containerRuntimeVersion')) {
- obj['containerRuntimeVersion'] = ApiClient.convertToType(data['containerRuntimeVersion'], 'String');
- }
- if (data.hasOwnProperty('kernelVersion')) {
- obj['kernelVersion'] = ApiClient.convertToType(data['kernelVersion'], 'String');
- }
- if (data.hasOwnProperty('kubeProxyVersion')) {
- obj['kubeProxyVersion'] = ApiClient.convertToType(data['kubeProxyVersion'], 'String');
- }
- if (data.hasOwnProperty('kubeletVersion')) {
- obj['kubeletVersion'] = ApiClient.convertToType(data['kubeletVersion'], 'String');
- }
- if (data.hasOwnProperty('machineID')) {
- obj['machineID'] = ApiClient.convertToType(data['machineID'], 'String');
- }
- if (data.hasOwnProperty('operatingSystem')) {
- obj['operatingSystem'] = ApiClient.convertToType(data['operatingSystem'], 'String');
- }
- if (data.hasOwnProperty('osImage')) {
- obj['osImage'] = ApiClient.convertToType(data['osImage'], 'String');
- }
- if (data.hasOwnProperty('systemUUID')) {
- obj['systemUUID'] = ApiClient.convertToType(data['systemUUID'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The Architecture reported by the node
- * @member {String} architecture
- */
- exports.prototype['architecture'] = undefined;
- /**
- * Boot ID reported by the node.
- * @member {String} bootID
- */
- exports.prototype['bootID'] = undefined;
- /**
- * ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).
- * @member {String} containerRuntimeVersion
- */
- exports.prototype['containerRuntimeVersion'] = undefined;
- /**
- * Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
- * @member {String} kernelVersion
- */
- exports.prototype['kernelVersion'] = undefined;
- /**
- * KubeProxy Version reported by the node.
- * @member {String} kubeProxyVersion
- */
- exports.prototype['kubeProxyVersion'] = undefined;
- /**
- * Kubelet Version reported by the node.
- * @member {String} kubeletVersion
- */
- exports.prototype['kubeletVersion'] = undefined;
- /**
- * MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
- * @member {String} machineID
- */
- exports.prototype['machineID'] = undefined;
- /**
- * The Operating System reported by the node
- * @member {String} operatingSystem
- */
- exports.prototype['operatingSystem'] = undefined;
- /**
- * OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
- * @member {String} osImage
- */
- exports.prototype['osImage'] = undefined;
- /**
- * SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
- * @member {String} systemUUID
- */
- exports.prototype['systemUUID'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes.js
deleted file mode 100644
index 93c409481e..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1NonResourceAttributes = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1NonResourceAttributes model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1NonResourceAttributes.
- * NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1NonResourceAttributes from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes} The populated V1NonResourceAttributes instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('verb')) {
- obj['verb'] = ApiClient.convertToType(data['verb'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Path is the URL path of the request
- * @member {String} path
- */
- exports.prototype['path'] = undefined;
- /**
- * Verb is the standard HTTP verb
- * @member {String} verb
- */
- exports.prototype['verb'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector.js
deleted file mode 100644
index 9dabda5d25..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector.js
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ObjectFieldSelector = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ObjectFieldSelector model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ObjectFieldSelector.
- * ObjectFieldSelector selects an APIVersioned field of an object.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector
- * @class
- * @param fieldPath {String} Path of the field to select in the specified API version.
- */
- var exports = function(fieldPath) {
- var _this = this;
-
-
- _this['fieldPath'] = fieldPath;
- };
-
- /**
- * Constructs a V1ObjectFieldSelector from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectFieldSelector} The populated V1ObjectFieldSelector instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('fieldPath')) {
- obj['fieldPath'] = ApiClient.convertToType(data['fieldPath'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Version of the schema the FieldPath is written in terms of, defaults to \"v1\".
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Path of the field to select in the specified API version.
- * @member {String} fieldPath
- */
- exports.prototype['fieldPath'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta.js
deleted file mode 100644
index 8c5d6578d5..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta.js
+++ /dev/null
@@ -1,207 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1OwnerReference'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ObjectMeta = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1OwnerReference);
- }
-}(this, function(ApiClient, V1OwnerReference) {
- 'use strict';
-
-
-
-
- /**
- * The V1ObjectMeta model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ObjectMeta.
- * ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ObjectMeta from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} The populated V1ObjectMeta instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('annotations')) {
- obj['annotations'] = ApiClient.convertToType(data['annotations'], {'String': 'String'});
- }
- if (data.hasOwnProperty('clusterName')) {
- obj['clusterName'] = ApiClient.convertToType(data['clusterName'], 'String');
- }
- if (data.hasOwnProperty('creationTimestamp')) {
- obj['creationTimestamp'] = ApiClient.convertToType(data['creationTimestamp'], 'Date');
- }
- if (data.hasOwnProperty('deletionGracePeriodSeconds')) {
- obj['deletionGracePeriodSeconds'] = ApiClient.convertToType(data['deletionGracePeriodSeconds'], 'Number');
- }
- if (data.hasOwnProperty('deletionTimestamp')) {
- obj['deletionTimestamp'] = ApiClient.convertToType(data['deletionTimestamp'], 'Date');
- }
- if (data.hasOwnProperty('finalizers')) {
- obj['finalizers'] = ApiClient.convertToType(data['finalizers'], ['String']);
- }
- if (data.hasOwnProperty('generateName')) {
- obj['generateName'] = ApiClient.convertToType(data['generateName'], 'String');
- }
- if (data.hasOwnProperty('generation')) {
- obj['generation'] = ApiClient.convertToType(data['generation'], 'Number');
- }
- if (data.hasOwnProperty('labels')) {
- obj['labels'] = ApiClient.convertToType(data['labels'], {'String': 'String'});
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('namespace')) {
- obj['namespace'] = ApiClient.convertToType(data['namespace'], 'String');
- }
- if (data.hasOwnProperty('ownerReferences')) {
- obj['ownerReferences'] = ApiClient.convertToType(data['ownerReferences'], [V1OwnerReference]);
- }
- if (data.hasOwnProperty('resourceVersion')) {
- obj['resourceVersion'] = ApiClient.convertToType(data['resourceVersion'], 'String');
- }
- if (data.hasOwnProperty('selfLink')) {
- obj['selfLink'] = ApiClient.convertToType(data['selfLink'], 'String');
- }
- if (data.hasOwnProperty('uid')) {
- obj['uid'] = ApiClient.convertToType(data['uid'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
- * @member {Object.V1ObjectReference.
- * ObjectReference contains enough information to let you inspect or modify the referred object.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ObjectReference from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference} The populated V1ObjectReference instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('fieldPath')) {
- obj['fieldPath'] = ApiClient.convertToType(data['fieldPath'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('namespace')) {
- obj['namespace'] = ApiClient.convertToType(data['namespace'], 'String');
- }
- if (data.hasOwnProperty('resourceVersion')) {
- obj['resourceVersion'] = ApiClient.convertToType(data['resourceVersion'], 'String');
- }
- if (data.hasOwnProperty('uid')) {
- obj['uid'] = ApiClient.convertToType(data['uid'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * API version of the referent.
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.
- * @member {String} fieldPath
- */
- exports.prototype['fieldPath'] = undefined;
- /**
- * Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces
- * @member {String} namespace
- */
- exports.prototype['namespace'] = undefined;
- /**
- * Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency
- * @member {String} resourceVersion
- */
- exports.prototype['resourceVersion'] = undefined;
- /**
- * UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- * @member {String} uid
- */
- exports.prototype['uid'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference.js
deleted file mode 100644
index 92ecfb3677..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference.js
+++ /dev/null
@@ -1,130 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1OwnerReference = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1OwnerReference model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1OwnerReference.
- * OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference
- * @class
- * @param apiVersion {String} API version of the referent.
- * @param kind {String} Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @param name {String} Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @param uid {String} UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- */
- var exports = function(apiVersion, kind, name, uid) {
- var _this = this;
-
- _this['apiVersion'] = apiVersion;
-
-
- _this['kind'] = kind;
- _this['name'] = name;
- _this['uid'] = uid;
- };
-
- /**
- * Constructs a V1OwnerReference from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1OwnerReference} The populated V1OwnerReference instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('blockOwnerDeletion')) {
- obj['blockOwnerDeletion'] = ApiClient.convertToType(data['blockOwnerDeletion'], 'Boolean');
- }
- if (data.hasOwnProperty('controller')) {
- obj['controller'] = ApiClient.convertToType(data['controller'], 'Boolean');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('uid')) {
- obj['uid'] = ApiClient.convertToType(data['uid'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * API version of the referent.
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
- * @member {Boolean} blockOwnerDeletion
- */
- exports.prototype['blockOwnerDeletion'] = undefined;
- /**
- * If true, this reference points to the managing controller.
- * @member {Boolean} controller
- */
- exports.prototype['controller'] = undefined;
- /**
- * Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- * @member {String} uid
- */
- exports.prototype['uid'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume.js
deleted file mode 100644
index 35327a3089..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1PersistentVolumeSpec'), require('./V1PersistentVolumeStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PersistentVolume = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1PersistentVolumeSpec, root.KubernetesJsClient.V1PersistentVolumeStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1PersistentVolumeSpec, V1PersistentVolumeStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1PersistentVolume model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PersistentVolume.
- * PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1PersistentVolume from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume} The populated V1PersistentVolume instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1PersistentVolumeSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1PersistentVolumeStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim.js
deleted file mode 100644
index 53a38163cc..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1PersistentVolumeClaimSpec'), require('./V1PersistentVolumeClaimStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PersistentVolumeClaim = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1PersistentVolumeClaimSpec, root.KubernetesJsClient.V1PersistentVolumeClaimStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1PersistentVolumeClaimSpec, V1PersistentVolumeClaimStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1PersistentVolumeClaim model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PersistentVolumeClaim.
- * PersistentVolumeClaim is a user's request for and claim to a persistent volume
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1PersistentVolumeClaim from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim} The populated V1PersistentVolumeClaim instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1PersistentVolumeClaimSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1PersistentVolumeClaimStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList.js
deleted file mode 100644
index 1770874ebd..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaim'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1PersistentVolumeClaim'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PersistentVolumeClaimList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1PersistentVolumeClaim);
- }
-}(this, function(ApiClient, V1ListMeta, V1PersistentVolumeClaim) {
- 'use strict';
-
-
-
-
- /**
- * The V1PersistentVolumeClaimList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PersistentVolumeClaimList.
- * PersistentVolumeClaimList is a list of PersistentVolumeClaim items.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList
- * @class
- * @param items {Array.V1PersistentVolumeClaimList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimList} The populated V1PersistentVolumeClaimList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1PersistentVolumeClaim]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
- * @member {Array.V1PersistentVolumeClaimSpec.
- * PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1PersistentVolumeClaimSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimSpec} The populated V1PersistentVolumeClaimSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('accessModes')) {
- obj['accessModes'] = ApiClient.convertToType(data['accessModes'], ['String']);
- }
- if (data.hasOwnProperty('resources')) {
- obj['resources'] = V1ResourceRequirements.constructFromObject(data['resources']);
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = V1LabelSelector.constructFromObject(data['selector']);
- }
- if (data.hasOwnProperty('storageClassName')) {
- obj['storageClassName'] = ApiClient.convertToType(data['storageClassName'], 'String');
- }
- if (data.hasOwnProperty('volumeName')) {
- obj['volumeName'] = ApiClient.convertToType(data['volumeName'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1
- * @member {Array.V1PersistentVolumeClaimStatus.
- * PersistentVolumeClaimStatus is the current status of a persistent volume claim.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1PersistentVolumeClaimStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimStatus} The populated V1PersistentVolumeClaimStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('accessModes')) {
- obj['accessModes'] = ApiClient.convertToType(data['accessModes'], ['String']);
- }
- if (data.hasOwnProperty('capacity')) {
- obj['capacity'] = ApiClient.convertToType(data['capacity'], {'String': 'String'});
- }
- if (data.hasOwnProperty('phase')) {
- obj['phase'] = ApiClient.convertToType(data['phase'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1
- * @member {Array.V1PersistentVolumeClaimVolumeSource.
- * PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimVolumeSource
- * @class
- * @param claimName {String} ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
- */
- var exports = function(claimName) {
- var _this = this;
-
- _this['claimName'] = claimName;
-
- };
-
- /**
- * Constructs a V1PersistentVolumeClaimVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimVolumeSource} The populated V1PersistentVolumeClaimVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('claimName')) {
- obj['claimName'] = ApiClient.convertToType(data['claimName'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
- * @member {String} claimName
- */
- exports.prototype['claimName'] = undefined;
- /**
- * Will force the ReadOnly setting in VolumeMounts. Default false.
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList.js
deleted file mode 100644
index eafd39ac54..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolume'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1PersistentVolume'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PersistentVolumeList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1PersistentVolume);
- }
-}(this, function(ApiClient, V1ListMeta, V1PersistentVolume) {
- 'use strict';
-
-
-
-
- /**
- * The V1PersistentVolumeList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PersistentVolumeList.
- * PersistentVolumeList is a list of PersistentVolume items.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList
- * @class
- * @param items {Array.V1PersistentVolumeList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeList} The populated V1PersistentVolumeList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1PersistentVolume]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes
- * @member {Array.V1PersistentVolumeSpec.
- * PersistentVolumeSpec is the specification of a persistent volume.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1PersistentVolumeSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeSpec} The populated V1PersistentVolumeSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('accessModes')) {
- obj['accessModes'] = ApiClient.convertToType(data['accessModes'], ['String']);
- }
- if (data.hasOwnProperty('awsElasticBlockStore')) {
- obj['awsElasticBlockStore'] = V1AWSElasticBlockStoreVolumeSource.constructFromObject(data['awsElasticBlockStore']);
- }
- if (data.hasOwnProperty('azureDisk')) {
- obj['azureDisk'] = V1AzureDiskVolumeSource.constructFromObject(data['azureDisk']);
- }
- if (data.hasOwnProperty('azureFile')) {
- obj['azureFile'] = V1AzureFileVolumeSource.constructFromObject(data['azureFile']);
- }
- if (data.hasOwnProperty('capacity')) {
- obj['capacity'] = ApiClient.convertToType(data['capacity'], {'String': 'String'});
- }
- if (data.hasOwnProperty('cephfs')) {
- obj['cephfs'] = V1CephFSVolumeSource.constructFromObject(data['cephfs']);
- }
- if (data.hasOwnProperty('cinder')) {
- obj['cinder'] = V1CinderVolumeSource.constructFromObject(data['cinder']);
- }
- if (data.hasOwnProperty('claimRef')) {
- obj['claimRef'] = V1ObjectReference.constructFromObject(data['claimRef']);
- }
- if (data.hasOwnProperty('fc')) {
- obj['fc'] = V1FCVolumeSource.constructFromObject(data['fc']);
- }
- if (data.hasOwnProperty('flexVolume')) {
- obj['flexVolume'] = V1FlexVolumeSource.constructFromObject(data['flexVolume']);
- }
- if (data.hasOwnProperty('flocker')) {
- obj['flocker'] = V1FlockerVolumeSource.constructFromObject(data['flocker']);
- }
- if (data.hasOwnProperty('gcePersistentDisk')) {
- obj['gcePersistentDisk'] = V1GCEPersistentDiskVolumeSource.constructFromObject(data['gcePersistentDisk']);
- }
- if (data.hasOwnProperty('glusterfs')) {
- obj['glusterfs'] = V1GlusterfsVolumeSource.constructFromObject(data['glusterfs']);
- }
- if (data.hasOwnProperty('hostPath')) {
- obj['hostPath'] = V1HostPathVolumeSource.constructFromObject(data['hostPath']);
- }
- if (data.hasOwnProperty('iscsi')) {
- obj['iscsi'] = V1ISCSIVolumeSource.constructFromObject(data['iscsi']);
- }
- if (data.hasOwnProperty('nfs')) {
- obj['nfs'] = V1NFSVolumeSource.constructFromObject(data['nfs']);
- }
- if (data.hasOwnProperty('persistentVolumeReclaimPolicy')) {
- obj['persistentVolumeReclaimPolicy'] = ApiClient.convertToType(data['persistentVolumeReclaimPolicy'], 'String');
- }
- if (data.hasOwnProperty('photonPersistentDisk')) {
- obj['photonPersistentDisk'] = V1PhotonPersistentDiskVolumeSource.constructFromObject(data['photonPersistentDisk']);
- }
- if (data.hasOwnProperty('portworxVolume')) {
- obj['portworxVolume'] = V1PortworxVolumeSource.constructFromObject(data['portworxVolume']);
- }
- if (data.hasOwnProperty('quobyte')) {
- obj['quobyte'] = V1QuobyteVolumeSource.constructFromObject(data['quobyte']);
- }
- if (data.hasOwnProperty('rbd')) {
- obj['rbd'] = V1RBDVolumeSource.constructFromObject(data['rbd']);
- }
- if (data.hasOwnProperty('scaleIO')) {
- obj['scaleIO'] = V1ScaleIOVolumeSource.constructFromObject(data['scaleIO']);
- }
- if (data.hasOwnProperty('storageClassName')) {
- obj['storageClassName'] = ApiClient.convertToType(data['storageClassName'], 'String');
- }
- if (data.hasOwnProperty('vsphereVolume')) {
- obj['vsphereVolume'] = V1VsphereVirtualDiskVolumeSource.constructFromObject(data['vsphereVolume']);
- }
- }
- return obj;
- }
-
- /**
- * AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes
- * @member {Array.V1PersistentVolumeStatus.
- * PersistentVolumeStatus is the current status of a persistent volume.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1PersistentVolumeStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeStatus} The populated V1PersistentVolumeStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('phase')) {
- obj['phase'] = ApiClient.convertToType(data['phase'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * A human-readable message indicating details about why the volume is in this state.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase
- * @member {String} phase
- */
- exports.prototype['phase'] = undefined;
- /**
- * Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource.js
deleted file mode 100644
index c68a26c29b..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource.js
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PhotonPersistentDiskVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1PhotonPersistentDiskVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PhotonPersistentDiskVolumeSource.
- * Represents a Photon Controller persistent disk resource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource
- * @class
- * @param pdID {String} ID that identifies Photon Controller persistent disk
- */
- var exports = function(pdID) {
- var _this = this;
-
-
- _this['pdID'] = pdID;
- };
-
- /**
- * Constructs a V1PhotonPersistentDiskVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource} The populated V1PhotonPersistentDiskVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('pdID')) {
- obj['pdID'] = ApiClient.convertToType(data['pdID'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * ID that identifies Photon Controller persistent disk
- * @member {String} pdID
- */
- exports.prototype['pdID'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Pod.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Pod.js
deleted file mode 100644
index ee6cdec5a3..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Pod.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1PodSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1PodStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1PodSpec'), require('./V1PodStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Pod = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1PodSpec, root.KubernetesJsClient.V1PodStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1PodSpec, V1PodStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1Pod model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Pod
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Pod.
- * Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Pod
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Pod from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Pod} The populated V1Pod instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1PodSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1PodStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity.js
deleted file mode 100644
index dfc75b6244..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm', 'io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1PodAffinityTerm'), require('./V1WeightedPodAffinityTerm'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PodAffinity = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1PodAffinityTerm, root.KubernetesJsClient.V1WeightedPodAffinityTerm);
- }
-}(this, function(ApiClient, V1PodAffinityTerm, V1WeightedPodAffinityTerm) {
- 'use strict';
-
-
-
-
- /**
- * The V1PodAffinity model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PodAffinity.
- * Pod affinity is a group of inter pod affinity scheduling rules.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1PodAffinity from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinity} The populated V1PodAffinity instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('preferredDuringSchedulingIgnoredDuringExecution')) {
- obj['preferredDuringSchedulingIgnoredDuringExecution'] = ApiClient.convertToType(data['preferredDuringSchedulingIgnoredDuringExecution'], [V1WeightedPodAffinityTerm]);
- }
- if (data.hasOwnProperty('requiredDuringSchedulingIgnoredDuringExecution')) {
- obj['requiredDuringSchedulingIgnoredDuringExecution'] = ApiClient.convertToType(data['requiredDuringSchedulingIgnoredDuringExecution'], [V1PodAffinityTerm]);
- }
- }
- return obj;
- }
-
- /**
- * The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- * @member {Array.V1PodAffinityTerm.
- * Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> tches that of any node on which a pod of the set of pods is running
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1PodAffinityTerm from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm} The populated V1PodAffinityTerm instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('labelSelector')) {
- obj['labelSelector'] = V1LabelSelector.constructFromObject(data['labelSelector']);
- }
- if (data.hasOwnProperty('namespaces')) {
- obj['namespaces'] = ApiClient.convertToType(data['namespaces'], ['String']);
- }
- if (data.hasOwnProperty('topologyKey')) {
- obj['topologyKey'] = ApiClient.convertToType(data['topologyKey'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * A label query over a set of resources, in this case pods.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} labelSelector
- */
- exports.prototype['labelSelector'] = undefined;
- /**
- * namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"
- * @member {Array.V1PodAntiAffinity.
- * Pod anti affinity is a group of inter pod anti affinity scheduling rules.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodAntiAffinity
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1PodAntiAffinity from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAntiAffinity} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAntiAffinity} The populated V1PodAntiAffinity instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('preferredDuringSchedulingIgnoredDuringExecution')) {
- obj['preferredDuringSchedulingIgnoredDuringExecution'] = ApiClient.convertToType(data['preferredDuringSchedulingIgnoredDuringExecution'], [V1WeightedPodAffinityTerm]);
- }
- if (data.hasOwnProperty('requiredDuringSchedulingIgnoredDuringExecution')) {
- obj['requiredDuringSchedulingIgnoredDuringExecution'] = ApiClient.convertToType(data['requiredDuringSchedulingIgnoredDuringExecution'], [V1PodAffinityTerm]);
- }
- }
- return obj;
- }
-
- /**
- * The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- * @member {Array.V1PodCondition.
- * PodCondition contains details for the current condition of this pod.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodCondition
- * @class
- * @param status {String} Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions
- * @param type {String} Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions
- */
- var exports = function(status, type) {
- var _this = this;
-
-
-
-
-
- _this['status'] = status;
- _this['type'] = type;
- };
-
- /**
- * Constructs a V1PodCondition from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodCondition} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodCondition} The populated V1PodCondition instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('lastProbeTime')) {
- obj['lastProbeTime'] = ApiClient.convertToType(data['lastProbeTime'], 'Date');
- }
- if (data.hasOwnProperty('lastTransitionTime')) {
- obj['lastTransitionTime'] = ApiClient.convertToType(data['lastTransitionTime'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Last time we probed the condition.
- * @member {Date} lastProbeTime
- */
- exports.prototype['lastProbeTime'] = undefined;
- /**
- * Last time the condition transitioned from one status to another.
- * @member {Date} lastTransitionTime
- */
- exports.prototype['lastTransitionTime'] = undefined;
- /**
- * Human-readable message indicating details about last transition.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * Unique, one-word, CamelCase reason for the condition's last transition.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions
- * @member {String} status
- */
- exports.prototype['status'] = undefined;
- /**
- * Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodList.js
deleted file mode 100644
index 53afdc9d35..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1Pod'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1Pod'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PodList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1Pod);
- }
-}(this, function(ApiClient, V1ListMeta, V1Pod) {
- 'use strict';
-
-
-
-
- /**
- * The V1PodList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PodList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PodList.
- * PodList is a list of Pods.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodList
- * @class
- * @param items {Array.V1PodList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodList} The populated V1PodList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1Pod]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of pods. More info: http://kubernetes.io/docs/user-guide/pods
- * @member {Array.V1PodSecurityContext.
- * PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodSecurityContext
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1PodSecurityContext from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodSecurityContext} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodSecurityContext} The populated V1PodSecurityContext instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsGroup')) {
- obj['fsGroup'] = ApiClient.convertToType(data['fsGroup'], 'Number');
- }
- if (data.hasOwnProperty('runAsNonRoot')) {
- obj['runAsNonRoot'] = ApiClient.convertToType(data['runAsNonRoot'], 'Boolean');
- }
- if (data.hasOwnProperty('runAsUser')) {
- obj['runAsUser'] = ApiClient.convertToType(data['runAsUser'], 'Number');
- }
- if (data.hasOwnProperty('seLinuxOptions')) {
- obj['seLinuxOptions'] = V1SELinuxOptions.constructFromObject(data['seLinuxOptions']);
- }
- if (data.hasOwnProperty('supplementalGroups')) {
- obj['supplementalGroups'] = ApiClient.convertToType(data['supplementalGroups'], ['Number']);
- }
- }
- return obj;
- }
-
- /**
- * A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume.
- * @member {Number} fsGroup
- */
- exports.prototype['fsGroup'] = undefined;
- /**
- * Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- * @member {Boolean} runAsNonRoot
- */
- exports.prototype['runAsNonRoot'] = undefined;
- /**
- * The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- * @member {Number} runAsUser
- */
- exports.prototype['runAsUser'] = undefined;
- /**
- * The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SELinuxOptions} seLinuxOptions
- */
- exports.prototype['seLinuxOptions'] = undefined;
- /**
- * A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.
- * @member {Array.V1PodSpec.
- * PodSpec is a description of a pod.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodSpec
- * @class
- * @param containers {Array.V1PodSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodSpec} The populated V1PodSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('activeDeadlineSeconds')) {
- obj['activeDeadlineSeconds'] = ApiClient.convertToType(data['activeDeadlineSeconds'], 'Number');
- }
- if (data.hasOwnProperty('affinity')) {
- obj['affinity'] = V1Affinity.constructFromObject(data['affinity']);
- }
- if (data.hasOwnProperty('automountServiceAccountToken')) {
- obj['automountServiceAccountToken'] = ApiClient.convertToType(data['automountServiceAccountToken'], 'Boolean');
- }
- if (data.hasOwnProperty('containers')) {
- obj['containers'] = ApiClient.convertToType(data['containers'], [V1Container]);
- }
- if (data.hasOwnProperty('dnsPolicy')) {
- obj['dnsPolicy'] = ApiClient.convertToType(data['dnsPolicy'], 'String');
- }
- if (data.hasOwnProperty('hostIPC')) {
- obj['hostIPC'] = ApiClient.convertToType(data['hostIPC'], 'Boolean');
- }
- if (data.hasOwnProperty('hostNetwork')) {
- obj['hostNetwork'] = ApiClient.convertToType(data['hostNetwork'], 'Boolean');
- }
- if (data.hasOwnProperty('hostPID')) {
- obj['hostPID'] = ApiClient.convertToType(data['hostPID'], 'Boolean');
- }
- if (data.hasOwnProperty('hostname')) {
- obj['hostname'] = ApiClient.convertToType(data['hostname'], 'String');
- }
- if (data.hasOwnProperty('imagePullSecrets')) {
- obj['imagePullSecrets'] = ApiClient.convertToType(data['imagePullSecrets'], [V1LocalObjectReference]);
- }
- if (data.hasOwnProperty('initContainers')) {
- obj['initContainers'] = ApiClient.convertToType(data['initContainers'], [V1Container]);
- }
- if (data.hasOwnProperty('nodeName')) {
- obj['nodeName'] = ApiClient.convertToType(data['nodeName'], 'String');
- }
- if (data.hasOwnProperty('nodeSelector')) {
- obj['nodeSelector'] = ApiClient.convertToType(data['nodeSelector'], {'String': 'String'});
- }
- if (data.hasOwnProperty('restartPolicy')) {
- obj['restartPolicy'] = ApiClient.convertToType(data['restartPolicy'], 'String');
- }
- if (data.hasOwnProperty('schedulerName')) {
- obj['schedulerName'] = ApiClient.convertToType(data['schedulerName'], 'String');
- }
- if (data.hasOwnProperty('securityContext')) {
- obj['securityContext'] = V1PodSecurityContext.constructFromObject(data['securityContext']);
- }
- if (data.hasOwnProperty('serviceAccount')) {
- obj['serviceAccount'] = ApiClient.convertToType(data['serviceAccount'], 'String');
- }
- if (data.hasOwnProperty('serviceAccountName')) {
- obj['serviceAccountName'] = ApiClient.convertToType(data['serviceAccountName'], 'String');
- }
- if (data.hasOwnProperty('subdomain')) {
- obj['subdomain'] = ApiClient.convertToType(data['subdomain'], 'String');
- }
- if (data.hasOwnProperty('terminationGracePeriodSeconds')) {
- obj['terminationGracePeriodSeconds'] = ApiClient.convertToType(data['terminationGracePeriodSeconds'], 'Number');
- }
- if (data.hasOwnProperty('tolerations')) {
- obj['tolerations'] = ApiClient.convertToType(data['tolerations'], [V1Toleration]);
- }
- if (data.hasOwnProperty('volumes')) {
- obj['volumes'] = ApiClient.convertToType(data['volumes'], [V1Volume]);
- }
- }
- return obj;
- }
-
- /**
- * Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.
- * @member {Number} activeDeadlineSeconds
- */
- exports.prototype['activeDeadlineSeconds'] = undefined;
- /**
- * If specified, the pod's scheduling constraints
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1Affinity} affinity
- */
- exports.prototype['affinity'] = undefined;
- /**
- * AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
- * @member {Boolean} automountServiceAccountToken
- */
- exports.prototype['automountServiceAccountToken'] = undefined;
- /**
- * List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers
- * @member {Array.V1PodStatus.
- * PodStatus represents information about the status of a pod. Status may trail the actual state of a system.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1PodStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodStatus} The populated V1PodStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('conditions')) {
- obj['conditions'] = ApiClient.convertToType(data['conditions'], [V1PodCondition]);
- }
- if (data.hasOwnProperty('containerStatuses')) {
- obj['containerStatuses'] = ApiClient.convertToType(data['containerStatuses'], [V1ContainerStatus]);
- }
- if (data.hasOwnProperty('hostIP')) {
- obj['hostIP'] = ApiClient.convertToType(data['hostIP'], 'String');
- }
- if (data.hasOwnProperty('initContainerStatuses')) {
- obj['initContainerStatuses'] = ApiClient.convertToType(data['initContainerStatuses'], [V1ContainerStatus]);
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('phase')) {
- obj['phase'] = ApiClient.convertToType(data['phase'], 'String');
- }
- if (data.hasOwnProperty('podIP')) {
- obj['podIP'] = ApiClient.convertToType(data['podIP'], 'String');
- }
- if (data.hasOwnProperty('qosClass')) {
- obj['qosClass'] = ApiClient.convertToType(data['qosClass'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('startTime')) {
- obj['startTime'] = ApiClient.convertToType(data['startTime'], 'Date');
- }
- }
- return obj;
- }
-
- /**
- * Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions
- * @member {Array.V1PodTemplate.
- * PodTemplate describes a template for creating copies of a predefined pod.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1PodTemplate from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate} The populated V1PodTemplate instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('template')) {
- obj['template'] = V1PodTemplateSpec.constructFromObject(data['template']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} template
- */
- exports.prototype['template'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList.js
deleted file mode 100644
index 5fb5fba079..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1PodTemplate'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1PodTemplate'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PodTemplateList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1PodTemplate);
- }
-}(this, function(ApiClient, V1ListMeta, V1PodTemplate) {
- 'use strict';
-
-
-
-
- /**
- * The V1PodTemplateList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PodTemplateList.
- * PodTemplateList is a list of PodTemplates.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList
- * @class
- * @param items {Array.V1PodTemplateList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateList} The populated V1PodTemplateList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1PodTemplate]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of pod templates
- * @member {Array.V1PodTemplateSpec.
- * PodTemplateSpec describes the data a pod should have when created from a template
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1PodTemplateSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} The populated V1PodTemplateSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1PodSpec.constructFromObject(data['spec']);
- }
- }
- return obj;
- }
-
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodSpec} spec
- */
- exports.prototype['spec'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource.js
deleted file mode 100644
index 6a8875179b..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PortworxVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1PortworxVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PortworxVolumeSource.
- * PortworxVolumeSource represents a Portworx volume resource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource
- * @class
- * @param volumeID {String} VolumeID uniquely identifies a Portworx volume
- */
- var exports = function(volumeID) {
- var _this = this;
-
-
-
- _this['volumeID'] = volumeID;
- };
-
- /**
- * Constructs a V1PortworxVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource} The populated V1PortworxVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('volumeID')) {
- obj['volumeID'] = ApiClient.convertToType(data['volumeID'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * VolumeID uniquely identifies a Portworx volume
- * @member {String} volumeID
- */
- exports.prototype['volumeID'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Preconditions.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Preconditions.js
deleted file mode 100644
index 32b22766b7..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Preconditions.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Preconditions = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1Preconditions model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Preconditions
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Preconditions.
- * Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Preconditions
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1Preconditions from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Preconditions} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Preconditions} The populated V1Preconditions instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('uid')) {
- obj['uid'] = ApiClient.convertToType(data['uid'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Specifies the target UID.
- * @member {String} uid
- */
- exports.prototype['uid'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm.js
deleted file mode 100644
index 0f96850284..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorTerm'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1NodeSelectorTerm'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1PreferredSchedulingTerm = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1NodeSelectorTerm);
- }
-}(this, function(ApiClient, V1NodeSelectorTerm) {
- 'use strict';
-
-
-
-
- /**
- * The V1PreferredSchedulingTerm model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1PreferredSchedulingTerm.
- * An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm
- * @class
- * @param preference {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorTerm} A node selector term, associated with the corresponding weight.
- * @param weight {Number} Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
- */
- var exports = function(preference, weight) {
- var _this = this;
-
- _this['preference'] = preference;
- _this['weight'] = weight;
- };
-
- /**
- * Constructs a V1PreferredSchedulingTerm from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1PreferredSchedulingTerm} The populated V1PreferredSchedulingTerm instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('preference')) {
- obj['preference'] = V1NodeSelectorTerm.constructFromObject(data['preference']);
- }
- if (data.hasOwnProperty('weight')) {
- obj['weight'] = ApiClient.convertToType(data['weight'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * A node selector term, associated with the corresponding weight.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1NodeSelectorTerm} preference
- */
- exports.prototype['preference'] = undefined;
- /**
- * Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
- * @member {Number} weight
- */
- exports.prototype['weight'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Probe.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Probe.js
deleted file mode 100644
index b1bb6f49c5..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Probe.js
+++ /dev/null
@@ -1,144 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ExecAction', 'io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction', 'io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ExecAction'), require('./V1HTTPGetAction'), require('./V1TCPSocketAction'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Probe = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ExecAction, root.KubernetesJsClient.V1HTTPGetAction, root.KubernetesJsClient.V1TCPSocketAction);
- }
-}(this, function(ApiClient, V1ExecAction, V1HTTPGetAction, V1TCPSocketAction) {
- 'use strict';
-
-
-
-
- /**
- * The V1Probe model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Probe
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Probe.
- * Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Probe
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Probe from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Probe} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Probe} The populated V1Probe instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('exec')) {
- obj['exec'] = V1ExecAction.constructFromObject(data['exec']);
- }
- if (data.hasOwnProperty('failureThreshold')) {
- obj['failureThreshold'] = ApiClient.convertToType(data['failureThreshold'], 'Number');
- }
- if (data.hasOwnProperty('httpGet')) {
- obj['httpGet'] = V1HTTPGetAction.constructFromObject(data['httpGet']);
- }
- if (data.hasOwnProperty('initialDelaySeconds')) {
- obj['initialDelaySeconds'] = ApiClient.convertToType(data['initialDelaySeconds'], 'Number');
- }
- if (data.hasOwnProperty('periodSeconds')) {
- obj['periodSeconds'] = ApiClient.convertToType(data['periodSeconds'], 'Number');
- }
- if (data.hasOwnProperty('successThreshold')) {
- obj['successThreshold'] = ApiClient.convertToType(data['successThreshold'], 'Number');
- }
- if (data.hasOwnProperty('tcpSocket')) {
- obj['tcpSocket'] = V1TCPSocketAction.constructFromObject(data['tcpSocket']);
- }
- if (data.hasOwnProperty('timeoutSeconds')) {
- obj['timeoutSeconds'] = ApiClient.convertToType(data['timeoutSeconds'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * One and only one of the following should be specified. Exec specifies the action to take.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ExecAction} exec
- */
- exports.prototype['exec'] = undefined;
- /**
- * Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
- * @member {Number} failureThreshold
- */
- exports.prototype['failureThreshold'] = undefined;
- /**
- * HTTPGet specifies the http request to perform.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1HTTPGetAction} httpGet
- */
- exports.prototype['httpGet'] = undefined;
- /**
- * Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes
- * @member {Number} initialDelaySeconds
- */
- exports.prototype['initialDelaySeconds'] = undefined;
- /**
- * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
- * @member {Number} periodSeconds
- */
- exports.prototype['periodSeconds'] = undefined;
- /**
- * Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.
- * @member {Number} successThreshold
- */
- exports.prototype['successThreshold'] = undefined;
- /**
- * TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction} tcpSocket
- */
- exports.prototype['tcpSocket'] = undefined;
- /**
- * Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes
- * @member {Number} timeoutSeconds
- */
- exports.prototype['timeoutSeconds'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource.js
deleted file mode 100644
index 16b12f820a..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource.js
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1VolumeProjection'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ProjectedVolumeSource = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1VolumeProjection);
- }
-}(this, function(ApiClient, V1VolumeProjection) {
- 'use strict';
-
-
-
-
- /**
- * The V1ProjectedVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ProjectedVolumeSource.
- * Represents a projected volume source
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource
- * @class
- * @param sources {Array.V1ProjectedVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource} The populated V1ProjectedVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('defaultMode')) {
- obj['defaultMode'] = ApiClient.convertToType(data['defaultMode'], 'Number');
- }
- if (data.hasOwnProperty('sources')) {
- obj['sources'] = ApiClient.convertToType(data['sources'], [V1VolumeProjection]);
- }
- }
- return obj;
- }
-
- /**
- * Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- * @member {Number} defaultMode
- */
- exports.prototype['defaultMode'] = undefined;
- /**
- * list of volume projections
- * @member {Array.V1QuobyteVolumeSource.
- * Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1QuobyteVolumeSource
- * @class
- * @param registry {String} Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
- * @param volume {String} Volume is a string that references an already created Quobyte volume by name.
- */
- var exports = function(registry, volume) {
- var _this = this;
-
-
-
- _this['registry'] = registry;
-
- _this['volume'] = volume;
- };
-
- /**
- * Constructs a V1QuobyteVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1QuobyteVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1QuobyteVolumeSource} The populated V1QuobyteVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('group')) {
- obj['group'] = ApiClient.convertToType(data['group'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('registry')) {
- obj['registry'] = ApiClient.convertToType(data['registry'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- if (data.hasOwnProperty('volume')) {
- obj['volume'] = ApiClient.convertToType(data['volume'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Group to map volume access to Default is no group
- * @member {String} group
- */
- exports.prototype['group'] = undefined;
- /**
- * ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
- * @member {String} registry
- */
- exports.prototype['registry'] = undefined;
- /**
- * User to map volume access to Defaults to serivceaccount user
- * @member {String} user
- */
- exports.prototype['user'] = undefined;
- /**
- * Volume is a string that references an already created Quobyte volume by name.
- * @member {String} volume
- */
- exports.prototype['volume'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource.js
deleted file mode 100644
index 8fb673eccd..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource.js
+++ /dev/null
@@ -1,146 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1LocalObjectReference'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1RBDVolumeSource = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1LocalObjectReference);
- }
-}(this, function(ApiClient, V1LocalObjectReference) {
- 'use strict';
-
-
-
-
- /**
- * The V1RBDVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1RBDVolumeSource.
- * Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource
- * @class
- * @param image {String} The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
- * @param monitors {Array.V1RBDVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource} The populated V1RBDVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('image')) {
- obj['image'] = ApiClient.convertToType(data['image'], 'String');
- }
- if (data.hasOwnProperty('keyring')) {
- obj['keyring'] = ApiClient.convertToType(data['keyring'], 'String');
- }
- if (data.hasOwnProperty('monitors')) {
- obj['monitors'] = ApiClient.convertToType(data['monitors'], ['String']);
- }
- if (data.hasOwnProperty('pool')) {
- obj['pool'] = ApiClient.convertToType(data['pool'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('secretRef')) {
- obj['secretRef'] = V1LocalObjectReference.constructFromObject(data['secretRef']);
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
- * @member {String} image
- */
- exports.prototype['image'] = undefined;
- /**
- * Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
- * @member {String} keyring
- */
- exports.prototype['keyring'] = undefined;
- /**
- * A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
- * @member {Array.V1ReplicationController.
- * ReplicationController represents the configuration of a replication controller.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ReplicationController from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController} The populated V1ReplicationController instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1ReplicationControllerSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1ReplicationControllerStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition.js
deleted file mode 100644
index 82708d800e..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition.js
+++ /dev/null
@@ -1,119 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ReplicationControllerCondition = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ReplicationControllerCondition model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ReplicationControllerCondition.
- * ReplicationControllerCondition describes the state of a replication controller at a certain point.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition
- * @class
- * @param status {String} Status of the condition, one of True, False, Unknown.
- * @param type {String} Type of replication controller condition.
- */
- var exports = function(status, type) {
- var _this = this;
-
-
-
-
- _this['status'] = status;
- _this['type'] = type;
- };
-
- /**
- * Constructs a V1ReplicationControllerCondition from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerCondition} The populated V1ReplicationControllerCondition instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('lastTransitionTime')) {
- obj['lastTransitionTime'] = ApiClient.convertToType(data['lastTransitionTime'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The last time the condition transitioned from one status to another.
- * @member {Date} lastTransitionTime
- */
- exports.prototype['lastTransitionTime'] = undefined;
- /**
- * A human readable message indicating details about the transition.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * The reason for the condition's last transition.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * Status of the condition, one of True, False, Unknown.
- * @member {String} status
- */
- exports.prototype['status'] = undefined;
- /**
- * Type of replication controller condition.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList.js
deleted file mode 100644
index 430a7b9cd0..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ReplicationController'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1ReplicationController'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ReplicationControllerList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1ReplicationController);
- }
-}(this, function(ApiClient, V1ListMeta, V1ReplicationController) {
- 'use strict';
-
-
-
-
- /**
- * The V1ReplicationControllerList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ReplicationControllerList.
- * ReplicationControllerList is a collection of replication controllers.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList
- * @class
- * @param items {Array.V1ReplicationControllerList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerList} The populated V1ReplicationControllerList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1ReplicationController]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller
- * @member {Array.V1ReplicationControllerSpec.
- * ReplicationControllerSpec is the specification of a replication controller.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ReplicationControllerSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerSpec} The populated V1ReplicationControllerSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('minReadySeconds')) {
- obj['minReadySeconds'] = ApiClient.convertToType(data['minReadySeconds'], 'Number');
- }
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = ApiClient.convertToType(data['selector'], {'String': 'String'});
- }
- if (data.hasOwnProperty('template')) {
- obj['template'] = V1PodTemplateSpec.constructFromObject(data['template']);
- }
- }
- return obj;
- }
-
- /**
- * Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
- * @member {Number} minReadySeconds
- */
- exports.prototype['minReadySeconds'] = undefined;
- /**
- * Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
- /**
- * Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
- * @member {Object.V1ReplicationControllerStatus.
- * ReplicationControllerStatus represents the current status of a replication controller.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerStatus
- * @class
- * @param replicas {Number} Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller
- */
- var exports = function(replicas) {
- var _this = this;
-
-
-
-
-
-
- _this['replicas'] = replicas;
- };
-
- /**
- * Constructs a V1ReplicationControllerStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ReplicationControllerStatus} The populated V1ReplicationControllerStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('availableReplicas')) {
- obj['availableReplicas'] = ApiClient.convertToType(data['availableReplicas'], 'Number');
- }
- if (data.hasOwnProperty('conditions')) {
- obj['conditions'] = ApiClient.convertToType(data['conditions'], [V1ReplicationControllerCondition]);
- }
- if (data.hasOwnProperty('fullyLabeledReplicas')) {
- obj['fullyLabeledReplicas'] = ApiClient.convertToType(data['fullyLabeledReplicas'], 'Number');
- }
- if (data.hasOwnProperty('observedGeneration')) {
- obj['observedGeneration'] = ApiClient.convertToType(data['observedGeneration'], 'Number');
- }
- if (data.hasOwnProperty('readyReplicas')) {
- obj['readyReplicas'] = ApiClient.convertToType(data['readyReplicas'], 'Number');
- }
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * The number of available replicas (ready for at least minReadySeconds) for this replication controller.
- * @member {Number} availableReplicas
- */
- exports.prototype['availableReplicas'] = undefined;
- /**
- * Represents the latest available observations of a replication controller's current state.
- * @member {Array.V1ResourceAttributes.
- * ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceAttributes
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ResourceAttributes from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceAttributes} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceAttributes} The populated V1ResourceAttributes instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('group')) {
- obj['group'] = ApiClient.convertToType(data['group'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('namespace')) {
- obj['namespace'] = ApiClient.convertToType(data['namespace'], 'String');
- }
- if (data.hasOwnProperty('resource')) {
- obj['resource'] = ApiClient.convertToType(data['resource'], 'String');
- }
- if (data.hasOwnProperty('subresource')) {
- obj['subresource'] = ApiClient.convertToType(data['subresource'], 'String');
- }
- if (data.hasOwnProperty('verb')) {
- obj['verb'] = ApiClient.convertToType(data['verb'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Group is the API Group of the Resource. \"*\" means all.
- * @member {String} group
- */
- exports.prototype['group'] = undefined;
- /**
- * Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
- * @member {String} namespace
- */
- exports.prototype['namespace'] = undefined;
- /**
- * Resource is one of the existing resource types. \"*\" means all.
- * @member {String} resource
- */
- exports.prototype['resource'] = undefined;
- /**
- * Subresource is one of the existing resource types. \"\" means none.
- * @member {String} subresource
- */
- exports.prototype['subresource'] = undefined;
- /**
- * Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.
- * @member {String} verb
- */
- exports.prototype['verb'] = undefined;
- /**
- * Version is the API Version of the Resource. \"*\" means all.
- * @member {String} version
- */
- exports.prototype['version'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector.js
deleted file mode 100644
index f9a1dc2dab..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ResourceFieldSelector = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ResourceFieldSelector model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ResourceFieldSelector.
- * ResourceFieldSelector represents container resources (cpu, memory) and their output format
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector
- * @class
- * @param resource {String} Required: resource to select
- */
- var exports = function(resource) {
- var _this = this;
-
-
-
- _this['resource'] = resource;
- };
-
- /**
- * Constructs a V1ResourceFieldSelector from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceFieldSelector} The populated V1ResourceFieldSelector instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('containerName')) {
- obj['containerName'] = ApiClient.convertToType(data['containerName'], 'String');
- }
- if (data.hasOwnProperty('divisor')) {
- obj['divisor'] = ApiClient.convertToType(data['divisor'], 'String');
- }
- if (data.hasOwnProperty('resource')) {
- obj['resource'] = ApiClient.convertToType(data['resource'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Container name: required for volumes, optional for env vars
- * @member {String} containerName
- */
- exports.prototype['containerName'] = undefined;
- /**
- * Specifies the output format of the exposed resources, defaults to \"1\"
- * @member {String} divisor
- */
- exports.prototype['divisor'] = undefined;
- /**
- * Required: resource to select
- * @member {String} resource
- */
- exports.prototype['resource'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota.js
deleted file mode 100644
index b108dbebb5..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1ResourceQuotaSpec'), require('./V1ResourceQuotaStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ResourceQuota = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1ResourceQuotaSpec, root.KubernetesJsClient.V1ResourceQuotaStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1ResourceQuotaSpec, V1ResourceQuotaStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1ResourceQuota model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ResourceQuota.
- * ResourceQuota sets aggregate quota restrictions enforced per namespace
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ResourceQuota from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota} The populated V1ResourceQuota instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1ResourceQuotaSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1ResourceQuotaStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList.js
deleted file mode 100644
index a14a7597a1..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuota'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1ResourceQuota'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ResourceQuotaList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1ResourceQuota);
- }
-}(this, function(ApiClient, V1ListMeta, V1ResourceQuota) {
- 'use strict';
-
-
-
-
- /**
- * The V1ResourceQuotaList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ResourceQuotaList.
- * ResourceQuotaList is a list of ResourceQuota items.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList
- * @class
- * @param items {Array.V1ResourceQuotaList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaList} The populated V1ResourceQuotaList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1ResourceQuota]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota
- * @member {Array.V1ResourceQuotaSpec.
- * ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1ResourceQuotaSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaSpec} The populated V1ResourceQuotaSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('hard')) {
- obj['hard'] = ApiClient.convertToType(data['hard'], {'String': 'String'});
- }
- if (data.hasOwnProperty('scopes')) {
- obj['scopes'] = ApiClient.convertToType(data['scopes'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota
- * @member {Object.V1ResourceQuotaStatus.
- * ResourceQuotaStatus defines the enforced hard limits and observed use.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1ResourceQuotaStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceQuotaStatus} The populated V1ResourceQuotaStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('hard')) {
- obj['hard'] = ApiClient.convertToType(data['hard'], {'String': 'String'});
- }
- if (data.hasOwnProperty('used')) {
- obj['used'] = ApiClient.convertToType(data['used'], {'String': 'String'});
- }
- }
- return obj;
- }
-
- /**
- * Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota
- * @member {Object.V1ResourceRequirements.
- * ResourceRequirements describes the compute resource requirements.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceRequirements
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1ResourceRequirements from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceRequirements} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceRequirements} The populated V1ResourceRequirements instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('limits')) {
- obj['limits'] = ApiClient.convertToType(data['limits'], {'String': 'String'});
- }
- if (data.hasOwnProperty('requests')) {
- obj['requests'] = ApiClient.convertToType(data['requests'], {'String': 'String'});
- }
- }
- return obj;
- }
-
- /**
- * Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- * @member {Object.V1SELinuxOptions.
- * SELinuxOptions are the labels to be applied to the container
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SELinuxOptions
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1SELinuxOptions from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SELinuxOptions} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SELinuxOptions} The populated V1SELinuxOptions instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('level')) {
- obj['level'] = ApiClient.convertToType(data['level'], 'String');
- }
- if (data.hasOwnProperty('role')) {
- obj['role'] = ApiClient.convertToType(data['role'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Level is SELinux level label that applies to the container.
- * @member {String} level
- */
- exports.prototype['level'] = undefined;
- /**
- * Role is a SELinux role label that applies to the container.
- * @member {String} role
- */
- exports.prototype['role'] = undefined;
- /**
- * Type is a SELinux type label that applies to the container.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
- /**
- * User is a SELinux user label that applies to the container.
- * @member {String} user
- */
- exports.prototype['user'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Scale.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Scale.js
deleted file mode 100644
index 258dc2185e..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Scale.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1ScaleSpec'), require('./V1ScaleStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Scale = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1ScaleSpec, root.KubernetesJsClient.V1ScaleStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1ScaleSpec, V1ScaleStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1Scale model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Scale
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Scale.
- * Scale represents a scaling request for a resource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Scale
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Scale from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Scale} The populated V1Scale instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1ScaleSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1ScaleStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource.js
deleted file mode 100644
index 5f953032bb..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource.js
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1LocalObjectReference'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ScaleIOVolumeSource = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1LocalObjectReference);
- }
-}(this, function(ApiClient, V1LocalObjectReference) {
- 'use strict';
-
-
-
-
- /**
- * The V1ScaleIOVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ScaleIOVolumeSource.
- * ScaleIOVolumeSource represents a persistent ScaleIO volume
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource
- * @class
- * @param gateway {String} The host address of the ScaleIO API Gateway.
- * @param secretRef {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference} SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
- * @param system {String} The name of the storage system as configured in ScaleIO.
- */
- var exports = function(gateway, secretRef, system) {
- var _this = this;
-
-
- _this['gateway'] = gateway;
-
-
- _this['secretRef'] = secretRef;
-
-
-
- _this['system'] = system;
-
- };
-
- /**
- * Constructs a V1ScaleIOVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource} The populated V1ScaleIOVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('gateway')) {
- obj['gateway'] = ApiClient.convertToType(data['gateway'], 'String');
- }
- if (data.hasOwnProperty('protectionDomain')) {
- obj['protectionDomain'] = ApiClient.convertToType(data['protectionDomain'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('secretRef')) {
- obj['secretRef'] = V1LocalObjectReference.constructFromObject(data['secretRef']);
- }
- if (data.hasOwnProperty('sslEnabled')) {
- obj['sslEnabled'] = ApiClient.convertToType(data['sslEnabled'], 'Boolean');
- }
- if (data.hasOwnProperty('storageMode')) {
- obj['storageMode'] = ApiClient.convertToType(data['storageMode'], 'String');
- }
- if (data.hasOwnProperty('storagePool')) {
- obj['storagePool'] = ApiClient.convertToType(data['storagePool'], 'String');
- }
- if (data.hasOwnProperty('system')) {
- obj['system'] = ApiClient.convertToType(data['system'], 'String');
- }
- if (data.hasOwnProperty('volumeName')) {
- obj['volumeName'] = ApiClient.convertToType(data['volumeName'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * The host address of the ScaleIO API Gateway.
- * @member {String} gateway
- */
- exports.prototype['gateway'] = undefined;
- /**
- * The name of the Protection Domain for the configured storage (defaults to \"default\").
- * @member {String} protectionDomain
- */
- exports.prototype['protectionDomain'] = undefined;
- /**
- * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference} secretRef
- */
- exports.prototype['secretRef'] = undefined;
- /**
- * Flag to enable/disable SSL communication with Gateway, default false
- * @member {Boolean} sslEnabled
- */
- exports.prototype['sslEnabled'] = undefined;
- /**
- * Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\").
- * @member {String} storageMode
- */
- exports.prototype['storageMode'] = undefined;
- /**
- * The Storage Pool associated with the protection domain (defaults to \"default\").
- * @member {String} storagePool
- */
- exports.prototype['storagePool'] = undefined;
- /**
- * The name of the storage system as configured in ScaleIO.
- * @member {String} system
- */
- exports.prototype['system'] = undefined;
- /**
- * The name of a volume already created in the ScaleIO system that is associated with this volume source.
- * @member {String} volumeName
- */
- exports.prototype['volumeName'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec.js
deleted file mode 100644
index d47ab435b4..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ScaleSpec = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ScaleSpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ScaleSpec.
- * ScaleSpec describes the attributes of a scale subresource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1ScaleSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleSpec} The populated V1ScaleSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * desired number of instances for the scaled object.
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus.js
deleted file mode 100644
index 872055bdf3..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus.js
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ScaleStatus = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ScaleStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ScaleStatus.
- * ScaleStatus represents the current status of a scale subresource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus
- * @class
- * @param replicas {Number} actual number of observed instances of the scaled object.
- */
- var exports = function(replicas) {
- var _this = this;
-
- _this['replicas'] = replicas;
-
- };
-
- /**
- * Constructs a V1ScaleStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleStatus} The populated V1ScaleStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('replicas')) {
- obj['replicas'] = ApiClient.convertToType(data['replicas'], 'Number');
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = ApiClient.convertToType(data['selector'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * actual number of observed instances of the scaled object.
- * @member {Number} replicas
- */
- exports.prototype['replicas'] = undefined;
- /**
- * label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
- * @member {String} selector
- */
- exports.prototype['selector'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Secret.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Secret.js
deleted file mode 100644
index 994df71775..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Secret.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Secret = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1Secret model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Secret
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Secret.
- * Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Secret
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Secret from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Secret} The populated V1Secret instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('data')) {
- obj['data'] = ApiClient.convertToType(data['data'], {'String': 'String'});
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('stringData')) {
- obj['stringData'] = ApiClient.convertToType(data['stringData'], {'String': 'String'});
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
- * @member {Object.V1SecretEnvSource.
- * SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SecretEnvSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1SecretEnvSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretEnvSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretEnvSource} The populated V1SecretEnvSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('optional')) {
- obj['optional'] = ApiClient.convertToType(data['optional'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Specify whether the Secret must be defined
- * @member {Boolean} optional
- */
- exports.prototype['optional'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector.js
deleted file mode 100644
index 5d6ac64cf9..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1SecretKeySelector = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1SecretKeySelector model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1SecretKeySelector.
- * SecretKeySelector selects a key of a Secret.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector
- * @class
- * @param key {String} The key of the secret to select from. Must be a valid secret key.
- */
- var exports = function(key) {
- var _this = this;
-
- _this['key'] = key;
-
-
- };
-
- /**
- * Constructs a V1SecretKeySelector from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretKeySelector} The populated V1SecretKeySelector instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('key')) {
- obj['key'] = ApiClient.convertToType(data['key'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('optional')) {
- obj['optional'] = ApiClient.convertToType(data['optional'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * The key of the secret to select from. Must be a valid secret key.
- * @member {String} key
- */
- exports.prototype['key'] = undefined;
- /**
- * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Specify whether the Secret or it's key must be defined
- * @member {Boolean} optional
- */
- exports.prototype['optional'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SecretList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SecretList.js
deleted file mode 100644
index 69a12e006a..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SecretList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1Secret'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1Secret'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1SecretList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1Secret);
- }
-}(this, function(ApiClient, V1ListMeta, V1Secret) {
- 'use strict';
-
-
-
-
- /**
- * The V1SecretList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1SecretList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1SecretList.
- * SecretList is a list of Secret.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SecretList
- * @class
- * @param items {Array.V1SecretList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretList} The populated V1SecretList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1Secret]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets
- * @member {Array.V1SecretProjection.
- * Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SecretProjection
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1SecretProjection from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretProjection} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretProjection} The populated V1SecretProjection instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1KeyToPath]);
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('optional')) {
- obj['optional'] = ApiClient.convertToType(data['optional'], 'Boolean');
- }
- }
- return obj;
- }
-
- /**
- * If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- * @member {Array.V1SecretVolumeSource.
- * Adapts a Secret into a volume. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SecretVolumeSource
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1SecretVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretVolumeSource} The populated V1SecretVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('defaultMode')) {
- obj['defaultMode'] = ApiClient.convertToType(data['defaultMode'], 'Number');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1KeyToPath]);
- }
- if (data.hasOwnProperty('optional')) {
- obj['optional'] = ApiClient.convertToType(data['optional'], 'Boolean');
- }
- if (data.hasOwnProperty('secretName')) {
- obj['secretName'] = ApiClient.convertToType(data['secretName'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- * @member {Number} defaultMode
- */
- exports.prototype['defaultMode'] = undefined;
- /**
- * If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- * @member {Array.V1SecurityContext.
- * SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SecurityContext
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1SecurityContext from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SecurityContext} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SecurityContext} The populated V1SecurityContext instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('capabilities')) {
- obj['capabilities'] = V1Capabilities.constructFromObject(data['capabilities']);
- }
- if (data.hasOwnProperty('privileged')) {
- obj['privileged'] = ApiClient.convertToType(data['privileged'], 'Boolean');
- }
- if (data.hasOwnProperty('readOnlyRootFilesystem')) {
- obj['readOnlyRootFilesystem'] = ApiClient.convertToType(data['readOnlyRootFilesystem'], 'Boolean');
- }
- if (data.hasOwnProperty('runAsNonRoot')) {
- obj['runAsNonRoot'] = ApiClient.convertToType(data['runAsNonRoot'], 'Boolean');
- }
- if (data.hasOwnProperty('runAsUser')) {
- obj['runAsUser'] = ApiClient.convertToType(data['runAsUser'], 'Number');
- }
- if (data.hasOwnProperty('seLinuxOptions')) {
- obj['seLinuxOptions'] = V1SELinuxOptions.constructFromObject(data['seLinuxOptions']);
- }
- }
- return obj;
- }
-
- /**
- * The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1Capabilities} capabilities
- */
- exports.prototype['capabilities'] = undefined;
- /**
- * Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.
- * @member {Boolean} privileged
- */
- exports.prototype['privileged'] = undefined;
- /**
- * Whether this container has a read-only root filesystem. Default is false.
- * @member {Boolean} readOnlyRootFilesystem
- */
- exports.prototype['readOnlyRootFilesystem'] = undefined;
- /**
- * Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- * @member {Boolean} runAsNonRoot
- */
- exports.prototype['runAsNonRoot'] = undefined;
- /**
- * The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- * @member {Number} runAsUser
- */
- exports.prototype['runAsUser'] = undefined;
- /**
- * The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SELinuxOptions} seLinuxOptions
- */
- exports.prototype['seLinuxOptions'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview.js
deleted file mode 100644
index dd09025b17..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1SelfSubjectAccessReviewSpec'), require('./V1SubjectAccessReviewStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1SelfSubjectAccessReview = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1SelfSubjectAccessReviewSpec, root.KubernetesJsClient.V1SubjectAccessReviewStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1SelfSubjectAccessReviewSpec, V1SubjectAccessReviewStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1SelfSubjectAccessReview model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1SelfSubjectAccessReview.
- * SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview
- * @class
- * @param spec {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec} Spec holds information about the request being evaluated. user and groups must be empty
- */
- var exports = function(spec) {
- var _this = this;
-
-
-
-
- _this['spec'] = spec;
-
- };
-
- /**
- * Constructs a V1SelfSubjectAccessReview from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReview} The populated V1SelfSubjectAccessReview instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1SelfSubjectAccessReviewSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1SubjectAccessReviewStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec holds information about the request being evaluated. user and groups must be empty
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status is filled in by the server and indicates whether the request is allowed or not
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec.js
deleted file mode 100644
index 8903951e24..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceAttributes'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1NonResourceAttributes'), require('./V1ResourceAttributes'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1SelfSubjectAccessReviewSpec = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1NonResourceAttributes, root.KubernetesJsClient.V1ResourceAttributes);
- }
-}(this, function(ApiClient, V1NonResourceAttributes, V1ResourceAttributes) {
- 'use strict';
-
-
-
-
- /**
- * The V1SelfSubjectAccessReviewSpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1SelfSubjectAccessReviewSpec.
- * SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1SelfSubjectAccessReviewSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SelfSubjectAccessReviewSpec} The populated V1SelfSubjectAccessReviewSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('nonResourceAttributes')) {
- obj['nonResourceAttributes'] = V1NonResourceAttributes.constructFromObject(data['nonResourceAttributes']);
- }
- if (data.hasOwnProperty('resourceAttributes')) {
- obj['resourceAttributes'] = V1ResourceAttributes.constructFromObject(data['resourceAttributes']);
- }
- }
- return obj;
- }
-
- /**
- * NonResourceAttributes describes information for a non-resource access request
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes} nonResourceAttributes
- */
- exports.prototype['nonResourceAttributes'] = undefined;
- /**
- * ResourceAuthorizationAttributes describes information for a resource access request
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ResourceAttributes} resourceAttributes
- */
- exports.prototype['resourceAttributes'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR.js
deleted file mode 100644
index d70220979e..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ServerAddressByClientCIDR = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1ServerAddressByClientCIDR model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ServerAddressByClientCIDR.
- * ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR
- * @class
- * @param clientCIDR {String} The CIDR with which clients can match their IP to figure out the server address that they should use.
- * @param serverAddress {String} Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.
- */
- var exports = function(clientCIDR, serverAddress) {
- var _this = this;
-
- _this['clientCIDR'] = clientCIDR;
- _this['serverAddress'] = serverAddress;
- };
-
- /**
- * Constructs a V1ServerAddressByClientCIDR from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ServerAddressByClientCIDR} The populated V1ServerAddressByClientCIDR instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('clientCIDR')) {
- obj['clientCIDR'] = ApiClient.convertToType(data['clientCIDR'], 'String');
- }
- if (data.hasOwnProperty('serverAddress')) {
- obj['serverAddress'] = ApiClient.convertToType(data['serverAddress'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The CIDR with which clients can match their IP to figure out the server address that they should use.
- * @member {String} clientCIDR
- */
- exports.prototype['clientCIDR'] = undefined;
- /**
- * Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.
- * @member {String} serverAddress
- */
- exports.prototype['serverAddress'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Service.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Service.js
deleted file mode 100644
index 11a00fb9fe..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Service.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1ServiceStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1ServiceSpec'), require('./V1ServiceStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Service = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1ServiceSpec, root.KubernetesJsClient.V1ServiceStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1ServiceSpec, V1ServiceStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1Service model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Service
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Service.
- * Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Service
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Service from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Service} The populated V1Service instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1ServiceSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1ServiceStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount.js
deleted file mode 100644
index 063079b0a2..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1LocalObjectReference', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectReference'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1LocalObjectReference'), require('./V1ObjectMeta'), require('./V1ObjectReference'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ServiceAccount = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1LocalObjectReference, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1ObjectReference);
- }
-}(this, function(ApiClient, V1LocalObjectReference, V1ObjectMeta, V1ObjectReference) {
- 'use strict';
-
-
-
-
- /**
- * The V1ServiceAccount model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ServiceAccount.
- * ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ServiceAccount from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccount} The populated V1ServiceAccount instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('automountServiceAccountToken')) {
- obj['automountServiceAccountToken'] = ApiClient.convertToType(data['automountServiceAccountToken'], 'Boolean');
- }
- if (data.hasOwnProperty('imagePullSecrets')) {
- obj['imagePullSecrets'] = ApiClient.convertToType(data['imagePullSecrets'], [V1LocalObjectReference]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('secrets')) {
- obj['secrets'] = ApiClient.convertToType(data['secrets'], [V1ObjectReference]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
- * @member {Boolean} automountServiceAccountToken
- */
- exports.prototype['automountServiceAccountToken'] = undefined;
- /**
- * ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret
- * @member {Array.V1ServiceAccountList.
- * ServiceAccountList is a list of ServiceAccount objects
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList
- * @class
- * @param items {Array.V1ServiceAccountList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceAccountList} The populated V1ServiceAccountList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1ServiceAccount]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts
- * @member {Array.V1ServiceList.
- * ServiceList holds a list of services.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceList
- * @class
- * @param items {Array.V1ServiceList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceList} The populated V1ServiceList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1Service]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * List of services
- * @member {Array.V1ServicePort.
- * ServicePort contains information on service's port.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ServicePort
- * @class
- * @param port {Number} The port that will be exposed by this service.
- */
- var exports = function(port) {
- var _this = this;
-
-
-
- _this['port'] = port;
-
-
- };
-
- /**
- * Constructs a V1ServicePort from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServicePort} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ServicePort} The populated V1ServicePort instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('nodePort')) {
- obj['nodePort'] = ApiClient.convertToType(data['nodePort'], 'Number');
- }
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
- if (data.hasOwnProperty('protocol')) {
- obj['protocol'] = ApiClient.convertToType(data['protocol'], 'String');
- }
- if (data.hasOwnProperty('targetPort')) {
- obj['targetPort'] = ApiClient.convertToType(data['targetPort'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport
- * @member {Number} nodePort
- */
- exports.prototype['nodePort'] = undefined;
- /**
- * The port that will be exposed by this service.
- * @member {Number} port
- */
- exports.prototype['port'] = undefined;
- /**
- * The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.
- * @member {String} protocol
- */
- exports.prototype['protocol'] = undefined;
- /**
- * Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service
- * @member {String} targetPort
- */
- exports.prototype['targetPort'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec.js
deleted file mode 100644
index d38ea0c47d..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec.js
+++ /dev/null
@@ -1,162 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ServicePort'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ServicePort'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1ServiceSpec = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ServicePort);
- }
-}(this, function(ApiClient, V1ServicePort) {
- 'use strict';
-
-
-
-
- /**
- * The V1ServiceSpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1ServiceSpec.
- * ServiceSpec describes the attributes that a user creates on a service.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1ServiceSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceSpec} The populated V1ServiceSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('clusterIP')) {
- obj['clusterIP'] = ApiClient.convertToType(data['clusterIP'], 'String');
- }
- if (data.hasOwnProperty('deprecatedPublicIPs')) {
- obj['deprecatedPublicIPs'] = ApiClient.convertToType(data['deprecatedPublicIPs'], ['String']);
- }
- if (data.hasOwnProperty('externalIPs')) {
- obj['externalIPs'] = ApiClient.convertToType(data['externalIPs'], ['String']);
- }
- if (data.hasOwnProperty('externalName')) {
- obj['externalName'] = ApiClient.convertToType(data['externalName'], 'String');
- }
- if (data.hasOwnProperty('loadBalancerIP')) {
- obj['loadBalancerIP'] = ApiClient.convertToType(data['loadBalancerIP'], 'String');
- }
- if (data.hasOwnProperty('loadBalancerSourceRanges')) {
- obj['loadBalancerSourceRanges'] = ApiClient.convertToType(data['loadBalancerSourceRanges'], ['String']);
- }
- if (data.hasOwnProperty('ports')) {
- obj['ports'] = ApiClient.convertToType(data['ports'], [V1ServicePort]);
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = ApiClient.convertToType(data['selector'], {'String': 'String'});
- }
- if (data.hasOwnProperty('sessionAffinity')) {
- obj['sessionAffinity'] = ApiClient.convertToType(data['sessionAffinity'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies
- * @member {String} clusterIP
- */
- exports.prototype['clusterIP'] = undefined;
- /**
- * deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used.
- * @member {Array.V1ServiceStatus.
- * ServiceStatus represents the current status of a service.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1ServiceStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1ServiceStatus} The populated V1ServiceStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('loadBalancer')) {
- obj['loadBalancer'] = V1LoadBalancerStatus.constructFromObject(data['loadBalancer']);
- }
- }
- return obj;
- }
-
- /**
- * LoadBalancer contains the current status of the load-balancer, if one is present.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus} loadBalancer
- */
- exports.prototype['loadBalancer'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Status.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Status.js
deleted file mode 100644
index 9821186fe4..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Status.js
+++ /dev/null
@@ -1,144 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1StatusDetails'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Status = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1StatusDetails);
- }
-}(this, function(ApiClient, V1ListMeta, V1StatusDetails) {
- 'use strict';
-
-
-
-
- /**
- * The V1Status model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Status
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Status.
- * Status is a return value for calls that don't return other objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Status
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Status from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Status} The populated V1Status instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('code')) {
- obj['code'] = ApiClient.convertToType(data['code'], 'Number');
- }
- if (data.hasOwnProperty('details')) {
- obj['details'] = V1StatusDetails.constructFromObject(data['details']);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Suggested HTTP return code for this status, 0 if not set.
- * @member {Number} code
- */
- exports.prototype['code'] = undefined;
- /**
- * Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails} details
- */
- exports.prototype['details'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * A human-readable description of the status of this operation.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ListMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {String} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1StatusCause.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1StatusCause.js
deleted file mode 100644
index dde049497c..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1StatusCause.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1StatusCause = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1StatusCause model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1StatusCause
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1StatusCause.
- * StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1StatusCause
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1StatusCause from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StatusCause} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1StatusCause} The populated V1StatusCause instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('field')) {
- obj['field'] = ApiClient.convertToType(data['field'], 'String');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\"
- * @member {String} field
- */
- exports.prototype['field'] = undefined;
- /**
- * A human-readable description of the cause of the error. This field may be presented as-is to a reader.
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * A machine-readable description of the cause of the error. If this value is empty there is no information available.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails.js
deleted file mode 100644
index 249eb9e027..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1StatusCause'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1StatusCause'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1StatusDetails = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1StatusCause);
- }
-}(this, function(ApiClient, V1StatusCause) {
- 'use strict';
-
-
-
-
- /**
- * The V1StatusDetails model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1StatusDetails.
- * StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1StatusDetails from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1StatusDetails} The populated V1StatusDetails instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('causes')) {
- obj['causes'] = ApiClient.convertToType(data['causes'], [V1StatusCause]);
- }
- if (data.hasOwnProperty('group')) {
- obj['group'] = ApiClient.convertToType(data['group'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('retryAfterSeconds')) {
- obj['retryAfterSeconds'] = ApiClient.convertToType(data['retryAfterSeconds'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
- * @member {Array.V1StorageClass.
- * StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass
- * @class
- * @param provisioner {String} Provisioner indicates the type of the provisioner.
- */
- var exports = function(provisioner) {
- var _this = this;
-
-
-
-
-
- _this['provisioner'] = provisioner;
- };
-
- /**
- * Constructs a V1StorageClass from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClass} The populated V1StorageClass instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('parameters')) {
- obj['parameters'] = ApiClient.convertToType(data['parameters'], {'String': 'String'});
- }
- if (data.hasOwnProperty('provisioner')) {
- obj['provisioner'] = ApiClient.convertToType(data['provisioner'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Parameters holds the parameters for the provisioner that should create volumes of this storage class.
- * @member {Object.V1StorageClassList.
- * StorageClassList is a collection of storage classes.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClassList
- * @class
- * @param items {Array.V1StorageClassList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClassList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1StorageClassList} The populated V1StorageClassList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1StorageClass]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is the list of StorageClasses
- * @member {Array.V1SubjectAccessReview.
- * SubjectAccessReview checks whether or not a user or group can perform an action.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview
- * @class
- * @param spec {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec} Spec holds information about the request being evaluated
- */
- var exports = function(spec) {
- var _this = this;
-
-
-
-
- _this['spec'] = spec;
-
- };
-
- /**
- * Constructs a V1SubjectAccessReview from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReview} The populated V1SubjectAccessReview instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1SubjectAccessReviewSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1SubjectAccessReviewStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec holds information about the request being evaluated
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status is filled in by the server and indicates whether the request is allowed or not
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec.js
deleted file mode 100644
index 59d94c23e1..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1NonResourceAttributes', 'io.kubernetes.js/io.kubernetes.js.models/V1ResourceAttributes'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1NonResourceAttributes'), require('./V1ResourceAttributes'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1SubjectAccessReviewSpec = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1NonResourceAttributes, root.KubernetesJsClient.V1ResourceAttributes);
- }
-}(this, function(ApiClient, V1NonResourceAttributes, V1ResourceAttributes) {
- 'use strict';
-
-
-
-
- /**
- * The V1SubjectAccessReviewSpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1SubjectAccessReviewSpec.
- * SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1SubjectAccessReviewSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewSpec} The populated V1SubjectAccessReviewSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('extra')) {
- obj['extra'] = ApiClient.convertToType(data['extra'], {'String': ['String']});
- }
- if (data.hasOwnProperty('groups')) {
- obj['groups'] = ApiClient.convertToType(data['groups'], ['String']);
- }
- if (data.hasOwnProperty('nonResourceAttributes')) {
- obj['nonResourceAttributes'] = V1NonResourceAttributes.constructFromObject(data['nonResourceAttributes']);
- }
- if (data.hasOwnProperty('resourceAttributes')) {
- obj['resourceAttributes'] = V1ResourceAttributes.constructFromObject(data['resourceAttributes']);
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
- * @member {Object.V1SubjectAccessReviewStatus.
- * SubjectAccessReviewStatus
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus
- * @class
- * @param allowed {Boolean} Allowed is required. True if the action would be allowed, false otherwise.
- */
- var exports = function(allowed) {
- var _this = this;
-
- _this['allowed'] = allowed;
-
-
- };
-
- /**
- * Constructs a V1SubjectAccessReviewStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1SubjectAccessReviewStatus} The populated V1SubjectAccessReviewStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('allowed')) {
- obj['allowed'] = ApiClient.convertToType(data['allowed'], 'Boolean');
- }
- if (data.hasOwnProperty('evaluationError')) {
- obj['evaluationError'] = ApiClient.convertToType(data['evaluationError'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Allowed is required. True if the action would be allowed, false otherwise.
- * @member {Boolean} allowed
- */
- exports.prototype['allowed'] = undefined;
- /**
- * EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
- * @member {String} evaluationError
- */
- exports.prototype['evaluationError'] = undefined;
- /**
- * Reason is optional. It indicates why a request was allowed or denied.
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction.js
deleted file mode 100644
index 0c91f83990..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1TCPSocketAction = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1TCPSocketAction model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1TCPSocketAction.
- * TCPSocketAction describes an action based on opening a socket
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction
- * @class
- * @param port {String} Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- */
- var exports = function(port) {
- var _this = this;
-
- _this['port'] = port;
- };
-
- /**
- * Constructs a V1TCPSocketAction from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1TCPSocketAction} The populated V1TCPSocketAction instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
- * @member {String} port
- */
- exports.prototype['port'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Taint.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Taint.js
deleted file mode 100644
index 9163dcf159..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Taint.js
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Taint = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1Taint model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Taint
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Taint.
- * The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Taint
- * @class
- * @param effect {String} Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
- * @param key {String} Required. The taint key to be applied to a node.
- */
- var exports = function(effect, key) {
- var _this = this;
-
- _this['effect'] = effect;
- _this['key'] = key;
-
-
- };
-
- /**
- * Constructs a V1Taint from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Taint} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Taint} The populated V1Taint instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('effect')) {
- obj['effect'] = ApiClient.convertToType(data['effect'], 'String');
- }
- if (data.hasOwnProperty('key')) {
- obj['key'] = ApiClient.convertToType(data['key'], 'String');
- }
- if (data.hasOwnProperty('timeAdded')) {
- obj['timeAdded'] = ApiClient.convertToType(data['timeAdded'], 'Date');
- }
- if (data.hasOwnProperty('value')) {
- obj['value'] = ApiClient.convertToType(data['value'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
- * @member {String} effect
- */
- exports.prototype['effect'] = undefined;
- /**
- * Required. The taint key to be applied to a node.
- * @member {String} key
- */
- exports.prototype['key'] = undefined;
- /**
- * TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.
- * @member {Date} timeAdded
- */
- exports.prototype['timeAdded'] = undefined;
- /**
- * Required. The taint value corresponding to the taint key.
- * @member {String} value
- */
- exports.prototype['value'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReview.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReview.js
deleted file mode 100644
index 6b62f265e4..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReview.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1TokenReviewSpec'), require('./V1TokenReviewStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1TokenReview = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1TokenReviewSpec, root.KubernetesJsClient.V1TokenReviewStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1TokenReviewSpec, V1TokenReviewStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1TokenReview model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1TokenReview
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1TokenReview.
- * TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReview
- * @class
- * @param spec {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec} Spec holds information about the request being evaluated
- */
- var exports = function(spec) {
- var _this = this;
-
-
-
-
- _this['spec'] = spec;
-
- };
-
- /**
- * Constructs a V1TokenReview from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReview} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReview} The populated V1TokenReview instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1TokenReviewSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1TokenReviewStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec holds information about the request being evaluated
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status is filled in by the server and indicates whether the request can be authenticated.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec.js
deleted file mode 100644
index aa63e0b7c6..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1TokenReviewSpec = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1TokenReviewSpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1TokenReviewSpec.
- * TokenReviewSpec is a description of the token authentication request.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1TokenReviewSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewSpec} The populated V1TokenReviewSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Token is the opaque bearer token.
- * @member {String} token
- */
- exports.prototype['token'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus.js
deleted file mode 100644
index abaf7e615e..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1UserInfo'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1UserInfo'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1TokenReviewStatus = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1UserInfo);
- }
-}(this, function(ApiClient, V1UserInfo) {
- 'use strict';
-
-
-
-
- /**
- * The V1TokenReviewStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1TokenReviewStatus.
- * TokenReviewStatus is the result of the token authentication request.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1TokenReviewStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1TokenReviewStatus} The populated V1TokenReviewStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('authenticated')) {
- obj['authenticated'] = ApiClient.convertToType(data['authenticated'], 'Boolean');
- }
- if (data.hasOwnProperty('error')) {
- obj['error'] = ApiClient.convertToType(data['error'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = V1UserInfo.constructFromObject(data['user']);
- }
- }
- return obj;
- }
-
- /**
- * Authenticated indicates that the token was associated with a known user.
- * @member {Boolean} authenticated
- */
- exports.prototype['authenticated'] = undefined;
- /**
- * Error indicates that the token couldn't be checked
- * @member {String} error
- */
- exports.prototype['error'] = undefined;
- /**
- * User is the UserInfo associated with the provided token.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1UserInfo} user
- */
- exports.prototype['user'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Toleration.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Toleration.js
deleted file mode 100644
index efb3ab5958..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1Toleration.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1Toleration = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1Toleration model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1Toleration
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1Toleration.
- * The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Toleration
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Toleration from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Toleration} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Toleration} The populated V1Toleration instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('effect')) {
- obj['effect'] = ApiClient.convertToType(data['effect'], 'String');
- }
- if (data.hasOwnProperty('key')) {
- obj['key'] = ApiClient.convertToType(data['key'], 'String');
- }
- if (data.hasOwnProperty('operator')) {
- obj['operator'] = ApiClient.convertToType(data['operator'], 'String');
- }
- if (data.hasOwnProperty('tolerationSeconds')) {
- obj['tolerationSeconds'] = ApiClient.convertToType(data['tolerationSeconds'], 'Number');
- }
- if (data.hasOwnProperty('value')) {
- obj['value'] = ApiClient.convertToType(data['value'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- * @member {String} effect
- */
- exports.prototype['effect'] = undefined;
- /**
- * Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- * @member {String} key
- */
- exports.prototype['key'] = undefined;
- /**
- * Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- * @member {String} operator
- */
- exports.prototype['operator'] = undefined;
- /**
- * TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- * @member {Number} tolerationSeconds
- */
- exports.prototype['tolerationSeconds'] = undefined;
- /**
- * Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- * @member {String} value
- */
- exports.prototype['value'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1UserInfo.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1UserInfo.js
deleted file mode 100644
index 6136e1f8a4..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1UserInfo.js
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1UserInfo = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1UserInfo model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1UserInfo
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1UserInfo.
- * UserInfo holds the information about the user needed to implement the user.Info interface.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1UserInfo
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1UserInfo from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1UserInfo} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1UserInfo} The populated V1UserInfo instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('extra')) {
- obj['extra'] = ApiClient.convertToType(data['extra'], {'String': ['String']});
- }
- if (data.hasOwnProperty('groups')) {
- obj['groups'] = ApiClient.convertToType(data['groups'], ['String']);
- }
- if (data.hasOwnProperty('uid')) {
- obj['uid'] = ApiClient.convertToType(data['uid'], 'String');
- }
- if (data.hasOwnProperty('username')) {
- obj['username'] = ApiClient.convertToType(data['username'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Any additional information provided by the authenticator.
- * @member {Object.V1Volume.
- * Volume represents a named volume in a pod that may be accessed by any container in the pod.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1Volume
- * @class
- * @param name {String} Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- */
- var exports = function(name) {
- var _this = this;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- _this['name'] = name;
-
-
-
-
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1Volume from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1Volume} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1Volume} The populated V1Volume instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('awsElasticBlockStore')) {
- obj['awsElasticBlockStore'] = V1AWSElasticBlockStoreVolumeSource.constructFromObject(data['awsElasticBlockStore']);
- }
- if (data.hasOwnProperty('azureDisk')) {
- obj['azureDisk'] = V1AzureDiskVolumeSource.constructFromObject(data['azureDisk']);
- }
- if (data.hasOwnProperty('azureFile')) {
- obj['azureFile'] = V1AzureFileVolumeSource.constructFromObject(data['azureFile']);
- }
- if (data.hasOwnProperty('cephfs')) {
- obj['cephfs'] = V1CephFSVolumeSource.constructFromObject(data['cephfs']);
- }
- if (data.hasOwnProperty('cinder')) {
- obj['cinder'] = V1CinderVolumeSource.constructFromObject(data['cinder']);
- }
- if (data.hasOwnProperty('configMap')) {
- obj['configMap'] = V1ConfigMapVolumeSource.constructFromObject(data['configMap']);
- }
- if (data.hasOwnProperty('downwardAPI')) {
- obj['downwardAPI'] = V1DownwardAPIVolumeSource.constructFromObject(data['downwardAPI']);
- }
- if (data.hasOwnProperty('emptyDir')) {
- obj['emptyDir'] = V1EmptyDirVolumeSource.constructFromObject(data['emptyDir']);
- }
- if (data.hasOwnProperty('fc')) {
- obj['fc'] = V1FCVolumeSource.constructFromObject(data['fc']);
- }
- if (data.hasOwnProperty('flexVolume')) {
- obj['flexVolume'] = V1FlexVolumeSource.constructFromObject(data['flexVolume']);
- }
- if (data.hasOwnProperty('flocker')) {
- obj['flocker'] = V1FlockerVolumeSource.constructFromObject(data['flocker']);
- }
- if (data.hasOwnProperty('gcePersistentDisk')) {
- obj['gcePersistentDisk'] = V1GCEPersistentDiskVolumeSource.constructFromObject(data['gcePersistentDisk']);
- }
- if (data.hasOwnProperty('gitRepo')) {
- obj['gitRepo'] = V1GitRepoVolumeSource.constructFromObject(data['gitRepo']);
- }
- if (data.hasOwnProperty('glusterfs')) {
- obj['glusterfs'] = V1GlusterfsVolumeSource.constructFromObject(data['glusterfs']);
- }
- if (data.hasOwnProperty('hostPath')) {
- obj['hostPath'] = V1HostPathVolumeSource.constructFromObject(data['hostPath']);
- }
- if (data.hasOwnProperty('iscsi')) {
- obj['iscsi'] = V1ISCSIVolumeSource.constructFromObject(data['iscsi']);
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('nfs')) {
- obj['nfs'] = V1NFSVolumeSource.constructFromObject(data['nfs']);
- }
- if (data.hasOwnProperty('persistentVolumeClaim')) {
- obj['persistentVolumeClaim'] = V1PersistentVolumeClaimVolumeSource.constructFromObject(data['persistentVolumeClaim']);
- }
- if (data.hasOwnProperty('photonPersistentDisk')) {
- obj['photonPersistentDisk'] = V1PhotonPersistentDiskVolumeSource.constructFromObject(data['photonPersistentDisk']);
- }
- if (data.hasOwnProperty('portworxVolume')) {
- obj['portworxVolume'] = V1PortworxVolumeSource.constructFromObject(data['portworxVolume']);
- }
- if (data.hasOwnProperty('projected')) {
- obj['projected'] = V1ProjectedVolumeSource.constructFromObject(data['projected']);
- }
- if (data.hasOwnProperty('quobyte')) {
- obj['quobyte'] = V1QuobyteVolumeSource.constructFromObject(data['quobyte']);
- }
- if (data.hasOwnProperty('rbd')) {
- obj['rbd'] = V1RBDVolumeSource.constructFromObject(data['rbd']);
- }
- if (data.hasOwnProperty('scaleIO')) {
- obj['scaleIO'] = V1ScaleIOVolumeSource.constructFromObject(data['scaleIO']);
- }
- if (data.hasOwnProperty('secret')) {
- obj['secret'] = V1SecretVolumeSource.constructFromObject(data['secret']);
- }
- if (data.hasOwnProperty('vsphereVolume')) {
- obj['vsphereVolume'] = V1VsphereVirtualDiskVolumeSource.constructFromObject(data['vsphereVolume']);
- }
- }
- return obj;
- }
-
- /**
- * AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1AWSElasticBlockStoreVolumeSource} awsElasticBlockStore
- */
- exports.prototype['awsElasticBlockStore'] = undefined;
- /**
- * AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1AzureDiskVolumeSource} azureDisk
- */
- exports.prototype['azureDisk'] = undefined;
- /**
- * AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1AzureFileVolumeSource} azureFile
- */
- exports.prototype['azureFile'] = undefined;
- /**
- * CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1CephFSVolumeSource} cephfs
- */
- exports.prototype['cephfs'] = undefined;
- /**
- * Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1CinderVolumeSource} cinder
- */
- exports.prototype['cinder'] = undefined;
- /**
- * ConfigMap represents a configMap that should populate this volume
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapVolumeSource} configMap
- */
- exports.prototype['configMap'] = undefined;
- /**
- * DownwardAPI represents downward API about the pod that should populate this volume
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIVolumeSource} downwardAPI
- */
- exports.prototype['downwardAPI'] = undefined;
- /**
- * EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1EmptyDirVolumeSource} emptyDir
- */
- exports.prototype['emptyDir'] = undefined;
- /**
- * FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1FCVolumeSource} fc
- */
- exports.prototype['fc'] = undefined;
- /**
- * FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1FlexVolumeSource} flexVolume
- */
- exports.prototype['flexVolume'] = undefined;
- /**
- * Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1FlockerVolumeSource} flocker
- */
- exports.prototype['flocker'] = undefined;
- /**
- * GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1GCEPersistentDiskVolumeSource} gcePersistentDisk
- */
- exports.prototype['gcePersistentDisk'] = undefined;
- /**
- * GitRepo represents a git repository at a particular revision.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1GitRepoVolumeSource} gitRepo
- */
- exports.prototype['gitRepo'] = undefined;
- /**
- * Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1GlusterfsVolumeSource} glusterfs
- */
- exports.prototype['glusterfs'] = undefined;
- /**
- * HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1HostPathVolumeSource} hostPath
- */
- exports.prototype['hostPath'] = undefined;
- /**
- * ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ISCSIVolumeSource} iscsi
- */
- exports.prototype['iscsi'] = undefined;
- /**
- * Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1NFSVolumeSource} nfs
- */
- exports.prototype['nfs'] = undefined;
- /**
- * PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PersistentVolumeClaimVolumeSource} persistentVolumeClaim
- */
- exports.prototype['persistentVolumeClaim'] = undefined;
- /**
- * PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PhotonPersistentDiskVolumeSource} photonPersistentDisk
- */
- exports.prototype['photonPersistentDisk'] = undefined;
- /**
- * PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PortworxVolumeSource} portworxVolume
- */
- exports.prototype['portworxVolume'] = undefined;
- /**
- * Items for all in one resources secrets, configmaps, and downward API
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ProjectedVolumeSource} projected
- */
- exports.prototype['projected'] = undefined;
- /**
- * Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1QuobyteVolumeSource} quobyte
- */
- exports.prototype['quobyte'] = undefined;
- /**
- * RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1RBDVolumeSource} rbd
- */
- exports.prototype['rbd'] = undefined;
- /**
- * ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ScaleIOVolumeSource} scaleIO
- */
- exports.prototype['scaleIO'] = undefined;
- /**
- * Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretVolumeSource} secret
- */
- exports.prototype['secret'] = undefined;
- /**
- * VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource} vsphereVolume
- */
- exports.prototype['vsphereVolume'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount.js
deleted file mode 100644
index 4079555489..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount.js
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1VolumeMount = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1VolumeMount model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1VolumeMount.
- * VolumeMount describes a mounting of a Volume within a container.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount
- * @class
- * @param mountPath {String} Path within the container at which the volume should be mounted. Must not contain ':'.
- * @param name {String} This must match the Name of a Volume.
- */
- var exports = function(mountPath, name) {
- var _this = this;
-
- _this['mountPath'] = mountPath;
- _this['name'] = name;
-
-
- };
-
- /**
- * Constructs a V1VolumeMount from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1VolumeMount} The populated V1VolumeMount instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('mountPath')) {
- obj['mountPath'] = ApiClient.convertToType(data['mountPath'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('readOnly')) {
- obj['readOnly'] = ApiClient.convertToType(data['readOnly'], 'Boolean');
- }
- if (data.hasOwnProperty('subPath')) {
- obj['subPath'] = ApiClient.convertToType(data['subPath'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Path within the container at which the volume should be mounted. Must not contain ':'.
- * @member {String} mountPath
- */
- exports.prototype['mountPath'] = undefined;
- /**
- * This must match the Name of a Volume.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.
- * @member {Boolean} readOnly
- */
- exports.prototype['readOnly'] = undefined;
- /**
- * Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).
- * @member {String} subPath
- */
- exports.prototype['subPath'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection.js
deleted file mode 100644
index fe0cb2fc04..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapProjection', 'io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection', 'io.kubernetes.js/io.kubernetes.js.models/V1SecretProjection'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ConfigMapProjection'), require('./V1DownwardAPIProjection'), require('./V1SecretProjection'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1VolumeProjection = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ConfigMapProjection, root.KubernetesJsClient.V1DownwardAPIProjection, root.KubernetesJsClient.V1SecretProjection);
- }
-}(this, function(ApiClient, V1ConfigMapProjection, V1DownwardAPIProjection, V1SecretProjection) {
- 'use strict';
-
-
-
-
- /**
- * The V1VolumeProjection model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1VolumeProjection.
- * Projection that may be projected along with other supported volume types
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1VolumeProjection from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1VolumeProjection} The populated V1VolumeProjection instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('configMap')) {
- obj['configMap'] = V1ConfigMapProjection.constructFromObject(data['configMap']);
- }
- if (data.hasOwnProperty('downwardAPI')) {
- obj['downwardAPI'] = V1DownwardAPIProjection.constructFromObject(data['downwardAPI']);
- }
- if (data.hasOwnProperty('secret')) {
- obj['secret'] = V1SecretProjection.constructFromObject(data['secret']);
- }
- }
- return obj;
- }
-
- /**
- * information about the configMap data to project
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ConfigMapProjection} configMap
- */
- exports.prototype['configMap'] = undefined;
- /**
- * information about the downwardAPI data to project
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1DownwardAPIProjection} downwardAPI
- */
- exports.prototype['downwardAPI'] = undefined;
- /**
- * information about the secret data to project
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1SecretProjection} secret
- */
- exports.prototype['secret'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource.js
deleted file mode 100644
index c582d1cbb9..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource.js
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1VsphereVirtualDiskVolumeSource = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1VsphereVirtualDiskVolumeSource model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1VsphereVirtualDiskVolumeSource.
- * Represents a vSphere volume resource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource
- * @class
- * @param volumePath {String} Path that identifies vSphere volume vmdk
- */
- var exports = function(volumePath) {
- var _this = this;
-
-
- _this['volumePath'] = volumePath;
- };
-
- /**
- * Constructs a V1VsphereVirtualDiskVolumeSource from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1VsphereVirtualDiskVolumeSource} The populated V1VsphereVirtualDiskVolumeSource instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('fsType')) {
- obj['fsType'] = ApiClient.convertToType(data['fsType'], 'String');
- }
- if (data.hasOwnProperty('volumePath')) {
- obj['volumePath'] = ApiClient.convertToType(data['volumePath'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.
- * @member {String} fsType
- */
- exports.prototype['fsType'] = undefined;
- /**
- * Path that identifies vSphere volume vmdk
- * @member {String} volumePath
- */
- exports.prototype['volumePath'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent.js
deleted file mode 100644
index 1569b3e9b0..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent.js
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/RuntimeRawExtension'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./RuntimeRawExtension'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1WatchEvent = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.RuntimeRawExtension);
- }
-}(this, function(ApiClient, RuntimeRawExtension) {
- 'use strict';
-
-
-
-
- /**
- * The V1WatchEvent model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1WatchEvent.
- * Event represents a single event to a watched resource.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent
- * @class
- * @param _object {module:io.kubernetes.js/io.kubernetes.js.models/RuntimeRawExtension} Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context.
- * @param type {String}
- */
- var exports = function(_object, type) {
- var _this = this;
-
- _this['object'] = _object;
- _this['type'] = type;
- };
-
- /**
- * Constructs a V1WatchEvent from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1WatchEvent} The populated V1WatchEvent instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('object')) {
- obj['object'] = RuntimeRawExtension.constructFromObject(data['object']);
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/RuntimeRawExtension} object
- */
- exports.prototype['object'] = undefined;
- /**
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm.js
deleted file mode 100644
index ff7617317d..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1PodAffinityTerm'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1WeightedPodAffinityTerm = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1PodAffinityTerm);
- }
-}(this, function(ApiClient, V1PodAffinityTerm) {
- 'use strict';
-
-
-
-
- /**
- * The V1WeightedPodAffinityTerm model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1WeightedPodAffinityTerm.
- * The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm
- * @class
- * @param podAffinityTerm {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm} Required. A pod affinity term, associated with the corresponding weight.
- * @param weight {Number} weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
- */
- var exports = function(podAffinityTerm, weight) {
- var _this = this;
-
- _this['podAffinityTerm'] = podAffinityTerm;
- _this['weight'] = weight;
- };
-
- /**
- * Constructs a V1WeightedPodAffinityTerm from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1WeightedPodAffinityTerm} The populated V1WeightedPodAffinityTerm instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('podAffinityTerm')) {
- obj['podAffinityTerm'] = V1PodAffinityTerm.constructFromObject(data['podAffinityTerm']);
- }
- if (data.hasOwnProperty('weight')) {
- obj['weight'] = ApiClient.convertToType(data['weight'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * Required. A pod affinity term, associated with the corresponding weight.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodAffinityTerm} podAffinityTerm
- */
- exports.prototype['podAffinityTerm'] = undefined;
- /**
- * weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
- * @member {Number} weight
- */
- exports.prototype['weight'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole.js
deleted file mode 100644
index 9f3b167d2e..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1PolicyRule'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1alpha1PolicyRule'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1alpha1ClusterRole = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1alpha1PolicyRule);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1alpha1PolicyRule) {
- 'use strict';
-
-
-
-
- /**
- * The V1alpha1ClusterRole model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1alpha1ClusterRole.
- * ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole
- * @class
- * @param rules {Array.V1alpha1ClusterRole from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRole} The populated V1alpha1ClusterRole instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('rules')) {
- obj['rules'] = ApiClient.convertToType(data['rules'], [V1alpha1PolicyRule]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Rules holds all the PolicyRules for this ClusterRole
- * @member {Array.V1alpha1ClusterRoleBinding.
- * ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding
- * @class
- * @param roleRef {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef} RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
- * @param subjects {Array.V1alpha1ClusterRoleBinding from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBinding} The populated V1alpha1ClusterRoleBinding instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('roleRef')) {
- obj['roleRef'] = V1alpha1RoleRef.constructFromObject(data['roleRef']);
- }
- if (data.hasOwnProperty('subjects')) {
- obj['subjects'] = ApiClient.convertToType(data['subjects'], [V1alpha1Subject]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef} roleRef
- */
- exports.prototype['roleRef'] = undefined;
- /**
- * Subjects holds references to the objects the role applies to.
- * @member {Array.V1alpha1ClusterRoleBindingList.
- * ClusterRoleBindingList is a collection of ClusterRoleBindings
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBindingList
- * @class
- * @param items {Array.V1alpha1ClusterRoleBindingList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBindingList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleBindingList} The populated V1alpha1ClusterRoleBindingList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1alpha1ClusterRoleBinding]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of ClusterRoleBindings
- * @member {Array.V1alpha1ClusterRoleList.
- * ClusterRoleList is a collection of ClusterRoles
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleList
- * @class
- * @param items {Array.V1alpha1ClusterRoleList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1ClusterRoleList} The populated V1alpha1ClusterRoleList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1alpha1ClusterRole]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of ClusterRoles
- * @member {Array.V1alpha1PodPreset.
- * PodPreset is a policy resource that defines additional runtime requirements for a Pod.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1alpha1PodPreset from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset} The populated V1alpha1PodPreset instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1alpha1PodPresetSpec.constructFromObject(data['spec']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetSpec} spec
- */
- exports.prototype['spec'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList.js
deleted file mode 100644
index d1533ec11a..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPreset'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1alpha1PodPreset'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1alpha1PodPresetList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1alpha1PodPreset);
- }
-}(this, function(ApiClient, V1ListMeta, V1alpha1PodPreset) {
- 'use strict';
-
-
-
-
- /**
- * The V1alpha1PodPresetList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1alpha1PodPresetList.
- * PodPresetList is a list of PodPreset objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList
- * @class
- * @param items {Array.V1alpha1PodPresetList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetList} The populated V1alpha1PodPresetList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1alpha1PodPreset]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of schema objects.
- * @member {Array.V1alpha1PodPresetSpec.
- * PodPresetSpec is a description of a pod injection policy.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1alpha1PodPresetSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PodPresetSpec} The populated V1alpha1PodPresetSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('env')) {
- obj['env'] = ApiClient.convertToType(data['env'], [V1EnvVar]);
- }
- if (data.hasOwnProperty('envFrom')) {
- obj['envFrom'] = ApiClient.convertToType(data['envFrom'], [V1EnvFromSource]);
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = V1LabelSelector.constructFromObject(data['selector']);
- }
- if (data.hasOwnProperty('volumeMounts')) {
- obj['volumeMounts'] = ApiClient.convertToType(data['volumeMounts'], [V1VolumeMount]);
- }
- if (data.hasOwnProperty('volumes')) {
- obj['volumes'] = ApiClient.convertToType(data['volumes'], [V1Volume]);
- }
- }
- return obj;
- }
-
- /**
- * Env defines the collection of EnvVar to inject into containers.
- * @member {Array.V1alpha1PolicyRule.
- * PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PolicyRule
- * @class
- * @param verbs {Array.V1alpha1PolicyRule from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PolicyRule} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1PolicyRule} The populated V1alpha1PolicyRule instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiGroups')) {
- obj['apiGroups'] = ApiClient.convertToType(data['apiGroups'], ['String']);
- }
- if (data.hasOwnProperty('nonResourceURLs')) {
- obj['nonResourceURLs'] = ApiClient.convertToType(data['nonResourceURLs'], ['String']);
- }
- if (data.hasOwnProperty('resourceNames')) {
- obj['resourceNames'] = ApiClient.convertToType(data['resourceNames'], ['String']);
- }
- if (data.hasOwnProperty('resources')) {
- obj['resources'] = ApiClient.convertToType(data['resources'], ['String']);
- }
- if (data.hasOwnProperty('verbs')) {
- obj['verbs'] = ApiClient.convertToType(data['verbs'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.
- * @member {Array.V1alpha1Role.
- * Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role
- * @class
- * @param rules {Array.V1alpha1Role from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Role} The populated V1alpha1Role instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('rules')) {
- obj['rules'] = ApiClient.convertToType(data['rules'], [V1alpha1PolicyRule]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Rules holds all the PolicyRules for this Role
- * @member {Array.V1alpha1RoleBinding.
- * RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding
- * @class
- * @param roleRef {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef} RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
- * @param subjects {Array.V1alpha1RoleBinding from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBinding} The populated V1alpha1RoleBinding instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('roleRef')) {
- obj['roleRef'] = V1alpha1RoleRef.constructFromObject(data['roleRef']);
- }
- if (data.hasOwnProperty('subjects')) {
- obj['subjects'] = ApiClient.convertToType(data['subjects'], [V1alpha1Subject]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef} roleRef
- */
- exports.prototype['roleRef'] = undefined;
- /**
- * Subjects holds references to the objects the role applies to.
- * @member {Array.V1alpha1RoleBindingList.
- * RoleBindingList is a collection of RoleBindings
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList
- * @class
- * @param items {Array.V1alpha1RoleBindingList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleBindingList} The populated V1alpha1RoleBindingList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1alpha1RoleBinding]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of RoleBindings
- * @member {Array.V1alpha1RoleList.
- * RoleList is a collection of Roles
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList
- * @class
- * @param items {Array.V1alpha1RoleList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleList} The populated V1alpha1RoleList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1alpha1Role]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of Roles
- * @member {Array.V1alpha1RoleRef.
- * RoleRef contains information that points to the role being used
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef
- * @class
- * @param apiGroup {String} APIGroup is the group for the resource being referenced
- * @param kind {String} Kind is the type of resource being referenced
- * @param name {String} Name is the name of resource being referenced
- */
- var exports = function(apiGroup, kind, name) {
- var _this = this;
-
- _this['apiGroup'] = apiGroup;
- _this['kind'] = kind;
- _this['name'] = name;
- };
-
- /**
- * Constructs a V1alpha1RoleRef from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1RoleRef} The populated V1alpha1RoleRef instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiGroup')) {
- obj['apiGroup'] = ApiClient.convertToType(data['apiGroup'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * APIGroup is the group for the resource being referenced
- * @member {String} apiGroup
- */
- exports.prototype['apiGroup'] = undefined;
- /**
- * Kind is the type of resource being referenced
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Name is the name of resource being referenced
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject.js
deleted file mode 100644
index 6cc7669ae2..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject.js
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1alpha1Subject = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1alpha1Subject model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1alpha1Subject.
- * Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject
- * @class
- * @param kind {String} Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.
- * @param name {String} Name of the object being referenced.
- */
- var exports = function(kind, name) {
- var _this = this;
-
-
- _this['kind'] = kind;
- _this['name'] = name;
-
- };
-
- /**
- * Constructs a V1alpha1Subject from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1alpha1Subject} The populated V1alpha1Subject instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('namespace')) {
- obj['namespace'] = ApiClient.convertToType(data['namespace'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects.
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Name of the object being referenced.
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
- /**
- * Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.
- * @member {String} namespace
- */
- exports.prototype['namespace'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion.js
deleted file mode 100644
index c9592b5751..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1APIVersion = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1APIVersion model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1APIVersion.
- * An APIVersion represents a single concrete version of an object model.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1beta1APIVersion from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1APIVersion} The populated V1beta1APIVersion instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Name of this version (e.g. 'v1').
- * @member {String} name
- */
- exports.prototype['name'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest.js
deleted file mode 100644
index c201fed684..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest.js
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1beta1CertificateSigningRequestSpec'), require('./V1beta1CertificateSigningRequestStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1CertificateSigningRequest = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1beta1CertificateSigningRequestSpec, root.KubernetesJsClient.V1beta1CertificateSigningRequestStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1beta1CertificateSigningRequestSpec, V1beta1CertificateSigningRequestStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1CertificateSigningRequest model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1CertificateSigningRequest.
- * Describes a certificate signing request
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1beta1CertificateSigningRequest from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest} The populated V1beta1CertificateSigningRequest instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1beta1CertificateSigningRequestSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1beta1CertificateSigningRequestStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * The certificate request itself and any additional information.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Derived information about the request.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition.js
deleted file mode 100644
index bcb46a7996..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition.js
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1CertificateSigningRequestCondition = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1CertificateSigningRequestCondition model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1CertificateSigningRequestCondition.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition
- * @class
- * @param type {String} request approval state, currently Approved or Denied.
- */
- var exports = function(type) {
- var _this = this;
-
-
-
-
- _this['type'] = type;
- };
-
- /**
- * Constructs a V1beta1CertificateSigningRequestCondition from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestCondition} The populated V1beta1CertificateSigningRequestCondition instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('lastUpdateTime')) {
- obj['lastUpdateTime'] = ApiClient.convertToType(data['lastUpdateTime'], 'Date');
- }
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- if (data.hasOwnProperty('reason')) {
- obj['reason'] = ApiClient.convertToType(data['reason'], 'String');
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * timestamp for the last update to this condition
- * @member {Date} lastUpdateTime
- */
- exports.prototype['lastUpdateTime'] = undefined;
- /**
- * human readable message with details about the request state
- * @member {String} message
- */
- exports.prototype['message'] = undefined;
- /**
- * brief reason for the request state
- * @member {String} reason
- */
- exports.prototype['reason'] = undefined;
- /**
- * request approval state, currently Approved or Denied.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList.js
deleted file mode 100644
index bbbc3416f8..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequest'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1beta1CertificateSigningRequest'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1CertificateSigningRequestList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1beta1CertificateSigningRequest);
- }
-}(this, function(ApiClient, V1ListMeta, V1beta1CertificateSigningRequest) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1CertificateSigningRequestList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1CertificateSigningRequestList.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList
- * @class
- * @param items {Array.V1beta1CertificateSigningRequestList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestList} The populated V1beta1CertificateSigningRequestList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1beta1CertificateSigningRequest]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * @member {Array.V1beta1CertificateSigningRequestSpec.
- * This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestSpec
- * @class
- * @param request {String} Base64-encoded PKCS#10 CSR data
- */
- var exports = function(request) {
- var _this = this;
-
-
-
- _this['request'] = request;
-
-
-
- };
-
- /**
- * Constructs a V1beta1CertificateSigningRequestSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestSpec} The populated V1beta1CertificateSigningRequestSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('extra')) {
- obj['extra'] = ApiClient.convertToType(data['extra'], {'String': ['String']});
- }
- if (data.hasOwnProperty('groups')) {
- obj['groups'] = ApiClient.convertToType(data['groups'], ['String']);
- }
- if (data.hasOwnProperty('request')) {
- obj['request'] = ApiClient.convertToType(data['request'], 'String');
- }
- if (data.hasOwnProperty('uid')) {
- obj['uid'] = ApiClient.convertToType(data['uid'], 'String');
- }
- if (data.hasOwnProperty('usages')) {
- obj['usages'] = ApiClient.convertToType(data['usages'], ['String']);
- }
- if (data.hasOwnProperty('username')) {
- obj['username'] = ApiClient.convertToType(data['username'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Extra information about the requesting user. See user.Info interface for details.
- * @member {Object.V1beta1CertificateSigningRequestStatus.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1CertificateSigningRequestStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1CertificateSigningRequestStatus} The populated V1beta1CertificateSigningRequestStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('certificate')) {
- obj['certificate'] = ApiClient.convertToType(data['certificate'], 'String');
- }
- if (data.hasOwnProperty('conditions')) {
- obj['conditions'] = ApiClient.convertToType(data['conditions'], [V1beta1CertificateSigningRequestCondition]);
- }
- }
- return obj;
- }
-
- /**
- * If request was approved, the controller will place the issued certificate here.
- * @member {String} certificate
- */
- exports.prototype['certificate'] = undefined;
- /**
- * Conditions applied to the request, such as approval or denial.
- * @member {Array.V1beta1ClusterRole.
- * ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole
- * @class
- * @param rules {Array.V1beta1ClusterRole from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRole} The populated V1beta1ClusterRole instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('rules')) {
- obj['rules'] = ApiClient.convertToType(data['rules'], [V1beta1PolicyRule]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Rules holds all the PolicyRules for this ClusterRole
- * @member {Array.V1beta1ClusterRoleBinding.
- * ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding
- * @class
- * @param roleRef {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleRef} RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
- * @param subjects {Array.V1beta1ClusterRoleBinding from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBinding} The populated V1beta1ClusterRoleBinding instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('roleRef')) {
- obj['roleRef'] = V1beta1RoleRef.constructFromObject(data['roleRef']);
- }
- if (data.hasOwnProperty('subjects')) {
- obj['subjects'] = ApiClient.convertToType(data['subjects'], [V1beta1Subject]);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RoleRef} roleRef
- */
- exports.prototype['roleRef'] = undefined;
- /**
- * Subjects holds references to the objects the role applies to.
- * @member {Array.V1beta1ClusterRoleBindingList.
- * ClusterRoleBindingList is a collection of ClusterRoleBindings
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBindingList
- * @class
- * @param items {Array.V1beta1ClusterRoleBindingList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBindingList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleBindingList} The populated V1beta1ClusterRoleBindingList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1beta1ClusterRoleBinding]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of ClusterRoleBindings
- * @member {Array.V1beta1ClusterRoleList.
- * ClusterRoleList is a collection of ClusterRoles
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleList
- * @class
- * @param items {Array.V1beta1ClusterRoleList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1ClusterRoleList} The populated V1beta1ClusterRoleList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1beta1ClusterRole]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of ClusterRoles
- * @member {Array.V1beta1DaemonSet.
- * DaemonSet represents the configuration of a daemon set.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1beta1DaemonSet from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet} The populated V1beta1DaemonSet instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1beta1DaemonSetSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1beta1DaemonSetStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * The desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList.js
deleted file mode 100644
index f1eb4e6411..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSet'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1beta1DaemonSet'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1DaemonSetList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1beta1DaemonSet);
- }
-}(this, function(ApiClient, V1ListMeta, V1beta1DaemonSet) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1DaemonSetList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1DaemonSetList.
- * DaemonSetList is a collection of daemon sets.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList
- * @class
- * @param items {Array.V1beta1DaemonSetList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetList} The populated V1beta1DaemonSetList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1beta1DaemonSet]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * A list of daemon sets.
- * @member {Array.V1beta1DaemonSetSpec.
- * DaemonSetSpec is the specification of a daemon set.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetSpec
- * @class
- * @param template {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template
- */
- var exports = function(template) {
- var _this = this;
-
-
-
- _this['template'] = template;
-
-
- };
-
- /**
- * Constructs a V1beta1DaemonSetSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetSpec} The populated V1beta1DaemonSetSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('minReadySeconds')) {
- obj['minReadySeconds'] = ApiClient.convertToType(data['minReadySeconds'], 'Number');
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = V1LabelSelector.constructFromObject(data['selector']);
- }
- if (data.hasOwnProperty('template')) {
- obj['template'] = V1PodTemplateSpec.constructFromObject(data['template']);
- }
- if (data.hasOwnProperty('templateGeneration')) {
- obj['templateGeneration'] = ApiClient.convertToType(data['templateGeneration'], 'Number');
- }
- if (data.hasOwnProperty('updateStrategy')) {
- obj['updateStrategy'] = V1beta1DaemonSetUpdateStrategy.constructFromObject(data['updateStrategy']);
- }
- }
- return obj;
- }
-
- /**
- * The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
- * @member {Number} minReadySeconds
- */
- exports.prototype['minReadySeconds'] = undefined;
- /**
- * A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} selector
- */
- exports.prototype['selector'] = undefined;
- /**
- * An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1PodTemplateSpec} template
- */
- exports.prototype['template'] = undefined;
- /**
- * A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
- * @member {Number} templateGeneration
- */
- exports.prototype['templateGeneration'] = undefined;
- /**
- * An update strategy to replace existing DaemonSet pods with new pods.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy} updateStrategy
- */
- exports.prototype['updateStrategy'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus.js
deleted file mode 100644
index 7e5576e8c0..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus.js
+++ /dev/null
@@ -1,148 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1DaemonSetStatus = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1DaemonSetStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1DaemonSetStatus.
- * DaemonSetStatus represents the current status of a daemon set.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus
- * @class
- * @param currentNumberScheduled {Number} The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md
- * @param desiredNumberScheduled {Number} The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md
- * @param numberMisscheduled {Number} The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md
- * @param numberReady {Number} The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
- */
- var exports = function(currentNumberScheduled, desiredNumberScheduled, numberMisscheduled, numberReady) {
- var _this = this;
-
- _this['currentNumberScheduled'] = currentNumberScheduled;
- _this['desiredNumberScheduled'] = desiredNumberScheduled;
-
- _this['numberMisscheduled'] = numberMisscheduled;
- _this['numberReady'] = numberReady;
-
-
-
- };
-
- /**
- * Constructs a V1beta1DaemonSetStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetStatus} The populated V1beta1DaemonSetStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('currentNumberScheduled')) {
- obj['currentNumberScheduled'] = ApiClient.convertToType(data['currentNumberScheduled'], 'Number');
- }
- if (data.hasOwnProperty('desiredNumberScheduled')) {
- obj['desiredNumberScheduled'] = ApiClient.convertToType(data['desiredNumberScheduled'], 'Number');
- }
- if (data.hasOwnProperty('numberAvailable')) {
- obj['numberAvailable'] = ApiClient.convertToType(data['numberAvailable'], 'Number');
- }
- if (data.hasOwnProperty('numberMisscheduled')) {
- obj['numberMisscheduled'] = ApiClient.convertToType(data['numberMisscheduled'], 'Number');
- }
- if (data.hasOwnProperty('numberReady')) {
- obj['numberReady'] = ApiClient.convertToType(data['numberReady'], 'Number');
- }
- if (data.hasOwnProperty('numberUnavailable')) {
- obj['numberUnavailable'] = ApiClient.convertToType(data['numberUnavailable'], 'Number');
- }
- if (data.hasOwnProperty('observedGeneration')) {
- obj['observedGeneration'] = ApiClient.convertToType(data['observedGeneration'], 'Number');
- }
- if (data.hasOwnProperty('updatedNumberScheduled')) {
- obj['updatedNumberScheduled'] = ApiClient.convertToType(data['updatedNumberScheduled'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md
- * @member {Number} currentNumberScheduled
- */
- exports.prototype['currentNumberScheduled'] = undefined;
- /**
- * The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md
- * @member {Number} desiredNumberScheduled
- */
- exports.prototype['desiredNumberScheduled'] = undefined;
- /**
- * The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
- * @member {Number} numberAvailable
- */
- exports.prototype['numberAvailable'] = undefined;
- /**
- * The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md
- * @member {Number} numberMisscheduled
- */
- exports.prototype['numberMisscheduled'] = undefined;
- /**
- * The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
- * @member {Number} numberReady
- */
- exports.prototype['numberReady'] = undefined;
- /**
- * The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
- * @member {Number} numberUnavailable
- */
- exports.prototype['numberUnavailable'] = undefined;
- /**
- * The most recent generation observed by the daemon set controller.
- * @member {Number} observedGeneration
- */
- exports.prototype['observedGeneration'] = undefined;
- /**
- * The total number of nodes that are running updated daemon pod
- * @member {Number} updatedNumberScheduled
- */
- exports.prototype['updatedNumberScheduled'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy.js
deleted file mode 100644
index 351a341638..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1RollingUpdateDaemonSet'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1beta1RollingUpdateDaemonSet'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1DaemonSetUpdateStrategy = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1beta1RollingUpdateDaemonSet);
- }
-}(this, function(ApiClient, V1beta1RollingUpdateDaemonSet) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1DaemonSetUpdateStrategy model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1DaemonSetUpdateStrategy.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1DaemonSetUpdateStrategy from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1DaemonSetUpdateStrategy} The populated V1beta1DaemonSetUpdateStrategy instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('rollingUpdate')) {
- obj['rollingUpdate'] = V1beta1RollingUpdateDaemonSet.constructFromObject(data['rollingUpdate']);
- }
- if (data.hasOwnProperty('type')) {
- obj['type'] = ApiClient.convertToType(data['type'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Rolling update config params. Present only if type = \"RollingUpdate\".
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RollingUpdateDaemonSet} rollingUpdate
- */
- exports.prototype['rollingUpdate'] = undefined;
- /**
- * Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete.
- * @member {String} type
- */
- exports.prototype['type'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction.js
deleted file mode 100644
index f3a5bcd4db..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction.js
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1DeleteOptions'), require('./V1ObjectMeta'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1Eviction = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1DeleteOptions, root.KubernetesJsClient.V1ObjectMeta);
- }
-}(this, function(ApiClient, V1DeleteOptions, V1ObjectMeta) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1Eviction model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1Eviction.
- * Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1beta1Eviction from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Eviction} The populated V1beta1Eviction instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('deleteOptions')) {
- obj['deleteOptions'] = V1DeleteOptions.constructFromObject(data['deleteOptions']);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * DeleteOptions may be provided
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1DeleteOptions} deleteOptions
- */
- exports.prototype['deleteOptions'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * ObjectMeta describes the pod that is being evicted.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions.js
deleted file mode 100644
index 62ee362398..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1beta1IDRange'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1FSGroupStrategyOptions = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1beta1IDRange);
- }
-}(this, function(ApiClient, V1beta1IDRange) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1FSGroupStrategyOptions model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1FSGroupStrategyOptions.
- * FSGroupStrategyOptions defines the strategy type and options used to create the strategy.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1FSGroupStrategyOptions from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions} The populated V1beta1FSGroupStrategyOptions instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('ranges')) {
- obj['ranges'] = ApiClient.convertToType(data['ranges'], [V1beta1IDRange]);
- }
- if (data.hasOwnProperty('rule')) {
- obj['rule'] = ApiClient.convertToType(data['rule'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.
- * @member {Array.V1beta1HTTPIngressPath.
- * HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressPath
- * @class
- * @param backend {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend} Backend defines the referenced service endpoint to which the traffic will be forwarded to.
- */
- var exports = function(backend) {
- var _this = this;
-
- _this['backend'] = backend;
-
- };
-
- /**
- * Constructs a V1beta1HTTPIngressPath from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressPath} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressPath} The populated V1beta1HTTPIngressPath instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('backend')) {
- obj['backend'] = V1beta1IngressBackend.constructFromObject(data['backend']);
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Backend defines the referenced service endpoint to which the traffic will be forwarded to.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend} backend
- */
- exports.prototype['backend'] = undefined;
- /**
- * Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.
- * @member {String} path
- */
- exports.prototype['path'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue.js
deleted file mode 100644
index af39a6c491..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressPath'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1beta1HTTPIngressPath'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1HTTPIngressRuleValue = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1beta1HTTPIngressPath);
- }
-}(this, function(ApiClient, V1beta1HTTPIngressPath) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1HTTPIngressRuleValue model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1HTTPIngressRuleValue.
- * HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue
- * @class
- * @param paths {Array.V1beta1HTTPIngressRuleValue from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue} The populated V1beta1HTTPIngressRuleValue instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('paths')) {
- obj['paths'] = ApiClient.convertToType(data['paths'], [V1beta1HTTPIngressPath]);
- }
- }
- return obj;
- }
-
- /**
- * A collection of paths that map requests to backends.
- * @member {Array.V1beta1HostPortRange.
- * Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HostPortRange
- * @class
- * @param max {Number} max is the end of the range, inclusive.
- * @param min {Number} min is the start of the range, inclusive.
- */
- var exports = function(max, min) {
- var _this = this;
-
- _this['max'] = max;
- _this['min'] = min;
- };
-
- /**
- * Constructs a V1beta1HostPortRange from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HostPortRange} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HostPortRange} The populated V1beta1HostPortRange instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('max')) {
- obj['max'] = ApiClient.convertToType(data['max'], 'Number');
- }
- if (data.hasOwnProperty('min')) {
- obj['min'] = ApiClient.convertToType(data['min'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * max is the end of the range, inclusive.
- * @member {Number} max
- */
- exports.prototype['max'] = undefined;
- /**
- * min is the start of the range, inclusive.
- * @member {Number} min
- */
- exports.prototype['min'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange.js
deleted file mode 100644
index 6e5a775f0b..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1IDRange = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1IDRange model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1IDRange.
- * ID Range provides a min/max of an allowed range of IDs.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange
- * @class
- * @param max {Number} Max is the end of the range, inclusive.
- * @param min {Number} Min is the start of the range, inclusive.
- */
- var exports = function(max, min) {
- var _this = this;
-
- _this['max'] = max;
- _this['min'] = min;
- };
-
- /**
- * Constructs a V1beta1IDRange from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IDRange} The populated V1beta1IDRange instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('max')) {
- obj['max'] = ApiClient.convertToType(data['max'], 'Number');
- }
- if (data.hasOwnProperty('min')) {
- obj['min'] = ApiClient.convertToType(data['min'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * Max is the end of the range, inclusive.
- * @member {Number} max
- */
- exports.prototype['max'] = undefined;
- /**
- * Min is the start of the range, inclusive.
- * @member {Number} min
- */
- exports.prototype['min'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress.js
deleted file mode 100644
index ce06cd00ad..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1beta1IngressSpec'), require('./V1beta1IngressStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1Ingress = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1beta1IngressSpec, root.KubernetesJsClient.V1beta1IngressStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1beta1IngressSpec, V1beta1IngressStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1Ingress model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1Ingress.
- * Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1beta1Ingress from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress} The populated V1beta1Ingress instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1beta1IngressSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1beta1IngressStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend.js
deleted file mode 100644
index e1c4595aad..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1IngressBackend = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1IngressBackend model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1IngressBackend.
- * IngressBackend describes all endpoints for a given service and port.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend
- * @class
- * @param serviceName {String} Specifies the name of the referenced service.
- * @param servicePort {String} Specifies the port of the referenced service.
- */
- var exports = function(serviceName, servicePort) {
- var _this = this;
-
- _this['serviceName'] = serviceName;
- _this['servicePort'] = servicePort;
- };
-
- /**
- * Constructs a V1beta1IngressBackend from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend} The populated V1beta1IngressBackend instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('serviceName')) {
- obj['serviceName'] = ApiClient.convertToType(data['serviceName'], 'String');
- }
- if (data.hasOwnProperty('servicePort')) {
- obj['servicePort'] = ApiClient.convertToType(data['servicePort'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Specifies the name of the referenced service.
- * @member {String} serviceName
- */
- exports.prototype['serviceName'] = undefined;
- /**
- * Specifies the port of the referenced service.
- * @member {String} servicePort
- */
- exports.prototype['servicePort'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList.js
deleted file mode 100644
index 6a5bd16855..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1Ingress'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1beta1Ingress'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1IngressList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1beta1Ingress);
- }
-}(this, function(ApiClient, V1ListMeta, V1beta1Ingress) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1IngressList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1IngressList.
- * IngressList is a collection of Ingress.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList
- * @class
- * @param items {Array.V1beta1IngressList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressList} The populated V1beta1IngressList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1beta1Ingress]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is the list of Ingress.
- * @member {Array.V1beta1IngressRule.
- * IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressRule
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1IngressRule from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressRule} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressRule} The populated V1beta1IngressRule instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('host')) {
- obj['host'] = ApiClient.convertToType(data['host'], 'String');
- }
- if (data.hasOwnProperty('http')) {
- obj['http'] = V1beta1HTTPIngressRuleValue.constructFromObject(data['http']);
- }
- }
- return obj;
- }
-
- /**
- * Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.
- * @member {String} host
- */
- exports.prototype['host'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1HTTPIngressRuleValue} http
- */
- exports.prototype['http'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec.js
deleted file mode 100644
index 60864069a0..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressRule', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1beta1IngressBackend'), require('./V1beta1IngressRule'), require('./V1beta1IngressTLS'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1IngressSpec = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1beta1IngressBackend, root.KubernetesJsClient.V1beta1IngressRule, root.KubernetesJsClient.V1beta1IngressTLS);
- }
-}(this, function(ApiClient, V1beta1IngressBackend, V1beta1IngressRule, V1beta1IngressTLS) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1IngressSpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1IngressSpec.
- * IngressSpec describes the Ingress the user wishes to exist.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
- };
-
- /**
- * Constructs a V1beta1IngressSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressSpec} The populated V1beta1IngressSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('backend')) {
- obj['backend'] = V1beta1IngressBackend.constructFromObject(data['backend']);
- }
- if (data.hasOwnProperty('rules')) {
- obj['rules'] = ApiClient.convertToType(data['rules'], [V1beta1IngressRule]);
- }
- if (data.hasOwnProperty('tls')) {
- obj['tls'] = ApiClient.convertToType(data['tls'], [V1beta1IngressTLS]);
- }
- }
- return obj;
- }
-
- /**
- * A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressBackend} backend
- */
- exports.prototype['backend'] = undefined;
- /**
- * A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
- * @member {Array.V1beta1IngressStatus.
- * IngressStatus describe the current state of the Ingress.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressStatus
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
- };
-
- /**
- * Constructs a V1beta1IngressStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressStatus} The populated V1beta1IngressStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('loadBalancer')) {
- obj['loadBalancer'] = V1LoadBalancerStatus.constructFromObject(data['loadBalancer']);
- }
- }
- return obj;
- }
-
- /**
- * LoadBalancer contains the current status of the load-balancer.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LoadBalancerStatus} loadBalancer
- */
- exports.prototype['loadBalancer'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS.js
deleted file mode 100644
index c27f26de88..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1IngressTLS = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1IngressTLS model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1IngressTLS.
- * IngressTLS describes the transport layer security associated with an Ingress.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1IngressTLS from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1IngressTLS} The populated V1beta1IngressTLS instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('hosts')) {
- obj['hosts'] = ApiClient.convertToType(data['hosts'], ['String']);
- }
- if (data.hasOwnProperty('secretName')) {
- obj['secretName'] = ApiClient.convertToType(data['secretName'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
- * @member {Array.V1beta1LocalSubjectAccessReview.
- * LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview
- * @class
- * @param spec {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReviewSpec} Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
- */
- var exports = function(spec) {
- var _this = this;
-
-
-
-
- _this['spec'] = spec;
-
- };
-
- /**
- * Constructs a V1beta1LocalSubjectAccessReview from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1LocalSubjectAccessReview} The populated V1beta1LocalSubjectAccessReview instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1beta1SubjectAccessReviewSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1beta1SubjectAccessReviewStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReviewSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Status is filled in by the server and indicates whether the request is allowed or not
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SubjectAccessReviewStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy.js
deleted file mode 100644
index 7f1cbc028b..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy.js
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1beta1NetworkPolicySpec'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1NetworkPolicy = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1beta1NetworkPolicySpec);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1beta1NetworkPolicySpec) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1NetworkPolicy model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1NetworkPolicy.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1beta1NetworkPolicy from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicy} The populated V1beta1NetworkPolicy instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1beta1NetworkPolicySpec.constructFromObject(data['spec']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Specification of the desired behavior for this NetworkPolicy.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec} spec
- */
- exports.prototype['spec'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule.js
deleted file mode 100644
index c44f91f785..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPeer', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1beta1NetworkPolicyPeer'), require('./V1beta1NetworkPolicyPort'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1NetworkPolicyIngressRule = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1beta1NetworkPolicyPeer, root.KubernetesJsClient.V1beta1NetworkPolicyPort);
- }
-}(this, function(ApiClient, V1beta1NetworkPolicyPeer, V1beta1NetworkPolicyPort) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1NetworkPolicyIngressRule model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1NetworkPolicyIngressRule.
- * This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1NetworkPolicyIngressRule from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule} The populated V1beta1NetworkPolicyIngressRule instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('from')) {
- obj['from'] = ApiClient.convertToType(data['from'], [V1beta1NetworkPolicyPeer]);
- }
- if (data.hasOwnProperty('ports')) {
- obj['ports'] = ApiClient.convertToType(data['ports'], [V1beta1NetworkPolicyPort]);
- }
- }
- return obj;
- }
-
- /**
- * List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.
- * @member {Array.V1beta1NetworkPolicyList.
- * Network Policy List is a list of NetworkPolicy objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList
- * @class
- * @param items {Array.V1beta1NetworkPolicyList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyList} The populated V1beta1NetworkPolicyList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1beta1NetworkPolicy]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of schema objects.
- * @member {Array.V1beta1NetworkPolicyPeer.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPeer
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1NetworkPolicyPeer from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPeer} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPeer} The populated V1beta1NetworkPolicyPeer instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('namespaceSelector')) {
- obj['namespaceSelector'] = V1LabelSelector.constructFromObject(data['namespaceSelector']);
- }
- if (data.hasOwnProperty('podSelector')) {
- obj['podSelector'] = V1LabelSelector.constructFromObject(data['podSelector']);
- }
- }
- return obj;
- }
-
- /**
- * Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} namespaceSelector
- */
- exports.prototype['namespaceSelector'] = undefined;
- /**
- * This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} podSelector
- */
- exports.prototype['podSelector'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort.js
deleted file mode 100644
index 8f670b4e04..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1NetworkPolicyPort = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1NetworkPolicyPort model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1NetworkPolicyPort.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1NetworkPolicyPort from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyPort} The populated V1beta1NetworkPolicyPort instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'String');
- }
- if (data.hasOwnProperty('protocol')) {
- obj['protocol'] = ApiClient.convertToType(data['protocol'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
- * @member {String} port
- */
- exports.prototype['port'] = undefined;
- /**
- * Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.
- * @member {String} protocol
- */
- exports.prototype['protocol'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec.js
deleted file mode 100644
index 1289916fdc..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicyIngressRule'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1LabelSelector'), require('./V1beta1NetworkPolicyIngressRule'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1NetworkPolicySpec = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1LabelSelector, root.KubernetesJsClient.V1beta1NetworkPolicyIngressRule);
- }
-}(this, function(ApiClient, V1LabelSelector, V1beta1NetworkPolicyIngressRule) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1NetworkPolicySpec model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1NetworkPolicySpec.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec
- * @class
- * @param podSelector {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
- */
- var exports = function(podSelector) {
- var _this = this;
-
-
- _this['podSelector'] = podSelector;
- };
-
- /**
- * Constructs a V1beta1NetworkPolicySpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NetworkPolicySpec} The populated V1beta1NetworkPolicySpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('ingress')) {
- obj['ingress'] = ApiClient.convertToType(data['ingress'], [V1beta1NetworkPolicyIngressRule]);
- }
- if (data.hasOwnProperty('podSelector')) {
- obj['podSelector'] = V1LabelSelector.constructFromObject(data['podSelector']);
- }
- }
- return obj;
- }
-
- /**
- * List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list.
- * @member {Array.V1beta1NonResourceAttributes.
- * NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NonResourceAttributes
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1NonResourceAttributes from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NonResourceAttributes} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1NonResourceAttributes} The populated V1beta1NonResourceAttributes instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('verb')) {
- obj['verb'] = ApiClient.convertToType(data['verb'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Path is the URL path of the request
- * @member {String} path
- */
- exports.prototype['path'] = undefined;
- /**
- * Verb is the standard HTTP verb
- * @member {String} verb
- */
- exports.prototype['verb'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget.js
deleted file mode 100644
index 906ffb9d62..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget.js
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetSpec', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ObjectMeta'), require('./V1beta1PodDisruptionBudgetSpec'), require('./V1beta1PodDisruptionBudgetStatus'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1PodDisruptionBudget = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ObjectMeta, root.KubernetesJsClient.V1beta1PodDisruptionBudgetSpec, root.KubernetesJsClient.V1beta1PodDisruptionBudgetStatus);
- }
-}(this, function(ApiClient, V1ObjectMeta, V1beta1PodDisruptionBudgetSpec, V1beta1PodDisruptionBudgetStatus) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1PodDisruptionBudget model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1PodDisruptionBudget.
- * PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
-
- };
-
- /**
- * Constructs a V1beta1PodDisruptionBudget from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget} The populated V1beta1PodDisruptionBudget instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1beta1PodDisruptionBudgetSpec.constructFromObject(data['spec']);
- }
- if (data.hasOwnProperty('status')) {
- obj['status'] = V1beta1PodDisruptionBudgetStatus.constructFromObject(data['status']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * Specification of the desired behavior of the PodDisruptionBudget.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetSpec} spec
- */
- exports.prototype['spec'] = undefined;
- /**
- * Most recently observed status of the PodDisruptionBudget.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus} status
- */
- exports.prototype['status'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList.js
deleted file mode 100644
index 6b48a7911e..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList.js
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudget'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1beta1PodDisruptionBudget'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1PodDisruptionBudgetList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1beta1PodDisruptionBudget);
- }
-}(this, function(ApiClient, V1ListMeta, V1beta1PodDisruptionBudget) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1PodDisruptionBudgetList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1PodDisruptionBudgetList.
- * PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList
- * @class
- * @param items {Array.V1beta1PodDisruptionBudgetList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetList} The populated V1beta1PodDisruptionBudgetList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1beta1PodDisruptionBudget]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * @member {Array.V1beta1PodDisruptionBudgetSpec.
- * PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetSpec
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
- };
-
- /**
- * Constructs a V1beta1PodDisruptionBudgetSpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetSpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetSpec} The populated V1beta1PodDisruptionBudgetSpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('minAvailable')) {
- obj['minAvailable'] = ApiClient.convertToType(data['minAvailable'], 'String');
- }
- if (data.hasOwnProperty('selector')) {
- obj['selector'] = V1LabelSelector.constructFromObject(data['selector']);
- }
- }
- return obj;
- }
-
- /**
- * An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".
- * @member {String} minAvailable
- */
- exports.prototype['minAvailable'] = undefined;
- /**
- * Label query over pods whose evictions are managed by the disruption budget.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1LabelSelector} selector
- */
- exports.prototype['selector'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus.js
deleted file mode 100644
index f8a3df7d3a..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus.js
+++ /dev/null
@@ -1,131 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1PodDisruptionBudgetStatus = factory(root.KubernetesJsClient.ApiClient);
- }
-}(this, function(ApiClient) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1PodDisruptionBudgetStatus model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1PodDisruptionBudgetStatus.
- * PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus
- * @class
- * @param currentHealthy {Number} current number of healthy pods
- * @param desiredHealthy {Number} minimum desired number of healthy pods
- * @param disruptedPods {Object.V1beta1PodDisruptionBudgetStatus from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodDisruptionBudgetStatus} The populated V1beta1PodDisruptionBudgetStatus instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('currentHealthy')) {
- obj['currentHealthy'] = ApiClient.convertToType(data['currentHealthy'], 'Number');
- }
- if (data.hasOwnProperty('desiredHealthy')) {
- obj['desiredHealthy'] = ApiClient.convertToType(data['desiredHealthy'], 'Number');
- }
- if (data.hasOwnProperty('disruptedPods')) {
- obj['disruptedPods'] = ApiClient.convertToType(data['disruptedPods'], {'String': 'Date'});
- }
- if (data.hasOwnProperty('disruptionsAllowed')) {
- obj['disruptionsAllowed'] = ApiClient.convertToType(data['disruptionsAllowed'], 'Number');
- }
- if (data.hasOwnProperty('expectedPods')) {
- obj['expectedPods'] = ApiClient.convertToType(data['expectedPods'], 'Number');
- }
- if (data.hasOwnProperty('observedGeneration')) {
- obj['observedGeneration'] = ApiClient.convertToType(data['observedGeneration'], 'Number');
- }
- }
- return obj;
- }
-
- /**
- * current number of healthy pods
- * @member {Number} currentHealthy
- */
- exports.prototype['currentHealthy'] = undefined;
- /**
- * minimum desired number of healthy pods
- * @member {Number} desiredHealthy
- */
- exports.prototype['desiredHealthy'] = undefined;
- /**
- * DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
- * @member {Object.V1beta1PodSecurityPolicy.
- * Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy
- * @class
- */
- var exports = function() {
- var _this = this;
-
-
-
-
-
- };
-
- /**
- * Constructs a V1beta1PodSecurityPolicy from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy} The populated V1beta1PodSecurityPolicy instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ObjectMeta.constructFromObject(data['metadata']);
- }
- if (data.hasOwnProperty('spec')) {
- obj['spec'] = V1beta1PodSecurityPolicySpec.constructFromObject(data['spec']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
- * @member {String} kind
- */
- exports.prototype['kind'] = undefined;
- /**
- * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1ObjectMeta} metadata
- */
- exports.prototype['metadata'] = undefined;
- /**
- * spec defines the policy enforced.
- * @member {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicySpec} spec
- */
- exports.prototype['spec'] = undefined;
-
-
-
- return exports;
-}));
-
-
diff --git a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList.js b/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList.js
deleted file mode 100644
index 1fb47ebcda..0000000000
--- a/kubernetes/src/io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Kubernetes
- * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
- *
- * OpenAPI spec version: v1.6.3
- *
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['io.kubernetes.js/ApiClient', 'io.kubernetes.js/io.kubernetes.js.models/V1ListMeta', 'io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicy'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- module.exports = factory(require('../ApiClient'), require('./V1ListMeta'), require('./V1beta1PodSecurityPolicy'));
- } else {
- // Browser globals (root is window)
- if (!root.KubernetesJsClient) {
- root.KubernetesJsClient = {};
- }
- root.KubernetesJsClient.V1beta1PodSecurityPolicyList = factory(root.KubernetesJsClient.ApiClient, root.KubernetesJsClient.V1ListMeta, root.KubernetesJsClient.V1beta1PodSecurityPolicy);
- }
-}(this, function(ApiClient, V1ListMeta, V1beta1PodSecurityPolicy) {
- 'use strict';
-
-
-
-
- /**
- * The V1beta1PodSecurityPolicyList model module.
- * @module io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList
- * @version 1.0.0-snapshot
- */
-
- /**
- * Constructs a new V1beta1PodSecurityPolicyList.
- * Pod Security Policy List is a list of PodSecurityPolicy objects.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList
- * @class
- * @param items {Array.V1beta1PodSecurityPolicyList from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicyList} The populated V1beta1PodSecurityPolicyList instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiVersion')) {
- obj['apiVersion'] = ApiClient.convertToType(data['apiVersion'], 'String');
- }
- if (data.hasOwnProperty('items')) {
- obj['items'] = ApiClient.convertToType(data['items'], [V1beta1PodSecurityPolicy]);
- }
- if (data.hasOwnProperty('kind')) {
- obj['kind'] = ApiClient.convertToType(data['kind'], 'String');
- }
- if (data.hasOwnProperty('metadata')) {
- obj['metadata'] = V1ListMeta.constructFromObject(data['metadata']);
- }
- }
- return obj;
- }
-
- /**
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
- * @member {String} apiVersion
- */
- exports.prototype['apiVersion'] = undefined;
- /**
- * Items is a list of schema objects.
- * @member {Array.V1beta1PodSecurityPolicySpec.
- * Pod Security Policy Spec defines the policy enforced.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicySpec
- * @class
- * @param fsGroup {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1FSGroupStrategyOptions} FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.
- * @param runAsUser {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1RunAsUserStrategyOptions} runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
- * @param seLinux {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SELinuxStrategyOptions} seLinux is the strategy that will dictate the allowable labels that may be set.
- * @param supplementalGroups {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1SupplementalGroupsStrategyOptions} SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
- */
- var exports = function(fsGroup, runAsUser, seLinux, supplementalGroups) {
- var _this = this;
-
-
-
- _this['fsGroup'] = fsGroup;
-
-
-
-
-
-
-
- _this['runAsUser'] = runAsUser;
- _this['seLinux'] = seLinux;
- _this['supplementalGroups'] = supplementalGroups;
-
- };
-
- /**
- * Constructs a V1beta1PodSecurityPolicySpec from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicySpec} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PodSecurityPolicySpec} The populated V1beta1PodSecurityPolicySpec instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('allowedCapabilities')) {
- obj['allowedCapabilities'] = ApiClient.convertToType(data['allowedCapabilities'], ['String']);
- }
- if (data.hasOwnProperty('defaultAddCapabilities')) {
- obj['defaultAddCapabilities'] = ApiClient.convertToType(data['defaultAddCapabilities'], ['String']);
- }
- if (data.hasOwnProperty('fsGroup')) {
- obj['fsGroup'] = V1beta1FSGroupStrategyOptions.constructFromObject(data['fsGroup']);
- }
- if (data.hasOwnProperty('hostIPC')) {
- obj['hostIPC'] = ApiClient.convertToType(data['hostIPC'], 'Boolean');
- }
- if (data.hasOwnProperty('hostNetwork')) {
- obj['hostNetwork'] = ApiClient.convertToType(data['hostNetwork'], 'Boolean');
- }
- if (data.hasOwnProperty('hostPID')) {
- obj['hostPID'] = ApiClient.convertToType(data['hostPID'], 'Boolean');
- }
- if (data.hasOwnProperty('hostPorts')) {
- obj['hostPorts'] = ApiClient.convertToType(data['hostPorts'], [V1beta1HostPortRange]);
- }
- if (data.hasOwnProperty('privileged')) {
- obj['privileged'] = ApiClient.convertToType(data['privileged'], 'Boolean');
- }
- if (data.hasOwnProperty('readOnlyRootFilesystem')) {
- obj['readOnlyRootFilesystem'] = ApiClient.convertToType(data['readOnlyRootFilesystem'], 'Boolean');
- }
- if (data.hasOwnProperty('requiredDropCapabilities')) {
- obj['requiredDropCapabilities'] = ApiClient.convertToType(data['requiredDropCapabilities'], ['String']);
- }
- if (data.hasOwnProperty('runAsUser')) {
- obj['runAsUser'] = V1beta1RunAsUserStrategyOptions.constructFromObject(data['runAsUser']);
- }
- if (data.hasOwnProperty('seLinux')) {
- obj['seLinux'] = V1beta1SELinuxStrategyOptions.constructFromObject(data['seLinux']);
- }
- if (data.hasOwnProperty('supplementalGroups')) {
- obj['supplementalGroups'] = V1beta1SupplementalGroupsStrategyOptions.constructFromObject(data['supplementalGroups']);
- }
- if (data.hasOwnProperty('volumes')) {
- obj['volumes'] = ApiClient.convertToType(data['volumes'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.
- * @member {Array.V1beta1PolicyRule.
- * PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.
- * @alias module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PolicyRule
- * @class
- * @param verbs {Array.V1beta1PolicyRule from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PolicyRule} obj Optional instance to populate.
- * @return {module:io.kubernetes.js/io.kubernetes.js.models/V1beta1PolicyRule} The populated V1beta1PolicyRule instance.
- */
- exports.constructFromObject = function(data, obj) {
- if (data) {
- obj = obj || new exports();
-
- if (data.hasOwnProperty('apiGroups')) {
- obj['apiGroups'] = ApiClient.convertToType(data['apiGroups'], ['String']);
- }
- if (data.hasOwnProperty('nonResourceURLs')) {
- obj['nonResourceURLs'] = ApiClient.convertToType(data['nonResourceURLs'], ['String']);
- }
- if (data.hasOwnProperty('resourceNames')) {
- obj['resourceNames'] = ApiClient.convertToType(data['resourceNames'], ['String']);
- }
- if (data.hasOwnProperty('resources')) {
- obj['resources'] = ApiClient.convertToType(data['resources'], ['String']);
- }
- if (data.hasOwnProperty('verbs')) {
- obj['verbs'] = ApiClient.convertToType(data['verbs'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.
- * @member {Array.