Type Definitions
-
APISpecification
-
Specification of an API group
Type:
- object
Properties:
Name Type Argument Description namestring Name of the API group
prefixstring <optional>
Custom URL prefix for endpoints
specobject.<EndpointSpecification> Specification of all resource endpoints
-
EndpointSpecification
-
Specification of an API resource endpoint
Type:
- object
Properties:
Name Type Argument Description kindstring Kubernetes API resource name
nicknamestring <optional>
Shortened endpoint name
nestedArray.<NestedResourceDefinition> <optional>
List of nested resources
optionsobject <optional>
Request overrides for the endpoint
Properties
Name Type Argument Default Description nsboolean <optional>
true Whether the endpoint uses namespaces
methodsArray.<string> <optional>
List of valid base methods
-
KubernetesItem
-
Entry in a KubernetesList
Type:
- object
Properties:
Name Type Description metadataobject Object metadata
specobject Desired object specification
-
KubernetesList
-
List of Kubernetes resource objects
Type:
- object
Properties:
Name Type Description itemsArray.<KubernetesItem> -
KubernetesResource
-
Kubernetes resource object
Type:
- object
Properties:
Name Type Description kindstring Kubernetes API resource name
apiVersionstring Reference API version
-
NestedResourceDefinition
-
Specification of nested API resource endpoints
Type:
- object
Properties:
Name Type Description methodsArray.<string> List of valid methods
resourcestring Nested resource name
-
RequestOptions
-
Options for an API request method
Additional properties not recognized by the underlying
requestmodule are documented below.Type:
- object
Properties:
Name Type Argument Description endpointstring Target API resource endpoint
methodstring Request method verb
bodyobject <optional>
Request body for PUT/POST/PATCH methods
jsonboolean <optional>
Request body is encoded in JSON format
namespacestring <optional>
Namespace for the request
versionstring <optional>
API version
prefixstring <optional>
API path prefix
labelsobject <optional>
Filter results by label
fieldsobject <optional>
Filter results by field