k8ts
Version:
Powerful framework for building Kubernetes manifests in TypeScript.
1,277 lines • 837 kB
TypeScript
import { ApiObject, GroupVersionKind } from "cdk8s";
import { Construct } from "constructs";
/**
* MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or
* reject and may change the object.
*
* @schema io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration
*/
export declare class KubeMutatingWebhookConfiguration extends ApiObject {
/**
* Returns the apiVersion and kind for
* "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration"
*/
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for
* "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeMutatingWebhookConfigurationProps): any;
/**
* Defines a "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeMutatingWebhookConfigurationProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.
*
* @schema io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList
*/
export declare class KubeMutatingWebhookConfigurationList extends ApiObject {
/**
* Returns the apiVersion and kind for
* "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList"
*/
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for
* "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeMutatingWebhookConfigurationListProps): any;
/**
* Defines a "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeMutatingWebhookConfigurationListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept
* or reject and object without changing it.
*
* @schema io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration
*/
export declare class KubeValidatingWebhookConfiguration extends ApiObject {
/**
* Returns the apiVersion and kind for
* "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration"
*/
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for
* "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeValidatingWebhookConfigurationProps): any;
/**
* Defines a "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeValidatingWebhookConfigurationProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.
*
* @schema io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList
*/
export declare class KubeValidatingWebhookConfigurationList extends ApiObject {
/**
* Returns the apiVersion and kind for
* "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList"
*/
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for
* "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeValidatingWebhookConfigurationListProps): any;
/**
* Defines a "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeValidatingWebhookConfigurationListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Storage version of a specific resource.
*
* @schema io.k8s.api.apiserverinternal.v1alpha1.StorageVersion
*/
export declare class KubeStorageVersionV1Alpha1 extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeStorageVersionV1Alpha1Props): any;
/**
* Defines a "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeStorageVersionV1Alpha1Props);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* A list of StorageVersions.
*
* @schema io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList
*/
export declare class KubeStorageVersionListV1Alpha1 extends ApiObject {
/**
* Returns the apiVersion and kind for
* "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList"
*/
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeStorageVersionListV1Alpha1Props): any;
/**
* Defines a "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeStorageVersionListV1Alpha1Props);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ControllerRevision implements an immutable snapshot of state data. Clients are responsible for
* serializing and deserializing the objects that contain their internal state. Once a
* ControllerRevision has been successfully created, it can not be updated. The API Server will fail
* validation of all requests that attempt to mutate the Data field. ControllerRevisions may,
* however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers
* for update and rollback, this object is beta. However, it may be subject to name and
* representation changes in future releases, and clients should not depend on its stability. It is
* primarily for internal use by controllers.
*
* @schema io.k8s.api.apps.v1.ControllerRevision
*/
export declare class KubeControllerRevision extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevision" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ControllerRevision".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeControllerRevisionProps): any;
/**
* Defines a "io.k8s.api.apps.v1.ControllerRevision" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeControllerRevisionProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ControllerRevisionList is a resource containing a list of ControllerRevision objects.
*
* @schema io.k8s.api.apps.v1.ControllerRevisionList
*/
export declare class KubeControllerRevisionList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevisionList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ControllerRevisionList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeControllerRevisionListProps): any;
/**
* Defines a "io.k8s.api.apps.v1.ControllerRevisionList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeControllerRevisionListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* DaemonSet represents the configuration of a daemon set.
*
* @schema io.k8s.api.apps.v1.DaemonSet
*/
export declare class KubeDaemonSet extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.DaemonSet" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DaemonSet".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeDaemonSetProps): any;
/**
* Defines a "io.k8s.api.apps.v1.DaemonSet" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeDaemonSetProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* DaemonSetList is a collection of daemon sets.
*
* @schema io.k8s.api.apps.v1.DaemonSetList
*/
export declare class KubeDaemonSetList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.DaemonSetList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DaemonSetList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeDaemonSetListProps): any;
/**
* Defines a "io.k8s.api.apps.v1.DaemonSetList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeDaemonSetListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Deployment enables declarative updates for Pods and ReplicaSets.
*
* @schema io.k8s.api.apps.v1.Deployment
*/
export declare class KubeDeployment extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.Deployment" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.Deployment".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeDeploymentProps): any;
/**
* Defines a "io.k8s.api.apps.v1.Deployment" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeDeploymentProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* DeploymentList is a list of Deployments.
*
* @schema io.k8s.api.apps.v1.DeploymentList
*/
export declare class KubeDeploymentList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.DeploymentList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DeploymentList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeDeploymentListProps): any;
/**
* Defines a "io.k8s.api.apps.v1.DeploymentList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeDeploymentListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ReplicaSet ensures that a specified number of pod replicas are running at any given time.
*
* @schema io.k8s.api.apps.v1.ReplicaSet
*/
export declare class KubeReplicaSet extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.ReplicaSet" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ReplicaSet".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeReplicaSetProps): any;
/**
* Defines a "io.k8s.api.apps.v1.ReplicaSet" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeReplicaSetProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ReplicaSetList is a collection of ReplicaSets.
*
* @schema io.k8s.api.apps.v1.ReplicaSetList
*/
export declare class KubeReplicaSetList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.ReplicaSetList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ReplicaSetList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeReplicaSetListProps): any;
/**
* Defines a "io.k8s.api.apps.v1.ReplicaSetList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeReplicaSetListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* StatefulSet represents a set of pods with consistent identities. Identities are defined as:
*
* - Network: A single stable DNS and hostname.
* - Storage: As many VolumeClaims as requested.
*
* The StatefulSet guarantees that a given network identity will always map to the same storage
* identity.
*
* @schema io.k8s.api.apps.v1.StatefulSet
*/
export declare class KubeStatefulSet extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSet" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.StatefulSet".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeStatefulSetProps): any;
/**
* Defines a "io.k8s.api.apps.v1.StatefulSet" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeStatefulSetProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* StatefulSetList is a collection of StatefulSets.
*
* @schema io.k8s.api.apps.v1.StatefulSetList
*/
export declare class KubeStatefulSetList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSetList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1.StatefulSetList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeStatefulSetListProps): any;
/**
* Defines a "io.k8s.api.apps.v1.StatefulSetList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeStatefulSetListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* TokenRequest requests a token for a given service account.
*
* @schema io.k8s.api.authentication.v1.TokenRequest
*/
export declare class KubeTokenRequest extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.authentication.v1.TokenRequest" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.TokenRequest".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeTokenRequestProps): any;
/**
* Defines a "io.k8s.api.authentication.v1.TokenRequest" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeTokenRequestProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be
* cached by the webhook token authenticator plugin in the kube-apiserver.
*
* @schema io.k8s.api.authentication.v1.TokenReview
*/
export declare class KubeTokenReview extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.authentication.v1.TokenReview" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.TokenReview".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeTokenReviewProps): any;
/**
* Defines a "io.k8s.api.authentication.v1.TokenReview" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeTokenReviewProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given
* namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped
* policy that includes permissions checking.
*
* @schema io.k8s.api.authorization.v1.LocalSubjectAccessReview
*/
export declare class KubeLocalSubjectAccessReview extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.authorization.v1.LocalSubjectAccessReview" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.LocalSubjectAccessReview".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeLocalSubjectAccessReviewProps): any;
/**
* Defines a "io.k8s.api.authorization.v1.LocalSubjectAccessReview" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeLocalSubjectAccessReviewProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in
* a spec.namespace means "in all namespaces". Self is a special case, because users should always
* be able to check whether they can perform an action
*
* @schema io.k8s.api.authorization.v1.SelfSubjectAccessReview
*/
export declare class KubeSelfSubjectAccessReview extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SelfSubjectAccessReview" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SelfSubjectAccessReview".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeSelfSubjectAccessReviewProps): any;
/**
* Defines a "io.k8s.api.authorization.v1.SelfSubjectAccessReview" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeSelfSubjectAccessReviewProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* SelfSubjectRulesReview enumerates the set of actions the current user can perform within a
* namespace. The returned list of actions may be incomplete depending on the server's authorization
* mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by
* UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should
* NOT Be used by external systems to drive authorization decisions as this raises confused deputy,
* cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview
* are the correct way to defer authorization decisions to the API server.
*
* @schema io.k8s.api.authorization.v1.SelfSubjectRulesReview
*/
export declare class KubeSelfSubjectRulesReview extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SelfSubjectRulesReview" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SelfSubjectRulesReview".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeSelfSubjectRulesReviewProps): any;
/**
* Defines a "io.k8s.api.authorization.v1.SelfSubjectRulesReview" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeSelfSubjectRulesReviewProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* SubjectAccessReview checks whether or not a user or group can perform an action.
*
* @schema io.k8s.api.authorization.v1.SubjectAccessReview
*/
export declare class KubeSubjectAccessReview extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SubjectAccessReview" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SubjectAccessReview".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeSubjectAccessReviewProps): any;
/**
* Defines a "io.k8s.api.authorization.v1.SubjectAccessReview" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeSubjectAccessReviewProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Configuration of a horizontal pod autoscaler.
*
* @schema io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler
*/
export declare class KubeHorizontalPodAutoscaler extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeHorizontalPodAutoscalerProps): any;
/**
* Defines a "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeHorizontalPodAutoscalerProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* List of horizontal pod autoscaler objects.
*
* @schema io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList
*/
export declare class KubeHorizontalPodAutoscalerList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeHorizontalPodAutoscalerListProps): any;
/**
* Defines a "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeHorizontalPodAutoscalerListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Scale represents a scaling request for a resource.
*
* @schema io.k8s.api.autoscaling.v1.Scale
*/
export declare class KubeScale extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.Scale" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.Scale".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeScaleProps): any;
/**
* Defines a "io.k8s.api.autoscaling.v1.Scale" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeScaleProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically
* manages the replica count of any resource implementing the scale subresource based on the metrics
* specified.
*
* @schema io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler
*/
export declare class KubeHorizontalPodAutoscalerV2 extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeHorizontalPodAutoscalerV2Props): any;
/**
* Defines a "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeHorizontalPodAutoscalerV2Props);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.
*
* @schema io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList
*/
export declare class KubeHorizontalPodAutoscalerListV2 extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeHorizontalPodAutoscalerListV2Props): any;
/**
* Defines a "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeHorizontalPodAutoscalerListV2Props);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically
* manages the replica count of any resource implementing the scale subresource based on the metrics
* specified.
*
* @schema io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler
*/
export declare class KubeHorizontalPodAutoscalerV2Beta2 extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeHorizontalPodAutoscalerV2Beta2Props): any;
/**
* Defines a "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeHorizontalPodAutoscalerV2Beta2Props);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.
*
* @schema io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList
*/
export declare class KubeHorizontalPodAutoscalerListV2Beta2 extends ApiObject {
/**
* Returns the apiVersion and kind for
* "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList"
*/
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for
* "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeHorizontalPodAutoscalerListV2Beta2Props): any;
/**
* Defines a "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeHorizontalPodAutoscalerListV2Beta2Props);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* CronJob represents the configuration of a single cron job.
*
* @schema io.k8s.api.batch.v1.CronJob
*/
export declare class KubeCronJob extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.batch.v1.CronJob" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.batch.v1.CronJob".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeCronJobProps): any;
/**
* Defines a "io.k8s.api.batch.v1.CronJob" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeCronJobProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* CronJobList is a collection of cron jobs.
*
* @schema io.k8s.api.batch.v1.CronJobList
*/
export declare class KubeCronJobList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.batch.v1.CronJobList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.batch.v1.CronJobList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeCronJobListProps): any;
/**
* Defines a "io.k8s.api.batch.v1.CronJobList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeCronJobListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Job represents the configuration of a single job.
*
* @schema io.k8s.api.batch.v1.Job
*/
export declare class KubeJob extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.batch.v1.Job" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.batch.v1.Job".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeJobProps): any;
/**
* Defines a "io.k8s.api.batch.v1.Job" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeJobProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* JobList is a collection of jobs.
*
* @schema io.k8s.api.batch.v1.JobList
*/
export declare class KubeJobList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.batch.v1.JobList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.batch.v1.JobList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeJobListProps): any;
/**
* Defines a "io.k8s.api.batch.v1.JobList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeJobListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a
* certificate signing request, and having it asynchronously approved and issued.
*
* Kubelets use this API to obtain:
*
* 1. Client certificates to authenticate to kube-apiserver (with the
* "kubernetes.io/kube-apiserver-client-kubelet" signerName).
* 2. Serving certificates for TLS endpoints kube-apiserver can connect to securely (with the
* "kubernetes.io/kubelet-serving" signerName).
*
* This API can be used to request client certificates to authenticate to kube-apiserver (with the
* "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom
* non-Kubernetes signers.
*
* @schema io.k8s.api.certificates.v1.CertificateSigningRequest
*/
export declare class KubeCertificateSigningRequest extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.certificates.v1.CertificateSigningRequest" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.certificates.v1.CertificateSigningRequest".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeCertificateSigningRequestProps): any;
/**
* Defines a "io.k8s.api.certificates.v1.CertificateSigningRequest" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeCertificateSigningRequestProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* CertificateSigningRequestList is a collection of CertificateSigningRequest objects
*
* @schema io.k8s.api.certificates.v1.CertificateSigningRequestList
*/
export declare class KubeCertificateSigningRequestList extends ApiObject {
/**
* Returns the apiVersion and kind for
* "io.k8s.api.certificates.v1.CertificateSigningRequestList"
*/
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.certificates.v1.CertificateSigningRequestList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeCertificateSigningRequestListProps): any;
/**
* Defines a "io.k8s.api.certificates.v1.CertificateSigningRequestList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeCertificateSigningRequestListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Lease defines a lease concept.
*
* @schema io.k8s.api.coordination.v1.Lease
*/
export declare class KubeLease extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.coordination.v1.Lease" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.coordination.v1.Lease".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeLeaseProps): any;
/**
* Defines a "io.k8s.api.coordination.v1.Lease" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeLeaseProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* LeaseList is a list of Lease objects.
*
* @schema io.k8s.api.coordination.v1.LeaseList
*/
export declare class KubeLeaseList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.coordination.v1.LeaseList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.coordination.v1.LeaseList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeLeaseListProps): any;
/**
* Defines a "io.k8s.api.coordination.v1.LeaseList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeLeaseListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
* Deprecated in 1.7, please use the bindings subresource of pods instead.
*
* @schema io.k8s.api.core.v1.Binding
*/
export declare class KubeBinding extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.core.v1.Binding" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.core.v1.Binding".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeBindingProps): any;
/**
* Defines a "io.k8s.api.core.v1.Binding" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeBindingProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API
* is deprecated in v1.19+
*
* @schema io.k8s.api.core.v1.ComponentStatus
*/
export declare class KubeComponentStatus extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.core.v1.ComponentStatus" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.core.v1.ComponentStatus".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeComponentStatusProps): any;
/**
* Defines a "io.k8s.api.core.v1.ComponentStatus" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeComponentStatusProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated:
* This API is deprecated in v1.19+
*
* @schema io.k8s.api.core.v1.ComponentStatusList
*/
export declare class KubeComponentStatusList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.core.v1.ComponentStatusList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.core.v1.ComponentStatusList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeComponentStatusListProps): any;
/**
* Defines a "io.k8s.api.core.v1.ComponentStatusList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeComponentStatusListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ConfigMap holds configuration data for pods to consume.
*
* @schema io.k8s.api.core.v1.ConfigMap
*/
export declare class KubeConfigMap extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.core.v1.ConfigMap" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.core.v1.ConfigMap".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeConfigMapProps): any;
/**
* Defines a "io.k8s.api.core.v1.ConfigMap" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeConfigMapProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* ConfigMapList is a resource containing a list of ConfigMap objects.
*
* @schema io.k8s.api.core.v1.ConfigMapList
*/
export declare class KubeConfigMapList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.core.v1.ConfigMapList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.core.v1.ConfigMapList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeConfigMapListProps): any;
/**
* Defines a "io.k8s.api.core.v1.ConfigMapList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeConfigMapListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Endpoints is a collection of endpoints that implement the actual service. Example:
*
* Name: "mysvc",
* Subsets: [
* {
* Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
* Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
* },
* {
* Addresses: [{"ip": "10.10.3.3"}],
* Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
* },
* ]
*
* @schema io.k8s.api.core.v1.Endpoints
*/
export declare class KubeEndpoints extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.core.v1.Endpoints" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.core.v1.Endpoints".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props?: KubeEndpointsProps): any;
/**
* Defines a "io.k8s.api.core.v1.Endpoints" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props?: KubeEndpointsProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* EndpointsList is a list of endpoints.
*
* @schema io.k8s.api.core.v1.EndpointsList
*/
export declare class KubeEndpointsList extends ApiObject {
/** Returns the apiVersion and kind for "io.k8s.api.core.v1.EndpointsList" */
static readonly GVK: GroupVersionKind;
/**
* Renders a Kubernetes manifest for "io.k8s.api.core.v1.EndpointsList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props Initialization props
*/
static manifest(props: KubeEndpointsListProps): any;
/**
* Defines a "io.k8s.api.core.v1.EndpointsList" API object
*
* @param scope The scope in which to define this object
* @param id A scope-local name for the object
* @param props Initialization props
*/
constructor(scope: Construct, id: string, props: KubeEndpointsListProps);
/** Renders the object to Kubernetes JSON. */
toJson(): any;
}
/**
* Event is a report of an event somewhere in the cluster. It generally denotes some state change in
* the system. Events have a limited retention time and triggers and messages may evolve with time.
* Event c