Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AppsV1Api

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new AppsV1Api(basePath?: string): AppsV1Api

Properties

Protected _basePath

_basePath: string = ...

Protected _defaultHeaders

_defaultHeaders: any = ...

Protected _useQuerystring

_useQuerystring: boolean = false

Protected authentications

authentications: { BearerToken: ApiKeyAuth; default: Authentication } = ...

Type declaration

  • BearerToken: ApiKeyAuth
  • default: Authentication

Protected interceptors

interceptors: Interceptor[] = ...

Accessors

basePath

  • get basePath(): string
  • set basePath(basePath: string): void

defaultHeaders

  • get defaultHeaders(): any
  • set defaultHeaders(defaultHeaders: any): void

useQuerystring

  • set useQuerystring(value: boolean): void

Methods

addInterceptor

  • addInterceptor(interceptor: Interceptor): void

createNamespacedControllerRevision

  • createNamespacedControllerRevision(namespace: string, body: V1ControllerRevision, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1ControllerRevision; response: IncomingMessage }>
  • create a ControllerRevision

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1ControllerRevision
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ControllerRevision; response: IncomingMessage }>

createNamespacedDaemonSet

  • createNamespacedDaemonSet(namespace: string, body: V1DaemonSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1DaemonSet; response: IncomingMessage }>
  • create a DaemonSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1DaemonSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSet; response: IncomingMessage }>

createNamespacedDeployment

  • createNamespacedDeployment(namespace: string, body: V1Deployment, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1Deployment; response: IncomingMessage }>
  • create a Deployment

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1Deployment
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Deployment; response: IncomingMessage }>

createNamespacedReplicaSet

  • createNamespacedReplicaSet(namespace: string, body: V1ReplicaSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1ReplicaSet; response: IncomingMessage }>
  • create a ReplicaSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1ReplicaSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSet; response: IncomingMessage }>

createNamespacedStatefulSet

  • createNamespacedStatefulSet(namespace: string, body: V1StatefulSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1StatefulSet; response: IncomingMessage }>
  • create a StatefulSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1StatefulSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSet; response: IncomingMessage }>

deleteCollectionNamespacedControllerRevision

  • deleteCollectionNamespacedControllerRevision(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete collection of ControllerRevision

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional dryRun: string

      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

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteCollectionNamespacedDaemonSet

  • deleteCollectionNamespacedDaemonSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete collection of DaemonSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional dryRun: string

      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

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteCollectionNamespacedDeployment

  • deleteCollectionNamespacedDeployment(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete collection of Deployment

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional dryRun: string

      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

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteCollectionNamespacedReplicaSet

  • deleteCollectionNamespacedReplicaSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete collection of ReplicaSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional dryRun: string

      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

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteCollectionNamespacedStatefulSet

  • deleteCollectionNamespacedStatefulSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete collection of StatefulSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional dryRun: string

      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

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteNamespacedControllerRevision

  • deleteNamespacedControllerRevision(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete a ControllerRevision

    Parameters

    • name: string

      name of the ControllerRevision

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteNamespacedDaemonSet

  • deleteNamespacedDaemonSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete a DaemonSet

    Parameters

    • name: string

      name of the DaemonSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteNamespacedDeployment

  • deleteNamespacedDeployment(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete a Deployment

    Parameters

    • name: string

      name of the Deployment

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteNamespacedReplicaSet

  • deleteNamespacedReplicaSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete a ReplicaSet

    Parameters

    • name: string

      name of the ReplicaSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

deleteNamespacedStatefulSet

  • deleteNamespacedStatefulSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, options?: { headers: {} }): Promise<{ body: V1Status; response: IncomingMessage }>
  • delete a StatefulSet

    Parameters

    • name: string

      name of the StatefulSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional gracePeriodSeconds: number

      The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

    • Optional orphanDependents: boolean

      Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both.

    • Optional propagationPolicy: string

      Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: &#39;Orphan&#39; - orphan the dependents; &#39;Background&#39; - allow the garbage collector to delete the dependents in the background; &#39;Foreground&#39; - a cascading policy that deletes all dependents in the foreground.

    • Optional body: V1DeleteOptions
    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Status; response: IncomingMessage }>

getAPIResources

  • getAPIResources(options?: { headers: {} }): Promise<{ body: V1APIResourceList; response: IncomingMessage }>
  • get available resources

    Parameters

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1APIResourceList; response: IncomingMessage }>

listControllerRevisionForAllNamespaces

  • listControllerRevisionForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1ControllerRevisionList; response: IncomingMessage }>
  • list or watch objects of kind ControllerRevision

    Parameters

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ControllerRevisionList; response: IncomingMessage }>

