@kubernetes/client-node
Version:
NodeJS client for kubernetes
516 lines • 640 kB
TypeScript
import { BaseAPIRequestFactory } from './baseapi.js';
import { Configuration } from '../configuration.js';
import { RequestContext, ResponseContext, HttpInfo } from '../http/http.js';
import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest.js';
import { CoreV1Event } from '../models/CoreV1Event.js';
import { CoreV1EventList } from '../models/CoreV1EventList.js';
import { V1APIResourceList } from '../models/V1APIResourceList.js';
import { V1Binding } from '../models/V1Binding.js';
import { V1ComponentStatus } from '../models/V1ComponentStatus.js';
import { V1ComponentStatusList } from '../models/V1ComponentStatusList.js';
import { V1ConfigMap } from '../models/V1ConfigMap.js';
import { V1ConfigMapList } from '../models/V1ConfigMapList.js';
import { V1DeleteOptions } from '../models/V1DeleteOptions.js';
import { V1Endpoints } from '../models/V1Endpoints.js';
import { V1EndpointsList } from '../models/V1EndpointsList.js';
import { V1Eviction } from '../models/V1Eviction.js';
import { V1LimitRange } from '../models/V1LimitRange.js';
import { V1LimitRangeList } from '../models/V1LimitRangeList.js';
import { V1Namespace } from '../models/V1Namespace.js';
import { V1NamespaceList } from '../models/V1NamespaceList.js';
import { V1Node } from '../models/V1Node.js';
import { V1NodeList } from '../models/V1NodeList.js';
import { V1PersistentVolume } from '../models/V1PersistentVolume.js';
import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim.js';
import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList.js';
import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList.js';
import { V1Pod } from '../models/V1Pod.js';
import { V1PodList } from '../models/V1PodList.js';
import { V1PodTemplate } from '../models/V1PodTemplate.js';
import { V1PodTemplateList } from '../models/V1PodTemplateList.js';
import { V1ReplicationController } from '../models/V1ReplicationController.js';
import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList.js';
import { V1ResourceQuota } from '../models/V1ResourceQuota.js';
import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList.js';
import { V1Scale } from '../models/V1Scale.js';
import { V1Secret } from '../models/V1Secret.js';
import { V1SecretList } from '../models/V1SecretList.js';
import { V1Service } from '../models/V1Service.js';
import { V1ServiceAccount } from '../models/V1ServiceAccount.js';
import { V1ServiceAccountList } from '../models/V1ServiceAccountList.js';
import { V1ServiceList } from '../models/V1ServiceList.js';
import { V1Status } from '../models/V1Status.js';
/**
* no description
*/
export declare class CoreV1ApiRequestFactory extends BaseAPIRequestFactory {
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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.
* @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.
* @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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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.
* @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.
* @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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* 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?: Configuration): Promise<RequestContext>;
/**
* create a Namespace
* @param body
* @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
* @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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
*/
createNamespace(body: V1Namespace, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
* @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
*/
createNamespacedBinding(namespace: string, body: V1Binding, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
* @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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
*/
createNamespacedConfigMap(namespace: string, body: V1ConfigMap, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
* @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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
*/
createNamespacedEndpoints(namespace: string, body: V1Endpoints, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
* @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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
*/
createNamespacedEvent(namespace: string, body: CoreV1Event, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
* @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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
*/
createNamespacedLimitRange(namespace: string, body: V1LimitRange, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
* @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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
*/
createNamespacedPersistentVolumeClaim(namespace: string, body: V1PersistentVolumeClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
* @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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
*/
createNamespacedPod(namespace: string, body: V1Pod, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
* @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
*/
createNamespacedPodBinding(name: string, namespace: string, body: V1Binding, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
* @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
*/
createNamespacedPodEviction(name: string, namespace: string, body: V1Eviction, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Promise<RequestContext>;
/**
* 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. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).
* @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 fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PU