cdk8s-grafana
Version:
Grafana construct for cdk8s.
1,279 lines • 1.26 MB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KubeHorizontalPodAutoscalerV2Beta2 = exports.KubeHorizontalPodAutoscalerListV2Beta1 = exports.KubeHorizontalPodAutoscalerV2Beta1 = exports.KubeScale = exports.KubeHorizontalPodAutoscalerList = exports.KubeHorizontalPodAutoscaler = exports.KubeSubjectAccessReviewV1Beta1 = exports.KubeSelfSubjectRulesReviewV1Beta1 = exports.KubeSelfSubjectAccessReviewV1Beta1 = exports.KubeLocalSubjectAccessReviewV1Beta1 = exports.KubeSubjectAccessReview = exports.KubeSelfSubjectRulesReview = exports.KubeSelfSubjectAccessReview = exports.KubeLocalSubjectAccessReview = exports.KubeTokenReviewV1Beta1 = exports.KubeTokenReview = exports.KubeAuditSinkListV1Alpha1 = exports.KubeAuditSinkV1Alpha1 = exports.KubeStatefulSetListV1Beta2 = exports.KubeStatefulSetV1Beta2 = exports.KubeScaleV1Beta2 = exports.KubeReplicaSetListV1Beta2 = exports.KubeReplicaSetV1Beta2 = exports.KubeDeploymentListV1Beta2 = exports.KubeDeploymentV1Beta2 = exports.KubeDaemonSetListV1Beta2 = exports.KubeDaemonSetV1Beta2 = exports.KubeControllerRevisionListV1Beta2 = exports.KubeControllerRevisionV1Beta2 = exports.KubeStatefulSetListV1Beta1 = exports.KubeStatefulSetV1Beta1 = exports.KubeScaleV1Beta1 = exports.KubeDeploymentListV1Beta1 = exports.KubeDeploymentV1Beta1 = exports.KubeControllerRevisionListV1Beta1 = exports.KubeControllerRevisionV1Beta1 = exports.KubeStatefulSetList = exports.KubeStatefulSet = exports.KubeReplicaSetList = exports.KubeReplicaSet = exports.KubeDeploymentList = exports.KubeDeployment = exports.KubeDaemonSetList = exports.KubeDaemonSet = exports.KubeControllerRevisionList = exports.KubeControllerRevision = exports.KubeValidatingWebhookConfigurationListV1Beta1 = exports.KubeValidatingWebhookConfigurationV1Beta1 = exports.KubeMutatingWebhookConfigurationListV1Beta1 = exports.KubeMutatingWebhookConfigurationV1Beta1 = void 0;
exports.KubeDaemonSetListV1Beta1 = exports.KubeDaemonSetV1Beta1 = exports.KubeEventListV1Beta1 = exports.KubeEventV1Beta1 = exports.KubeServiceList = exports.KubeServiceAccountList = exports.KubeServiceAccount = exports.KubeService = exports.KubeSecretList = exports.KubeSecret = exports.KubeResourceQuotaList = exports.KubeResourceQuota = exports.KubeReplicationControllerList = exports.KubeReplicationController = exports.KubePodTemplateList = exports.KubePodTemplate = exports.KubePodList = exports.KubePod = exports.KubePersistentVolumeList = exports.KubePersistentVolumeClaimList = exports.KubePersistentVolumeClaim = exports.KubePersistentVolume = exports.KubeNodeList = exports.KubeNode = exports.KubeNamespaceList = exports.KubeNamespace = exports.KubeLimitRangeList = exports.KubeLimitRange = exports.KubeEventList = exports.KubeEvent = exports.KubeEndpointsList = exports.KubeEndpoints = exports.KubeConfigMapList = exports.KubeConfigMap = exports.KubeComponentStatusList = exports.KubeComponentStatus = exports.KubeBinding = exports.KubeLeaseListV1Beta1 = exports.KubeLeaseV1Beta1 = exports.KubeLeaseList = exports.KubeLease = exports.KubeCertificateSigningRequestListV1Beta1 = exports.KubeCertificateSigningRequestV1Beta1 = exports.KubeCronJobListV2Alpha1 = exports.KubeCronJobV2Alpha1 = exports.KubeCronJobListV1Beta1 = exports.KubeCronJobV1Beta1 = exports.KubeJobList = exports.KubeJob = exports.KubeHorizontalPodAutoscalerListV2Beta2 = void 0;
exports.KubeStorageClass = exports.KubePodPresetListV1Alpha1 = exports.KubePodPresetV1Alpha1 = exports.KubePriorityClassListV1Beta1 = exports.KubePriorityClassV1Beta1 = exports.KubePriorityClassListV1Alpha1 = exports.KubePriorityClassV1Alpha1 = exports.KubePriorityClassList = exports.KubePriorityClass = exports.KubeRoleListV1Beta1 = exports.KubeRoleBindingListV1Beta1 = exports.KubeRoleBindingV1Beta1 = exports.KubeRoleV1Beta1 = exports.KubeClusterRoleListV1Beta1 = exports.KubeClusterRoleBindingListV1Beta1 = exports.KubeClusterRoleBindingV1Beta1 = exports.KubeClusterRoleV1Beta1 = exports.KubeRoleListV1Alpha1 = exports.KubeRoleBindingListV1Alpha1 = exports.KubeRoleBindingV1Alpha1 = exports.KubeRoleV1Alpha1 = exports.KubeClusterRoleListV1Alpha1 = exports.KubeClusterRoleBindingListV1Alpha1 = exports.KubeClusterRoleBindingV1Alpha1 = exports.KubeClusterRoleV1Alpha1 = exports.KubeRoleList = exports.KubeRoleBindingList = exports.KubeRoleBinding = exports.KubeRole = exports.KubeClusterRoleList = exports.KubeClusterRoleBindingList = exports.KubeClusterRoleBinding = exports.KubeClusterRole = exports.KubePodDisruptionBudgetListV1Beta1 = exports.KubePodDisruptionBudgetV1Beta1 = exports.KubeEvictionV1Beta1 = exports.KubeRuntimeClassListV1Beta1 = exports.KubeRuntimeClassV1Beta1 = exports.KubeRuntimeClassListV1Alpha1 = exports.KubeRuntimeClassV1Alpha1 = exports.KubeNetworkPolicyList = exports.KubeNetworkPolicy = exports.KubeReplicaSetListV1Beta1 = exports.KubeReplicaSetV1Beta1 = exports.KubePodSecurityPolicyListV1Beta1 = exports.KubePodSecurityPolicyV1Beta1 = exports.KubeNetworkPolicyListV1Beta1 = exports.KubeNetworkPolicyV1Beta1 = exports.KubeIngressListV1Beta1 = exports.KubeIngressV1Beta1 = void 0;
exports.IntOrString = exports.IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind = exports.Quantity = exports.KubeApiServiceListV1Beta1 = exports.KubeApiServiceV1Beta1 = exports.KubeApiServiceList = exports.KubeApiService = exports.KubeStatus = exports.KubeCustomResourceDefinitionListV1Beta1 = exports.KubeCustomResourceDefinitionV1Beta1 = exports.KubeVolumeAttachmentListV1Beta1 = exports.KubeVolumeAttachmentV1Beta1 = exports.KubeStorageClassListV1Beta1 = exports.KubeStorageClassV1Beta1 = exports.KubeCsiNodeListV1Beta1 = exports.KubeCsiNodeV1Beta1 = exports.KubeCsiDriverListV1Beta1 = exports.KubeCsiDriverV1Beta1 = exports.KubeVolumeAttachmentListV1Alpha1 = exports.KubeVolumeAttachmentV1Alpha1 = exports.KubeVolumeAttachmentList = exports.KubeVolumeAttachment = exports.KubeStorageClassList = void 0;
// generated by cdk8s
const cdk8s_1 = require("cdk8s");
/**
* MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
*
* @schema io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration
*/
class KubeMutatingWebhookConfigurationV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeMutatingWebhookConfigurationV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.admissionregistration.v1beta1.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, id, props = {}) {
super(scope, id, KubeMutatingWebhookConfigurationV1Beta1.manifest(props));
}
}
exports.KubeMutatingWebhookConfigurationV1Beta1 = KubeMutatingWebhookConfigurationV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration"
*/
KubeMutatingWebhookConfigurationV1Beta1.GVK = {
apiVersion: 'admissionregistration.k8s.io/v1beta1',
kind: 'MutatingWebhookConfiguration',
};
/**
* MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.
*
* @schema io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList
*/
class KubeMutatingWebhookConfigurationListV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeMutatingWebhookConfigurationListV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.admissionregistration.v1beta1.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, id, props) {
super(scope, id, KubeMutatingWebhookConfigurationListV1Beta1.manifest(props));
}
}
exports.KubeMutatingWebhookConfigurationListV1Beta1 = KubeMutatingWebhookConfigurationListV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList"
*/
KubeMutatingWebhookConfigurationListV1Beta1.GVK = {
apiVersion: 'admissionregistration.k8s.io/v1beta1',
kind: 'MutatingWebhookConfigurationList',
};
/**
* ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
*
* @schema io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration
*/
class KubeValidatingWebhookConfigurationV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeValidatingWebhookConfigurationV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.admissionregistration.v1beta1.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, id, props = {}) {
super(scope, id, KubeValidatingWebhookConfigurationV1Beta1.manifest(props));
}
}
exports.KubeValidatingWebhookConfigurationV1Beta1 = KubeValidatingWebhookConfigurationV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration"
*/
KubeValidatingWebhookConfigurationV1Beta1.GVK = {
apiVersion: 'admissionregistration.k8s.io/v1beta1',
kind: 'ValidatingWebhookConfiguration',
};
/**
* ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.
*
* @schema io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList
*/
class KubeValidatingWebhookConfigurationListV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeValidatingWebhookConfigurationListV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.admissionregistration.v1beta1.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, id, props) {
super(scope, id, KubeValidatingWebhookConfigurationListV1Beta1.manifest(props));
}
}
exports.KubeValidatingWebhookConfigurationListV1Beta1 = KubeValidatingWebhookConfigurationListV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList"
*/
KubeValidatingWebhookConfigurationListV1Beta1.GVK = {
apiVersion: 'admissionregistration.k8s.io/v1beta1',
kind: 'ValidatingWebhookConfigurationList',
};
/**
* 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
*/
class KubeControllerRevision extends cdk8s_1.ApiObject {
/**
* 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) {
return {
...KubeControllerRevision.GVK,
...props,
};
}
/**
* 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, id, props) {
super(scope, id, KubeControllerRevision.manifest(props));
}
}
exports.KubeControllerRevision = KubeControllerRevision;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevision"
*/
KubeControllerRevision.GVK = {
apiVersion: 'apps/v1',
kind: 'ControllerRevision',
};
/**
* ControllerRevisionList is a resource containing a list of ControllerRevision objects.
*
* @schema io.k8s.api.apps.v1.ControllerRevisionList
*/
class KubeControllerRevisionList extends cdk8s_1.ApiObject {
/**
* 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) {
return {
...KubeControllerRevisionList.GVK,
...props,
};
}
/**
* 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, id, props) {
super(scope, id, KubeControllerRevisionList.manifest(props));
}
}
exports.KubeControllerRevisionList = KubeControllerRevisionList;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevisionList"
*/
KubeControllerRevisionList.GVK = {
apiVersion: 'apps/v1',
kind: 'ControllerRevisionList',
};
/**
* DaemonSet represents the configuration of a daemon set.
*
* @schema io.k8s.api.apps.v1.DaemonSet
*/
class KubeDaemonSet extends cdk8s_1.ApiObject {
/**
* 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 = {}) {
return {
...KubeDaemonSet.GVK,
...props,
};
}
/**
* 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, id, props = {}) {
super(scope, id, KubeDaemonSet.manifest(props));
}
}
exports.KubeDaemonSet = KubeDaemonSet;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.DaemonSet"
*/
KubeDaemonSet.GVK = {
apiVersion: 'apps/v1',
kind: 'DaemonSet',
};
/**
* DaemonSetList is a collection of daemon sets.
*
* @schema io.k8s.api.apps.v1.DaemonSetList
*/
class KubeDaemonSetList extends cdk8s_1.ApiObject {
/**
* 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) {
return {
...KubeDaemonSetList.GVK,
...props,
};
}
/**
* 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, id, props) {
super(scope, id, KubeDaemonSetList.manifest(props));
}
}
exports.KubeDaemonSetList = KubeDaemonSetList;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.DaemonSetList"
*/
KubeDaemonSetList.GVK = {
apiVersion: 'apps/v1',
kind: 'DaemonSetList',
};
/**
* Deployment enables declarative updates for Pods and ReplicaSets.
*
* @schema io.k8s.api.apps.v1.Deployment
*/
class KubeDeployment extends cdk8s_1.ApiObject {
/**
* 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 = {}) {
return {
...KubeDeployment.GVK,
...props,
};
}
/**
* 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, id, props = {}) {
super(scope, id, KubeDeployment.manifest(props));
}
}
exports.KubeDeployment = KubeDeployment;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.Deployment"
*/
KubeDeployment.GVK = {
apiVersion: 'apps/v1',
kind: 'Deployment',
};
/**
* DeploymentList is a list of Deployments.
*
* @schema io.k8s.api.apps.v1.DeploymentList
*/
class KubeDeploymentList extends cdk8s_1.ApiObject {
/**
* 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) {
return {
...KubeDeploymentList.GVK,
...props,
};
}
/**
* 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, id, props) {
super(scope, id, KubeDeploymentList.manifest(props));
}
}
exports.KubeDeploymentList = KubeDeploymentList;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.DeploymentList"
*/
KubeDeploymentList.GVK = {
apiVersion: 'apps/v1',
kind: 'DeploymentList',
};
/**
* ReplicaSet ensures that a specified number of pod replicas are running at any given time.
*
* @schema io.k8s.api.apps.v1.ReplicaSet
*/
class KubeReplicaSet extends cdk8s_1.ApiObject {
/**
* 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 = {}) {
return {
...KubeReplicaSet.GVK,
...props,
};
}
/**
* 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, id, props = {}) {
super(scope, id, KubeReplicaSet.manifest(props));
}
}
exports.KubeReplicaSet = KubeReplicaSet;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.ReplicaSet"
*/
KubeReplicaSet.GVK = {
apiVersion: 'apps/v1',
kind: 'ReplicaSet',
};
/**
* ReplicaSetList is a collection of ReplicaSets.
*
* @schema io.k8s.api.apps.v1.ReplicaSetList
*/
class KubeReplicaSetList extends cdk8s_1.ApiObject {
/**
* 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) {
return {
...KubeReplicaSetList.GVK,
...props,
};
}
/**
* 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, id, props) {
super(scope, id, KubeReplicaSetList.manifest(props));
}
}
exports.KubeReplicaSetList = KubeReplicaSetList;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.ReplicaSetList"
*/
KubeReplicaSetList.GVK = {
apiVersion: 'apps/v1',
kind: 'ReplicaSetList',
};
/**
* 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
*/
class KubeStatefulSet extends cdk8s_1.ApiObject {
/**
* 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 = {}) {
return {
...KubeStatefulSet.GVK,
...props,
};
}
/**
* 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, id, props = {}) {
super(scope, id, KubeStatefulSet.manifest(props));
}
}
exports.KubeStatefulSet = KubeStatefulSet;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSet"
*/
KubeStatefulSet.GVK = {
apiVersion: 'apps/v1',
kind: 'StatefulSet',
};
/**
* StatefulSetList is a collection of StatefulSets.
*
* @schema io.k8s.api.apps.v1.StatefulSetList
*/
class KubeStatefulSetList extends cdk8s_1.ApiObject {
/**
* 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) {
return {
...KubeStatefulSetList.GVK,
...props,
};
}
/**
* 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, id, props) {
super(scope, id, KubeStatefulSetList.manifest(props));
}
}
exports.KubeStatefulSetList = KubeStatefulSetList;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSetList"
*/
KubeStatefulSetList.GVK = {
apiVersion: 'apps/v1',
kind: 'StatefulSetList',
};
/**
* DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. 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.v1beta1.ControllerRevision
*/
class KubeControllerRevisionV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta1.ControllerRevision".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeControllerRevisionV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta1.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, id, props) {
super(scope, id, KubeControllerRevisionV1Beta1.manifest(props));
}
}
exports.KubeControllerRevisionV1Beta1 = KubeControllerRevisionV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta1.ControllerRevision"
*/
KubeControllerRevisionV1Beta1.GVK = {
apiVersion: 'apps/v1beta1',
kind: 'ControllerRevision',
};
/**
* ControllerRevisionList is a resource containing a list of ControllerRevision objects.
*
* @schema io.k8s.api.apps.v1beta1.ControllerRevisionList
*/
class KubeControllerRevisionListV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta1.ControllerRevisionList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeControllerRevisionListV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta1.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, id, props) {
super(scope, id, KubeControllerRevisionListV1Beta1.manifest(props));
}
}
exports.KubeControllerRevisionListV1Beta1 = KubeControllerRevisionListV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta1.ControllerRevisionList"
*/
KubeControllerRevisionListV1Beta1.GVK = {
apiVersion: 'apps/v1beta1',
kind: 'ControllerRevisionList',
};
/**
* DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.
*
* @schema io.k8s.api.extensions.v1beta1.Deployment
*/
class KubeDeploymentV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.extensions.v1beta1.Deployment".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeDeploymentV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.extensions.v1beta1.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, id, props = {}) {
super(scope, id, KubeDeploymentV1Beta1.manifest(props));
}
}
exports.KubeDeploymentV1Beta1 = KubeDeploymentV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.extensions.v1beta1.Deployment"
*/
KubeDeploymentV1Beta1.GVK = {
apiVersion: 'extensions/v1beta1',
kind: 'Deployment',
};
/**
* DeploymentList is a list of Deployments.
*
* @schema io.k8s.api.extensions.v1beta1.DeploymentList
*/
class KubeDeploymentListV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.extensions.v1beta1.DeploymentList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeDeploymentListV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.extensions.v1beta1.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, id, props) {
super(scope, id, KubeDeploymentListV1Beta1.manifest(props));
}
}
exports.KubeDeploymentListV1Beta1 = KubeDeploymentListV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.extensions.v1beta1.DeploymentList"
*/
KubeDeploymentListV1Beta1.GVK = {
apiVersion: 'extensions/v1beta1',
kind: 'DeploymentList',
};
/**
* represents a scaling request for a resource.
*
* @schema io.k8s.api.extensions.v1beta1.Scale
*/
class KubeScaleV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.extensions.v1beta1.Scale".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeScaleV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.extensions.v1beta1.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, id, props = {}) {
super(scope, id, KubeScaleV1Beta1.manifest(props));
}
}
exports.KubeScaleV1Beta1 = KubeScaleV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.extensions.v1beta1.Scale"
*/
KubeScaleV1Beta1.GVK = {
apiVersion: 'extensions/v1beta1',
kind: 'Scale',
};
/**
* DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. 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.v1beta1.StatefulSet
*/
class KubeStatefulSetV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta1.StatefulSet".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeStatefulSetV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta1.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, id, props = {}) {
super(scope, id, KubeStatefulSetV1Beta1.manifest(props));
}
}
exports.KubeStatefulSetV1Beta1 = KubeStatefulSetV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta1.StatefulSet"
*/
KubeStatefulSetV1Beta1.GVK = {
apiVersion: 'apps/v1beta1',
kind: 'StatefulSet',
};
/**
* StatefulSetList is a collection of StatefulSets.
*
* @schema io.k8s.api.apps.v1beta1.StatefulSetList
*/
class KubeStatefulSetListV1Beta1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta1.StatefulSetList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeStatefulSetListV1Beta1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta1.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, id, props) {
super(scope, id, KubeStatefulSetListV1Beta1.manifest(props));
}
}
exports.KubeStatefulSetListV1Beta1 = KubeStatefulSetListV1Beta1;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta1.StatefulSetList"
*/
KubeStatefulSetListV1Beta1.GVK = {
apiVersion: 'apps/v1beta1',
kind: 'StatefulSetList',
};
/**
* DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1/ControllerRevision. See the release notes for more information. 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.v1beta2.ControllerRevision
*/
class KubeControllerRevisionV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.ControllerRevision".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeControllerRevisionV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props) {
super(scope, id, KubeControllerRevisionV1Beta2.manifest(props));
}
}
exports.KubeControllerRevisionV1Beta2 = KubeControllerRevisionV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.ControllerRevision"
*/
KubeControllerRevisionV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'ControllerRevision',
};
/**
* ControllerRevisionList is a resource containing a list of ControllerRevision objects.
*
* @schema io.k8s.api.apps.v1beta2.ControllerRevisionList
*/
class KubeControllerRevisionListV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.ControllerRevisionList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeControllerRevisionListV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props) {
super(scope, id, KubeControllerRevisionListV1Beta2.manifest(props));
}
}
exports.KubeControllerRevisionListV1Beta2 = KubeControllerRevisionListV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.ControllerRevisionList"
*/
KubeControllerRevisionListV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'ControllerRevisionList',
};
/**
* DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.
*
* @schema io.k8s.api.apps.v1beta2.DaemonSet
*/
class KubeDaemonSetV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.DaemonSet".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeDaemonSetV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props = {}) {
super(scope, id, KubeDaemonSetV1Beta2.manifest(props));
}
}
exports.KubeDaemonSetV1Beta2 = KubeDaemonSetV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.DaemonSet"
*/
KubeDaemonSetV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'DaemonSet',
};
/**
* DaemonSetList is a collection of daemon sets.
*
* @schema io.k8s.api.apps.v1beta2.DaemonSetList
*/
class KubeDaemonSetListV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.DaemonSetList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeDaemonSetListV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props) {
super(scope, id, KubeDaemonSetListV1Beta2.manifest(props));
}
}
exports.KubeDaemonSetListV1Beta2 = KubeDaemonSetListV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.DaemonSetList"
*/
KubeDaemonSetListV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'DaemonSetList',
};
/**
* DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.
*
* @schema io.k8s.api.apps.v1beta2.Deployment
*/
class KubeDeploymentV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.Deployment".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeDeploymentV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props = {}) {
super(scope, id, KubeDeploymentV1Beta2.manifest(props));
}
}
exports.KubeDeploymentV1Beta2 = KubeDeploymentV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.Deployment"
*/
KubeDeploymentV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'Deployment',
};
/**
* DeploymentList is a list of Deployments.
*
* @schema io.k8s.api.apps.v1beta2.DeploymentList
*/
class KubeDeploymentListV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.DeploymentList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeDeploymentListV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props) {
super(scope, id, KubeDeploymentListV1Beta2.manifest(props));
}
}
exports.KubeDeploymentListV1Beta2 = KubeDeploymentListV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.DeploymentList"
*/
KubeDeploymentListV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'DeploymentList',
};
/**
* DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.
*
* @schema io.k8s.api.apps.v1beta2.ReplicaSet
*/
class KubeReplicaSetV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.ReplicaSet".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeReplicaSetV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props = {}) {
super(scope, id, KubeReplicaSetV1Beta2.manifest(props));
}
}
exports.KubeReplicaSetV1Beta2 = KubeReplicaSetV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.ReplicaSet"
*/
KubeReplicaSetV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'ReplicaSet',
};
/**
* ReplicaSetList is a collection of ReplicaSets.
*
* @schema io.k8s.api.apps.v1beta2.ReplicaSetList
*/
class KubeReplicaSetListV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.ReplicaSetList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeReplicaSetListV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props) {
super(scope, id, KubeReplicaSetListV1Beta2.manifest(props));
}
}
exports.KubeReplicaSetListV1Beta2 = KubeReplicaSetListV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.ReplicaSetList"
*/
KubeReplicaSetListV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'ReplicaSetList',
};
/**
* Scale represents a scaling request for a resource.
*
* @schema io.k8s.api.apps.v1beta2.Scale
*/
class KubeScaleV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.Scale".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeScaleV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props = {}) {
super(scope, id, KubeScaleV1Beta2.manifest(props));
}
}
exports.KubeScaleV1Beta2 = KubeScaleV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.Scale"
*/
KubeScaleV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'Scale',
};
/**
* DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. 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.v1beta2.StatefulSet
*/
class KubeStatefulSetV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.StatefulSet".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeStatefulSetV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props = {}) {
super(scope, id, KubeStatefulSetV1Beta2.manifest(props));
}
}
exports.KubeStatefulSetV1Beta2 = KubeStatefulSetV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.StatefulSet"
*/
KubeStatefulSetV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'StatefulSet',
};
/**
* StatefulSetList is a collection of StatefulSets.
*
* @schema io.k8s.api.apps.v1beta2.StatefulSetList
*/
class KubeStatefulSetListV1Beta2 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.apps.v1beta2.StatefulSetList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeStatefulSetListV1Beta2.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.apps.v1beta2.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, id, props) {
super(scope, id, KubeStatefulSetListV1Beta2.manifest(props));
}
}
exports.KubeStatefulSetListV1Beta2 = KubeStatefulSetListV1Beta2;
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1beta2.StatefulSetList"
*/
KubeStatefulSetListV1Beta2.GVK = {
apiVersion: 'apps/v1beta2',
kind: 'StatefulSetList',
};
/**
* AuditSink represents a cluster level audit sink
*
* @schema io.k8s.api.auditregistration.v1alpha1.AuditSink
*/
class KubeAuditSinkV1Alpha1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.auditregistration.v1alpha1.AuditSink".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props = {}) {
return {
...KubeAuditSinkV1Alpha1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.auditregistration.v1alpha1.AuditSink" 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, id, props = {}) {
super(scope, id, KubeAuditSinkV1Alpha1.manifest(props));
}
}
exports.KubeAuditSinkV1Alpha1 = KubeAuditSinkV1Alpha1;
/**
* Returns the apiVersion and kind for "io.k8s.api.auditregistration.v1alpha1.AuditSink"
*/
KubeAuditSinkV1Alpha1.GVK = {
apiVersion: 'auditregistration.k8s.io/v1alpha1',
kind: 'AuditSink',
};
/**
* AuditSinkList is a list of AuditSink items.
*
* @schema io.k8s.api.auditregistration.v1alpha1.AuditSinkList
*/
class KubeAuditSinkListV1Alpha1 extends cdk8s_1.ApiObject {
/**
* Renders a Kubernetes manifest for "io.k8s.api.auditregistration.v1alpha1.AuditSinkList".
*
* This can be used to inline resource manifests inside other objects (e.g. as templates).
*
* @param props initialization props
*/
static manifest(props) {
return {
...KubeAuditSinkListV1Alpha1.GVK,
...props,
};
}
/**
* Defines a "io.k8s.api.auditregistration.v1alpha1.AuditSinkList" 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, id, props) {
super(scope, id, KubeAuditSinkListV1Alpha1.manifest(props));
}
}
exports.KubeAuditSinkListV1Alpha1 = KubeAuditSinkListV1Alpha1;
/**
* Returns the apiVersion and kind for "io.k8s.api.auditregistration.v1alpha1.AuditSinkList"
*/
KubeAuditSinkListV1Alpha1.GVK = {
apiVersion: 'auditregistration.k8s.io/v1alpha1',
kind: 'AuditSinkList',
};
/**
* 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.
*
*