listDaemonSetForAllNamespaces

  • listDaemonSetForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1DaemonSetList; response: IncomingMessage }>
  • list or watch objects of kind DaemonSet

    Parameters

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSetList; response: IncomingMessage }>

listDeploymentForAllNamespaces

  • listDeploymentForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1DeploymentList; response: IncomingMessage }>
  • list or watch objects of kind Deployment

    Parameters

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DeploymentList; response: IncomingMessage }>

listNamespacedControllerRevision

  • listNamespacedControllerRevision(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1ControllerRevisionList; response: IncomingMessage }>
  • list or watch objects of kind ControllerRevision

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ControllerRevisionList; response: IncomingMessage }>

listNamespacedDaemonSet

  • listNamespacedDaemonSet(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1DaemonSetList; response: IncomingMessage }>
  • list or watch objects of kind DaemonSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSetList; response: IncomingMessage }>

listNamespacedDeployment

  • listNamespacedDeployment(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1DeploymentList; response: IncomingMessage }>
  • list or watch objects of kind Deployment

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DeploymentList; response: IncomingMessage }>

listNamespacedReplicaSet

  • listNamespacedReplicaSet(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1ReplicaSetList; response: IncomingMessage }>
  • list or watch objects of kind ReplicaSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSetList; response: IncomingMessage }>

listNamespacedStatefulSet

  • listNamespacedStatefulSet(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1StatefulSetList; response: IncomingMessage }>
  • list or watch objects of kind StatefulSet

    Parameters

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSetList; response: IncomingMessage }>

listReplicaSetForAllNamespaces

  • listReplicaSetForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1ReplicaSetList; response: IncomingMessage }>
  • list or watch objects of kind ReplicaSet

    Parameters

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSetList; response: IncomingMessage }>

listStatefulSetForAllNamespaces

  • listStatefulSetForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, timeoutSeconds?: number, watch?: boolean, options?: { headers: {} }): Promise<{ body: V1StatefulSetList; response: IncomingMessage }>
  • list or watch objects of kind StatefulSet

    Parameters

    • Optional allowWatchBookmarks: boolean

      allowWatchBookmarks requests watch events with type &quot;BOOKMARK&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server&#39;s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.

    • Optional _continue: string

      The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the &quot;next key&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

    • Optional fieldSelector: string

      A selector to restrict the list of returned objects by their fields. Defaults to everything.

    • Optional labelSelector: string

      A selector to restrict the list of returned objects by their labels. Defaults to everything.

    • Optional limit: number

      limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional resourceVersion: string

      resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional resourceVersionMatch: string

      resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset

    • Optional timeoutSeconds: number

      Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.

    • Optional watch: boolean

      Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSetList; response: IncomingMessage }>

patchNamespacedControllerRevision

  • patchNamespacedControllerRevision(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1ControllerRevision; response: IncomingMessage }>
  • partially update the specified ControllerRevision

    Parameters

    • name: string

      name of the ControllerRevision

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ControllerRevision; response: IncomingMessage }>

patchNamespacedDaemonSet

  • patchNamespacedDaemonSet(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1DaemonSet; response: IncomingMessage }>
  • partially update the specified DaemonSet

    Parameters

    • name: string

      name of the DaemonSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSet; response: IncomingMessage }>

patchNamespacedDaemonSetStatus

  • patchNamespacedDaemonSetStatus(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1DaemonSet; response: IncomingMessage }>
  • partially update status of the specified DaemonSet

    Parameters

    • name: string

      name of the DaemonSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSet; response: IncomingMessage }>

patchNamespacedDeployment

  • patchNamespacedDeployment(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1Deployment; response: IncomingMessage }>
  • partially update the specified Deployment

    Parameters

    • name: string

      name of the Deployment

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Deployment; response: IncomingMessage }>

patchNamespacedDeploymentScale

  • patchNamespacedDeploymentScale(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • partially update scale of the specified Deployment

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

patchNamespacedDeploymentStatus

  • patchNamespacedDeploymentStatus(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1Deployment; response: IncomingMessage }>
  • partially update status of the specified Deployment

    Parameters

    • name: string

      name of the Deployment

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Deployment; response: IncomingMessage }>

