@kubernetes/client-node
Version:
NodeJS client for kubernetes
1,003 lines • 378 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/// <reference types="node" />
import http from 'http';
import { AuthenticationV1TokenRequest } from '../model/authenticationV1TokenRequest';
import { CoreV1Event } from '../model/coreV1Event';
import { CoreV1EventList } from '../model/coreV1EventList';
import { V1APIResourceList } from '../model/v1APIResourceList';
import { V1Binding } from '../model/v1Binding';
import { V1ComponentStatus } from '../model/v1ComponentStatus';
import { V1ComponentStatusList } from '../model/v1ComponentStatusList';
import { V1ConfigMap } from '../model/v1ConfigMap';
import { V1ConfigMapList } from '../model/v1ConfigMapList';
import { V1DeleteOptions } from '../model/v1DeleteOptions';
import { V1Endpoints } from '../model/v1Endpoints';
import { V1EndpointsList } from '../model/v1EndpointsList';
import { V1Eviction } from '../model/v1Eviction';
import { V1LimitRange } from '../model/v1LimitRange';
import { V1LimitRangeList } from '../model/v1LimitRangeList';
import { V1Namespace } from '../model/v1Namespace';
import { V1NamespaceList } from '../model/v1NamespaceList';
import { V1Node } from '../model/v1Node';
import { V1NodeList } from '../model/v1NodeList';
import { V1PersistentVolume } from '../model/v1PersistentVolume';
import { V1PersistentVolumeClaim } from '../model/v1PersistentVolumeClaim';
import { V1PersistentVolumeClaimList } from '../model/v1PersistentVolumeClaimList';
import { V1PersistentVolumeList } from '../model/v1PersistentVolumeList';
import { V1Pod } from '../model/v1Pod';
import { V1PodList } from '../model/v1PodList';
import { V1PodTemplate } from '../model/v1PodTemplate';
import { V1PodTemplateList } from '../model/v1PodTemplateList';
import { V1ReplicationController } from '../model/v1ReplicationController';
import { V1ReplicationControllerList } from '../model/v1ReplicationControllerList';
import { V1ResourceQuota } from '../model/v1ResourceQuota';
import { V1ResourceQuotaList } from '../model/v1ResourceQuotaList';
import { V1Scale } from '../model/v1Scale';
import { V1Secret } from '../model/v1Secret';
import { V1SecretList } from '../model/v1SecretList';
import { V1Service } from '../model/v1Service';
import { V1ServiceAccount } from '../model/v1ServiceAccount';
import { V1ServiceAccountList } from '../model/v1ServiceAccountList';
import { V1ServiceList } from '../model/v1ServiceList';
import { V1Status } from '../model/v1Status';
import { Authentication, Interceptor } from '../model/models';
import { ApiKeyAuth } from '../model/models';
export declare enum CoreV1ApiApiKeys {
BearerToken = 0
}
export declare class CoreV1Api {
protected _basePath: string;
protected _defaultHeaders: any;
protected _useQuerystring: boolean;
protected authentications: {
default: Authentication;
BearerToken: ApiKeyAuth;
};
protected interceptors: Interceptor[];
constructor(basePath?: string);
set useQuerystring(value: boolean);
set basePath(basePath: string);
set defaultHeaders(defaultHeaders: any);
get defaultHeaders(): any;
get basePath(): string;
setDefaultAuthentication(auth: Authentication): void;
setApiKey(key: CoreV1ApiApiKeys, value: string): void;
addInterceptor(interceptor: Interceptor): void;
/**
* connect DELETE requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path Path is the URL path to use for the current proxy request to pod.
*/
connectDeleteNamespacedPodProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect DELETE requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to pod.
*/
connectDeleteNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect DELETE requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param 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.
*/
connectDeleteNamespacedServiceProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect DELETE requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param 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.
*/
connectDeleteNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect DELETE requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path Path is the URL path to use for the current proxy request to node.
*/
connectDeleteNodeProxy(name: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect DELETE requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to node.
*/
connectDeleteNodeProxyWithPath(name: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to attach of Pod
* @param name name of the PodAttachOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod.
* @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.
* @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.
* @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.
* @param 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.
*/
connectGetNamespacedPodAttach(name: string, namespace: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to exec of Pod
* @param name name of the PodExecOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param command Command is the remote command to execute. argv array. Not executed within a shell.
* @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod.
* @param stderr Redirect the standard error stream of the pod for this call. Defaults to true.
* @param stdin Redirect the standard input stream of the pod for this call. Defaults to false.
* @param stdout Redirect the standard output stream of the pod for this call. Defaults to true.
* @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.
*/
connectGetNamespacedPodExec(name: string, namespace: string, command?: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to portforward of Pod
* @param name name of the PodPortForwardOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param ports List of ports to forward Required when using WebSockets
*/
connectGetNamespacedPodPortforward(name: string, namespace: string, ports?: number, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path Path is the URL path to use for the current proxy request to pod.
*/
connectGetNamespacedPodProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to pod.
*/
connectGetNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param 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.
*/
connectGetNamespacedServiceProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param 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.
*/
connectGetNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path Path is the URL path to use for the current proxy request to node.
*/
connectGetNodeProxy(name: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect GET requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to node.
*/
connectGetNodeProxyWithPath(name: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect HEAD requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path Path is the URL path to use for the current proxy request to pod.
*/
connectHeadNamespacedPodProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect HEAD requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to pod.
*/
connectHeadNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect HEAD requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param 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.
*/
connectHeadNamespacedServiceProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect HEAD requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param 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.
*/
connectHeadNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect HEAD requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path Path is the URL path to use for the current proxy request to node.
*/
connectHeadNodeProxy(name: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect HEAD requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to node.
*/
connectHeadNodeProxyWithPath(name: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect OPTIONS requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path Path is the URL path to use for the current proxy request to pod.
*/
connectOptionsNamespacedPodProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect OPTIONS requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to pod.
*/
connectOptionsNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect OPTIONS requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param 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.
*/
connectOptionsNamespacedServiceProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect OPTIONS requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param 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.
*/
connectOptionsNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect OPTIONS requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path Path is the URL path to use for the current proxy request to node.
*/
connectOptionsNodeProxy(name: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect OPTIONS requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to node.
*/
connectOptionsNodeProxyWithPath(name: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PATCH requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path Path is the URL path to use for the current proxy request to pod.
*/
connectPatchNamespacedPodProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PATCH requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to pod.
*/
connectPatchNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PATCH requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param 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.
*/
connectPatchNamespacedServiceProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PATCH requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param 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.
*/
connectPatchNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PATCH requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path Path is the URL path to use for the current proxy request to node.
*/
connectPatchNodeProxy(name: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PATCH requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to node.
*/
connectPatchNodeProxyWithPath(name: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to attach of Pod
* @param name name of the PodAttachOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod.
* @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.
* @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.
* @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.
* @param 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.
*/
connectPostNamespacedPodAttach(name: string, namespace: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to exec of Pod
* @param name name of the PodExecOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param command Command is the remote command to execute. argv array. Not executed within a shell.
* @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod.
* @param stderr Redirect the standard error stream of the pod for this call. Defaults to true.
* @param stdin Redirect the standard input stream of the pod for this call. Defaults to false.
* @param stdout Redirect the standard output stream of the pod for this call. Defaults to true.
* @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.
*/
connectPostNamespacedPodExec(name: string, namespace: string, command?: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to portforward of Pod
* @param name name of the PodPortForwardOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param ports List of ports to forward Required when using WebSockets
*/
connectPostNamespacedPodPortforward(name: string, namespace: string, ports?: number, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path Path is the URL path to use for the current proxy request to pod.
*/
connectPostNamespacedPodProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to pod.
*/
connectPostNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param 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.
*/
connectPostNamespacedServiceProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param 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.
*/
connectPostNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path Path is the URL path to use for the current proxy request to node.
*/
connectPostNodeProxy(name: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect POST requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to node.
*/
connectPostNodeProxyWithPath(name: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PUT requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path Path is the URL path to use for the current proxy request to pod.
*/
connectPutNamespacedPodProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PUT requests to proxy of Pod
* @param name name of the PodProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to pod.
*/
connectPutNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PUT requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param 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.
*/
connectPutNamespacedServiceProxy(name: string, namespace: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PUT requests to proxy of Service
* @param name name of the ServiceProxyOptions
* @param namespace object name and auth scope, such as for teams and projects
* @param path path to the resource
* @param 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.
*/
connectPutNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PUT requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path Path is the URL path to use for the current proxy request to node.
*/
connectPutNodeProxy(name: string, path?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* connect PUT requests to proxy of Node
* @param name name of the NodeProxyOptions
* @param path path to the resource
* @param path2 Path is the URL path to use for the current proxy request to node.
*/
connectPutNodeProxyWithPath(name: string, path: string, path2?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: string;
}>;
/**
* create a Namespace
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespace(body: V1Namespace, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1Namespace;
}>;
/**
* create a Binding
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
* @param pretty If \'true\', then the output is pretty printed.
*/
createNamespacedBinding(namespace: string, body: V1Binding, dryRun?: string, fieldManager?: string, pretty?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1Binding;
}>;
/**
* create a ConfigMap
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedConfigMap(namespace: string, body: V1ConfigMap, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1ConfigMap;
}>;
/**
* create Endpoints
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedEndpoints(namespace: string, body: V1Endpoints, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1Endpoints;
}>;
/**
* create an Event
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedEvent(namespace: string, body: CoreV1Event, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: CoreV1Event;
}>;
/**
* create a LimitRange
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedLimitRange(namespace: string, body: V1LimitRange, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1LimitRange;
}>;
/**
* create a PersistentVolumeClaim
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedPersistentVolumeClaim(namespace: string, body: V1PersistentVolumeClaim, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1PersistentVolumeClaim;
}>;
/**
* create a Pod
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedPod(namespace: string, body: V1Pod, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1Pod;
}>;
/**
* create binding of a Pod
* @param name name of the Binding
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
* @param pretty If \'true\', then the output is pretty printed.
*/
createNamespacedPodBinding(name: string, namespace: string, body: V1Binding, dryRun?: string, fieldManager?: string, pretty?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1Binding;
}>;
/**
* create eviction of a Pod
* @param name name of the Eviction
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
* @param pretty If \'true\', then the output is pretty printed.
*/
createNamespacedPodEviction(name: string, namespace: string, body: V1Eviction, dryRun?: string, fieldManager?: string, pretty?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1Eviction;
}>;
/**
* create a PodTemplate
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedPodTemplate(namespace: string, body: V1PodTemplate, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1PodTemplate;
}>;
/**
* create a ReplicationController
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedReplicationController(namespace: string, body: V1ReplicationController, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1ReplicationController;
}>;
/**
* create a ResourceQuota
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedResourceQuota(namespace: string, body: V1ResourceQuota, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1ResourceQuota;
}>;
/**
* create a Secret
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
* @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
*/
createNamespacedSecret(namespace: string, body: V1Secret, pretty?: string, dryRun?: string, fieldManager?: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: V1Secret;
}>;
/**
* create a Service
* @param namespace object name and auth scope, such as for teams and projects
* @param body
* @param pretty If \'true\', then the output is pretty printed.
* @param dryRun When present, indicates that modifications should not be persisted. An in