Generate request options. Largely copied from the common elements of @kubernetes/client-node action methods.
Read any Kubernetes resource.
Delete any Kubernetes resource.
get available API versions
List any Kubernetes resource.
Patch any Kubernetes resource.
Read any Kubernetes resource.
Replace any Kubernetes resource.
Wrap request in a Promise. Largely copied from @kubernetes/client-node/dist/api.js.
Get metadata from Kubernetes API for resources described by
kind
and apiVersion
. If it is unable to find the resource
kind
under the provided apiVersion
, undefined
is
returned.
Use spec information to construct resource URI path. If any
required information in not provided, an Error is thrown. If an
apiVersion
is not provided, "v1" is used. If a metadata.namespace
is not provided for a request that requires one, "default" is used.
resource spec which must kind and apiVersion properties
API action, see K8sApiAction
tail of resource-specific URI
Return default headers based on action.
Generated using TypeDoc
Dynamically construct Kubernetes API request URIs so client does not have to know what type of object it is acting on, create the appropriate client, and call the appropriate method.