patchNamespacedReplicaSet

  • patchNamespacedReplicaSet(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1ReplicaSet; response: IncomingMessage }>
  • partially update the specified ReplicaSet

    Parameters

    • name: string

      name of the ReplicaSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSet; response: IncomingMessage }>

patchNamespacedReplicaSetScale

  • patchNamespacedReplicaSetScale(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • partially update scale of the specified ReplicaSet

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

patchNamespacedReplicaSetStatus

  • patchNamespacedReplicaSetStatus(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1ReplicaSet; response: IncomingMessage }>
  • partially update status of the specified ReplicaSet

    Parameters

    • name: string

      name of the ReplicaSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSet; response: IncomingMessage }>

patchNamespacedStatefulSet

  • patchNamespacedStatefulSet(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1StatefulSet; response: IncomingMessage }>
  • partially update the specified StatefulSet

    Parameters

    • name: string

      name of the StatefulSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSet; response: IncomingMessage }>

patchNamespacedStatefulSetScale

  • patchNamespacedStatefulSetScale(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • partially update scale of the specified StatefulSet

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

patchNamespacedStatefulSetStatus

  • patchNamespacedStatefulSetStatus(name: string, namespace: string, body: object, pretty?: string, dryRun?: string, fieldManager?: string, force?: boolean, options?: { headers: {} }): Promise<{ body: V1StatefulSet; response: IncomingMessage }>
  • partially update status of the specified StatefulSet

    Parameters

    • name: string

      name of the StatefulSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: object
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

    • Optional force: boolean

      Force is going to &quot;force&quot; Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSet; response: IncomingMessage }>

readNamespacedControllerRevision

  • readNamespacedControllerRevision(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1ControllerRevision; response: IncomingMessage }>
  • read the specified ControllerRevision

    Parameters

    • name: string

      name of the ControllerRevision

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ControllerRevision; response: IncomingMessage }>

readNamespacedDaemonSet

  • readNamespacedDaemonSet(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1DaemonSet; response: IncomingMessage }>
  • read the specified DaemonSet

    Parameters

    • name: string

      name of the DaemonSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSet; response: IncomingMessage }>

readNamespacedDaemonSetStatus

  • readNamespacedDaemonSetStatus(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1DaemonSet; response: IncomingMessage }>
  • read status of the specified DaemonSet

    Parameters

    • name: string

      name of the DaemonSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSet; response: IncomingMessage }>

readNamespacedDeployment

  • readNamespacedDeployment(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1Deployment; response: IncomingMessage }>
  • read the specified Deployment

    Parameters

    • name: string

      name of the Deployment

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Deployment; response: IncomingMessage }>

readNamespacedDeploymentScale

  • readNamespacedDeploymentScale(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • read scale of the specified Deployment

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

readNamespacedDeploymentStatus

  • readNamespacedDeploymentStatus(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1Deployment; response: IncomingMessage }>
  • read status of the specified Deployment

    Parameters

    • name: string

      name of the Deployment

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Deployment; response: IncomingMessage }>

readNamespacedReplicaSet

  • readNamespacedReplicaSet(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1ReplicaSet; response: IncomingMessage }>
  • read the specified ReplicaSet

    Parameters

    • name: string

      name of the ReplicaSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSet; response: IncomingMessage }>

readNamespacedReplicaSetScale

  • readNamespacedReplicaSetScale(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • read scale of the specified ReplicaSet

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

readNamespacedReplicaSetStatus

  • readNamespacedReplicaSetStatus(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1ReplicaSet; response: IncomingMessage }>
  • read status of the specified ReplicaSet

    Parameters

    • name: string

      name of the ReplicaSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSet; response: IncomingMessage }>

readNamespacedStatefulSet

  • readNamespacedStatefulSet(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1StatefulSet; response: IncomingMessage }>
  • read the specified StatefulSet

    Parameters

    • name: string

      name of the StatefulSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSet; response: IncomingMessage }>

readNamespacedStatefulSetScale

  • readNamespacedStatefulSetScale(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • read scale of the specified StatefulSet

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

readNamespacedStatefulSetStatus

  • readNamespacedStatefulSetStatus(name: string, namespace: string, pretty?: string, options?: { headers: {} }): Promise<{ body: V1StatefulSet; response: IncomingMessage }>
  • read status of the specified StatefulSet

    Parameters

    • name: string

      name of the StatefulSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSet; response: IncomingMessage }>

replaceNamespacedControllerRevision

  • replaceNamespacedControllerRevision(name: string, namespace: string, body: V1ControllerRevision, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1ControllerRevision; response: IncomingMessage }>
  • replace the specified ControllerRevision

    Parameters

    • name: string

      name of the ControllerRevision

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1ControllerRevision
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ControllerRevision; response: IncomingMessage }>

replaceNamespacedDaemonSet

  • replaceNamespacedDaemonSet(name: string, namespace: string, body: V1DaemonSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1DaemonSet; response: IncomingMessage }>
  • replace the specified DaemonSet

    Parameters

    • name: string

      name of the DaemonSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1DaemonSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSet; response: IncomingMessage }>

replaceNamespacedDaemonSetStatus

  • replaceNamespacedDaemonSetStatus(name: string, namespace: string, body: V1DaemonSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1DaemonSet; response: IncomingMessage }>
  • replace status of the specified DaemonSet

    Parameters

    • name: string

      name of the DaemonSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1DaemonSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1DaemonSet; response: IncomingMessage }>

replaceNamespacedDeployment

  • replaceNamespacedDeployment(name: string, namespace: string, body: V1Deployment, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1Deployment; response: IncomingMessage }>
  • replace the specified Deployment

    Parameters

    • name: string

      name of the Deployment

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1Deployment
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Deployment; response: IncomingMessage }>

replaceNamespacedDeploymentScale

  • replaceNamespacedDeploymentScale(name: string, namespace: string, body: V1Scale, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • replace scale of the specified Deployment

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1Scale
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

replaceNamespacedDeploymentStatus

  • replaceNamespacedDeploymentStatus(name: string, namespace: string, body: V1Deployment, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1Deployment; response: IncomingMessage }>
  • replace status of the specified Deployment

    Parameters

    • name: string

      name of the Deployment

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1Deployment
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Deployment; response: IncomingMessage }>

replaceNamespacedReplicaSet

  • replaceNamespacedReplicaSet(name: string, namespace: string, body: V1ReplicaSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1ReplicaSet; response: IncomingMessage }>
  • replace the specified ReplicaSet

    Parameters

    • name: string

      name of the ReplicaSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1ReplicaSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSet; response: IncomingMessage }>

replaceNamespacedReplicaSetScale

  • replaceNamespacedReplicaSetScale(name: string, namespace: string, body: V1Scale, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • replace scale of the specified ReplicaSet

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1Scale
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

replaceNamespacedReplicaSetStatus

  • replaceNamespacedReplicaSetStatus(name: string, namespace: string, body: V1ReplicaSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1ReplicaSet; response: IncomingMessage }>
  • replace status of the specified ReplicaSet

    Parameters

    • name: string

      name of the ReplicaSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1ReplicaSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1ReplicaSet; response: IncomingMessage }>

replaceNamespacedStatefulSet

  • replaceNamespacedStatefulSet(name: string, namespace: string, body: V1StatefulSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1StatefulSet; response: IncomingMessage }>
  • replace the specified StatefulSet

    Parameters

    • name: string

      name of the StatefulSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1StatefulSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSet; response: IncomingMessage }>

replaceNamespacedStatefulSetScale

  • replaceNamespacedStatefulSetScale(name: string, namespace: string, body: V1Scale, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1Scale; response: IncomingMessage }>
  • replace scale of the specified StatefulSet

    Parameters

    • name: string

      name of the Scale

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1Scale
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1Scale; response: IncomingMessage }>

replaceNamespacedStatefulSetStatus

  • replaceNamespacedStatefulSetStatus(name: string, namespace: string, body: V1StatefulSet, pretty?: string, dryRun?: string, fieldManager?: string, options?: { headers: {} }): Promise<{ body: V1StatefulSet; response: IncomingMessage }>
  • replace status of the specified StatefulSet

    Parameters

    • name: string

      name of the StatefulSet

    • namespace: string

      object name and auth scope, such as for teams and projects

    • body: V1StatefulSet
    • Optional pretty: string

      If &#39;true&#39;, then the output is pretty printed.

    • Optional dryRun: string

      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

    • Optional fieldManager: string

      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.

    • options: { headers: {} } = ...
      • headers: {}
        • [name: string]: string

    Returns Promise<{ body: V1StatefulSet; response: IncomingMessage }>

setApiKey

setDefaultAuthentication

  • setDefaultAuthentication(auth: Authentication): void

Generated using TypeDoc