cdk8s-plus-25
Version:
cdk8s+ is a software development framework that provides high level abstractions for authoring Kubernetes applications. cdk8s-plus-25 synthesizes Kubernetes manifests for Kubernetes 1.25.0
917 lines (916 loc) • 2.35 MB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97;
Object.defineProperty(exports, "__esModule", { value: true });
exports.toJson_ValidationRule = exports.toJson_ExternalDocumentation = exports.toJson_ServiceAccountTokenProjection = exports.toJson_SecretProjection = exports.toJson_DownwardApiProjection = exports.toJson_ConfigMapProjection = exports.toJson_HttpHeader = exports.toJson_SecretKeySelector = exports.toJson_ResourceFieldSelector = exports.toJson_ObjectFieldSelector = exports.toJson_ConfigMapKeySelector = exports.toJson_CustomResourceSubresourceScale = exports.toJson_JsonSchemaProps = exports.toJson_NodeSelectorRequirement = exports.toJson_IpBlock = exports.toJson_HttpIngressPath = exports.toJson_ServiceBackendPort = exports.toJson_QueuingConfigurationV1Beta2 = exports.toJson_UserSubjectV1Beta2 = exports.toJson_ServiceAccountSubjectV1Beta2 = exports.toJson_GroupSubjectV1Beta2 = exports.toJson_QueuingConfigurationV1Beta1 = exports.toJson_UserSubjectV1Beta1 = exports.toJson_ServiceAccountSubjectV1Beta1 = exports.toJson_GroupSubjectV1Beta1 = exports.toJson_VolumeProjection = exports.toJson_PersistentVolumeClaimTemplate = exports.toJson_DownwardApiVolumeFile = exports.toJson_KeyToPath = exports.toJson_Capabilities = exports.toJson_TcpSocketAction = exports.toJson_HttpGetAction = exports.toJson_GrpcAction = exports.toJson_ExecAction = exports.toJson_LifecycleHandler = exports.toJson_SecretEnvSource = exports.toJson_ConfigMapEnvSource = exports.toJson_EnvVarSource = exports.toJson_PodAffinityTerm = exports.toJson_WeightedPodAffinityTerm = exports.toJson_PreferredSchedulingTerm = exports.toJson_PodFailurePolicyOnPodConditionsPattern = exports.toJson_PodFailurePolicyOnExitCodesRequirement = exports.toJson_MetricIdentifierV2Beta2 = exports.toJson_MetricTargetV2Beta2 = exports.toJson_HpaScalingPolicyV2Beta2 = exports.toJson_MetricIdentifierV2 = exports.toJson_MetricTargetV2 = exports.toJson_HpaScalingPolicyV2 = exports.toJson_CustomResourceSubresources = exports.toJson_CustomResourceValidation = exports.toJson_CustomResourceColumnDefinition = exports.toJson_WebhookConversion = exports.toJson_VolumeNodeResources = exports.toJson_NodeSelectorTerm = exports.toJson_NetworkPolicyPeer = exports.toJson_NetworkPolicyPort = exports.toJson_HttpIngressRuleValue = exports.toJson_IngressServiceBackend = exports.toJson_LimitResponseV1Beta2 = exports.toJson_SubjectV1Beta2 = exports.toJson_ResourcePolicyRuleV1Beta2 = exports.toJson_NonResourcePolicyRuleV1Beta2 = exports.toJson_LimitResponseV1Beta1 = exports.toJson_SubjectV1Beta1 = exports.toJson_ResourcePolicyRuleV1Beta1 = exports.toJson_NonResourcePolicyRuleV1Beta1 = exports.toJson_ForZone = exports.toJson_ClientIpConfig = exports.toJson_ScopedResourceSelectorRequirement = exports.toJson_StorageOsVolumeSource = exports.toJson_SecretVolumeSource = exports.toJson_ScaleIoVolumeSource = exports.toJson_RbdVolumeSource = exports.toJson_ProjectedVolumeSource = exports.toJson_PersistentVolumeClaimVolumeSource = exports.toJson_IscsiVolumeSource = exports.toJson_GlusterfsVolumeSource = exports.toJson_GitRepoVolumeSource = exports.toJson_FlexVolumeSource = exports.toJson_EphemeralVolumeSource = exports.toJson_EmptyDirVolumeSource = exports.toJson_DownwardApiVolumeSource = exports.toJson_CsiVolumeSource = exports.toJson_ConfigMapVolumeSource = exports.toJson_CinderVolumeSource = exports.toJson_CephFsVolumeSource = exports.toJson_AzureFileVolumeSource = exports.toJson_WindowsSecurityContextOptions = exports.toJson_Sysctl = exports.toJson_SeccompProfile = exports.toJson_SeLinuxOptions = exports.toJson_PodDnsConfigOption = exports.toJson_VolumeMount = exports.toJson_VolumeDevice = exports.toJson_SecurityContext = exports.toJson_ContainerPort = exports.toJson_Probe = exports.toJson_Lifecycle = exports.toJson_EnvFromSource = exports.toJson_EnvVar = exports.toJson_PodAntiAffinity = exports.toJson_PodAffinity = exports.toJson_NodeAffinity = exports.toJson_SecretReference = exports.toJson_ConfigMapNodeConfigSource = exports.toJson_PodFailurePolicyRule = exports.toJson_ResourceMetricSourceV2Beta2 = exports.toJson_PodsMetricSourceV2Beta2 = exports.toJson_ObjectMetricSourceV2Beta2 = exports.toJson_ExternalMetricSourceV2Beta2 = exports.toJson_ContainerResourceMetricSourceV2Beta2 = exports.toJson_HpaScalingRulesV2Beta2 = exports.toJson_ResourceMetricSourceV2 = exports.toJson_PodsMetricSourceV2 = exports.toJson_ObjectMetricSourceV2 = exports.toJson_ExternalMetricSourceV2 = exports.toJson_ContainerResourceMetricSourceV2 = exports.toJson_HpaScalingRulesV2 = exports.toJson_RollingUpdateStatefulSetStrategy = exports.toJson_RollingUpdateDeployment = exports.toJson_RollingUpdateDaemonSet = exports.toJson_ServiceReference = exports.toJson_StatusCause = exports.toJson_CustomResourceDefinitionVersion = exports.toJson_CustomResourceDefinitionNames = exports.toJson_CustomResourceConversion = exports.toJson_VolumeAttachmentSource = exports.toJson_TopologySelectorLabelRequirement = exports.toJson_LabelSelectorRequirement = exports.toJson_CsiNodeDriver = exports.toJson_TokenRequest = exports.IntOrString = exports.toJson_Preconditions = exports.IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind = exports.toJson_NodeSelector = exports.toJson_NetworkPolicyIngressRule = exports.toJson_NetworkPolicyEgressRule = exports.toJson_IngressClassParametersReference = exports.toJson_IngressTls = exports.toJson_IngressRule = exports.toJson_IngressBackend = exports.toJson_LimitedPriorityLevelConfigurationV1Beta2 = exports.toJson_PolicyRulesWithSubjectsV1Beta2 = exports.toJson_PriorityLevelConfigurationReferenceV1Beta2 = exports.toJson_FlowDistinguisherMethodV1Beta2 = exports.toJson_LimitedPriorityLevelConfigurationV1Beta1 = exports.toJson_PolicyRulesWithSubjectsV1Beta1 = exports.toJson_PriorityLevelConfigurationReferenceV1Beta1 = exports.toJson_FlowDistinguisherMethodV1Beta1 = exports.toJson_EndpointHints = exports.toJson_EndpointConditions = exports.toJson_SessionAffinityConfig = exports.toJson_ServicePort = exports.toJson_ScopeSelector = exports.toJson_Volume = exports.toJson_TopologySpreadConstraint = exports.toJson_Toleration = exports.toJson_PodSecurityContext = exports.toJson_PodReadinessGate = exports.toJson_PodOs = exports.toJson_HostAlias = exports.toJson_EphemeralContainer = exports.toJson_PodDnsConfig = exports.toJson_Container = exports.toJson_Affinity = exports.toJson_ResourceRequirements = exports.toJson_TypedLocalObjectReference = exports.toJson_VsphereVirtualDiskVolumeSource = exports.toJson_StorageOsPersistentVolumeSource = exports.toJson_ScaleIoPersistentVolumeSource = exports.toJson_RbdPersistentVolumeSource = exports.toJson_QuobyteVolumeSource = exports.toJson_PortworxVolumeSource = exports.toJson_PhotonPersistentDiskVolumeSource = exports.toJson_VolumeNodeAffinity = exports.toJson_NfsVolumeSource = exports.toJson_LocalVolumeSource = exports.toJson_IscsiPersistentVolumeSource = exports.toJson_HostPathVolumeSource = exports.toJson_GlusterfsPersistentVolumeSource = exports.toJson_GcePersistentDiskVolumeSource = exports.toJson_FlockerVolumeSource = exports.toJson_FlexPersistentVolumeSource = exports.toJson_FcVolumeSource = exports.toJson_CsiPersistentVolumeSource = exports.toJson_CinderPersistentVolumeSource = exports.toJson_CephFsPersistentVolumeSource = exports.toJson_AzureFilePersistentVolumeSource = exports.toJson_AzureDiskVolumeSource = exports.toJson_AwsElasticBlockStoreVolumeSource = exports.toJson_Taint = exports.toJson_NodeConfigSource = exports.toJson_LimitRangeItem = exports.toJson_EndpointAddress = exports.toJson_PodFailurePolicy = exports.toJson_JobTemplateSpec = exports.toJson_CrossVersionObjectReferenceV2Beta2 = exports.toJson_MetricSpecV2Beta2 = exports.toJson_HorizontalPodAutoscalerBehaviorV2Beta2 = exports.toJson_CrossVersionObjectReferenceV2 = exports.toJson_MetricSpecV2 = exports.toJson_HorizontalPodAutoscalerBehaviorV2 = exports.toJson_CrossVersionObjectReference = exports.toJson_ResourceAttributes = exports.toJson_NonResourceAttributes = exports.toJson_BoundObjectReference = exports.toJson_StatefulSetUpdateStrategy = exports.toJson_StatefulSetPersistentVolumeClaimRetentionPolicy = exports.toJson_DeploymentStrategy = exports.toJson_DaemonSetUpdateStrategy = exports.toJson_RuleWithOperations = exports.toJson_WebhookClientConfig = exports.toJson_OwnerReference = exports.toJson_ManagedFieldsEntry = exports.toJson_ApiServiceSpec = exports.toJson_StatusDetails = exports.toJson_CustomResourceDefinitionSpec = exports.toJson_VolumeAttachmentSpec = exports.toJson_TopologySelectorTerm = exports.toJson_LabelSelector = exports.Quantity = exports.toJson_CsiNodeSpec = exports.toJson_CsiDriverSpec = exports.toJson_Subject = exports.toJson_RoleRef = exports.toJson_PolicyRule = exports.toJson_AggregationRule = exports.toJson_PodDisruptionBudgetSpec = exports.toJson_DeleteOptions = exports.toJson_Scheduling = exports.toJson_Overhead = exports.toJson_ClusterCidrSpecV1Alpha1 = exports.toJson_NetworkPolicySpec = exports.toJson_IngressClassSpec = exports.toJson_IngressSpec = exports.toJson_PriorityLevelConfigurationSpecV1Beta2 = exports.toJson_FlowSchemaSpecV1Beta2 = exports.toJson_PriorityLevelConfigurationSpecV1Beta1 = exports.toJson_FlowSchemaSpecV1Beta1 = exports.toJson_EndpointPort = exports.toJson_Endpoint = exports.toJson_LocalObjectReference = exports.toJson_ServiceSpec = exports.toJson_ResourceQuotaSpec = exports.toJson_ReplicationControllerSpec = exports.toJson_PodTemplateSpec = exports.toJson_PodSpec = exports.toJson_PersistentVolumeClaimSpec = exports.toJson_PersistentVolumeSpec = exports.toJson_NodeSpec = exports.toJson_NamespaceSpec = exports.toJson_LimitRangeSpec = exports.toJson_EventSeries = exports.toJson_EventSource = exports.toJson_EndpointSubset = exports.toJson_ComponentCondition = exports.toJson_ObjectReference = exports.toJson_LeaseSpec = exports.toJson_CertificateSigningRequestSpec = exports.toJson_JobSpec = exports.toJson_CronJobSpec = exports.toJson_HorizontalPodAutoscalerSpecV2Beta2 = exports.toJson_HorizontalPodAutoscalerSpecV2 = exports.toJson_ScaleSpec = exports.toJson_HorizontalPodAutoscalerSpec = exports.toJson_SelfSubjectRulesReviewSpec = exports.toJson_SelfSubjectAccessReviewSpec = exports.toJson_SubjectAccessReviewSpec = exports.toJson_TokenReviewSpec = exports.toJson_TokenRequestSpec = exports.toJson_StatefulSetSpec = exports.toJson_ReplicaSetSpec = exports.toJson_DeploymentSpec = exports.toJson_DaemonSetSpec = exports.toJson_ValidatingWebhook = exports.toJson_ListMeta = exports.toJson_MutatingWebhook = exports.toJson_ObjectMeta = exports.toJson_KubeApiServiceListProps = exports.toJson_KubeApiServiceProps = exports.toJson_KubeStatusProps = exports.toJson_KubeCustomResourceDefinitionListProps = exports.toJson_KubeCustomResourceDefinitionProps = exports.toJson_KubeCsiStorageCapacityListV1Beta1Props = exports.toJson_KubeCsiStorageCapacityV1Beta1Props = exports.toJson_KubeVolumeAttachmentListProps = exports.toJson_KubeVolumeAttachmentProps = exports.toJson_KubeStorageClassListProps = exports.toJson_KubeStorageClassProps = exports.toJson_KubeCsiStorageCapacityListProps = exports.toJson_KubeCsiStorageCapacityProps = exports.toJson_KubeCsiNodeListProps = exports.toJson_KubeCsiNodeProps = exports.toJson_KubeCsiDriverListProps = exports.toJson_KubeCsiDriverProps = exports.toJson_KubePriorityClassListProps = exports.toJson_KubePriorityClassProps = exports.toJson_KubeRoleListProps = exports.toJson_KubeRoleBindingListProps = exports.toJson_KubeRoleBindingProps = exports.toJson_KubeRoleProps = exports.toJson_KubeClusterRoleListProps = exports.toJson_KubeClusterRoleBindingListProps = exports.toJson_KubeClusterRoleBindingProps = exports.toJson_KubeClusterRoleProps = exports.toJson_KubePodDisruptionBudgetListProps = exports.toJson_KubePodDisruptionBudgetProps = exports.toJson_KubeEvictionProps = exports.toJson_KubeRuntimeClassListProps = exports.toJson_KubeRuntimeClassProps = exports.toJson_KubeClusterCidrListV1Alpha1Props = exports.toJson_KubeClusterCidrv1Alpha1Props = exports.toJson_KubeNetworkPolicyListProps = exports.toJson_KubeNetworkPolicyProps = exports.toJson_KubeIngressListProps = exports.toJson_KubeIngressClassListProps = exports.toJson_KubeIngressClassProps = exports.toJson_KubeIngressProps = exports.toJson_KubePriorityLevelConfigurationListV1Beta2Props = exports.toJson_KubePriorityLevelConfigurationV1Beta2Props = exports.toJson_KubeFlowSchemaListV1Beta2Props = exports.toJson_KubeFlowSchemaV1Beta2Props = exports.toJson_KubePriorityLevelConfigurationListV1Beta1Props = exports.toJson_KubePriorityLevelConfigurationV1Beta1Props = exports.toJson_KubeFlowSchemaListV1Beta1Props = exports.toJson_KubeFlowSchemaV1Beta1Props = exports.toJson_KubeEndpointSliceListProps = exports.toJson_KubeEndpointSliceProps = exports.toJson_KubeServiceListProps = exports.toJson_KubeServiceAccountListProps = exports.toJson_KubeServiceAccountProps = exports.toJson_KubeServiceProps = exports.toJson_KubeSecretListProps = exports.toJson_KubeSecretProps = exports.toJson_KubeResourceQuotaListProps = exports.toJson_KubeResourceQuotaProps = exports.toJson_KubeReplicationControllerListProps = exports.toJson_KubeReplicationControllerProps = exports.toJson_KubePodTemplateListProps = exports.toJson_KubePodTemplateProps = exports.toJson_KubePodListProps = exports.toJson_KubePodProps = exports.toJson_KubePersistentVolumeListProps = exports.toJson_KubePersistentVolumeClaimListProps = exports.toJson_KubePersistentVolumeClaimProps = exports.toJson_KubePersistentVolumeProps = exports.toJson_KubeNodeListProps = exports.toJson_KubeNodeProps = exports.toJson_KubeNamespaceListProps = exports.toJson_KubeNamespaceProps = exports.toJson_KubeLimitRangeListProps = exports.toJson_KubeLimitRangeProps = exports.toJson_KubeEventListProps = exports.toJson_KubeEventProps = exports.toJson_KubeEndpointsListProps = exports.toJson_KubeEndpointsProps = exports.toJson_KubeConfigMapListProps = exports.toJson_KubeConfigMapProps = exports.toJson_KubeComponentStatusListProps = exports.toJson_KubeComponentStatusProps = exports.toJson_KubeBindingProps = exports.toJson_KubeLeaseListProps = exports.toJson_KubeLeaseProps = exports.toJson_KubeCertificateSigningRequestListProps = exports.toJson_KubeCertificateSigningRequestProps = exports.toJson_KubeJobListProps = exports.toJson_KubeJobProps = exports.toJson_KubeCronJobListProps = exports.toJson_KubeCronJobProps = exports.toJson_KubeHorizontalPodAutoscalerListV2Beta2Props = exports.toJson_KubeHorizontalPodAutoscalerV2Beta2Props = exports.toJson_KubeHorizontalPodAutoscalerListV2Props = exports.toJson_KubeHorizontalPodAutoscalerV2Props = exports.toJson_KubeScaleProps = exports.toJson_KubeHorizontalPodAutoscalerListProps = exports.toJson_KubeHorizontalPodAutoscalerProps = exports.toJson_KubeSubjectAccessReviewProps = exports.toJson_KubeSelfSubjectRulesReviewProps = exports.toJson_KubeSelfSubjectAccessReviewProps = exports.toJson_KubeLocalSubjectAccessReviewProps = exports.toJson_KubeTokenReviewProps = exports.toJson_KubeTokenRequestProps = exports.toJson_KubeStatefulSetListProps = exports.toJson_KubeStatefulSetProps = exports.toJson_KubeReplicaSetListProps = exports.toJson_KubeReplicaSetProps = exports.toJson_KubeDeploymentListProps = exports.toJson_KubeDeploymentProps = exports.toJson_KubeDaemonSetListProps = exports.toJson_KubeDaemonSetProps = exports.toJson_KubeControllerRevisionListProps = exports.toJson_KubeControllerRevisionProps = exports.toJson_KubeStorageVersionListV1Alpha1Props = exports.toJson_KubeStorageVersionV1Alpha1Props = exports.toJson_KubeValidatingWebhookConfigurationListProps = exports.toJson_KubeValidatingWebhookConfigurationProps = exports.toJson_KubeMutatingWebhookConfigurationListProps = exports.toJson_KubeMutatingWebhookConfigurationProps = exports.KubeApiServiceList = exports.KubeApiService = exports.KubeStatus = exports.KubeCustomResourceDefinitionList = exports.KubeCustomResourceDefinition = exports.KubeCsiStorageCapacityListV1Beta1 = exports.KubeCsiStorageCapacityV1Beta1 = exports.KubeVolumeAttachmentList = exports.KubeVolumeAttachment = exports.KubeStorageClassList = exports.KubeStorageClass = exports.KubeCsiStorageCapacityList = exports.KubeCsiStorageCapacity = exports.KubeCsiNodeList = exports.KubeCsiNode = exports.KubeCsiDriverList = exports.KubeCsiDriver = exports.KubePriorityClassList = exports.KubePriorityClass = exports.KubeRoleList = exports.KubeRoleBindingList = exports.KubeRoleBinding = exports.KubeRole = exports.KubeClusterRoleList = exports.KubeClusterRoleBindingList = exports.KubeClusterRoleBinding = exports.KubeClusterRole = exports.KubePodDisruptionBudgetList = exports.KubePodDisruptionBudget = exports.KubeEviction = exports.KubeRuntimeClassList = exports.KubeRuntimeClass = exports.KubeClusterCidrListV1Alpha1 = exports.KubeClusterCidrv1Alpha1 = exports.KubeNetworkPolicyList = exports.KubeNetworkPolicy = exports.KubeIngressList = exports.KubeIngressClassList = exports.KubeIngressClass = exports.KubeIngress = exports.KubePriorityLevelConfigurationListV1Beta2 = exports.KubePriorityLevelConfigurationV1Beta2 = exports.KubeFlowSchemaListV1Beta2 = exports.KubeFlowSchemaV1Beta2 = exports.KubePriorityLevelConfigurationListV1Beta1 = exports.KubePriorityLevelConfigurationV1Beta1 = exports.KubeFlowSchemaListV1Beta1 = exports.KubeFlowSchemaV1Beta1 = exports.KubeEndpointSliceList = exports.KubeEndpointSlice = 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.KubeLeaseList = exports.KubeLease = exports.KubeCertificateSigningRequestList = exports.KubeCertificateSigningRequest = exports.KubeJobList = exports.KubeJob = exports.KubeCronJobList = exports.KubeCronJob = exports.KubeHorizontalPodAutoscalerListV2Beta2 = exports.KubeHorizontalPodAutoscalerV2Beta2 = exports.KubeHorizontalPodAutoscalerListV2 = exports.KubeHorizontalPodAutoscalerV2 = exports.KubeScale = exports.KubeHorizontalPodAutoscalerList = exports.KubeHorizontalPodAutoscaler = exports.KubeSubjectAccessReview = exports.KubeSelfSubjectRulesReview = exports.KubeSelfSubjectAccessReview = exports.KubeLocalSubjectAccessReview = exports.KubeTokenReview = exports.KubeTokenRequest = exports.KubeStatefulSetList = exports.KubeStatefulSet = exports.KubeReplicaSetList = exports.KubeReplicaSet = exports.KubeDeploymentList = exports.KubeDeployment = exports.KubeDaemonSetList = exports.KubeDaemonSet = exports.KubeControllerRevisionList = exports.KubeControllerRevision = exports.KubeStorageVersionListV1Alpha1 = exports.KubeStorageVersionV1Alpha1 = exports.KubeValidatingWebhookConfigurationList = exports.KubeValidatingWebhookConfiguration = exports.KubeMutatingWebhookConfigurationList = exports.KubeMutatingWebhookConfiguration = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
// 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.v1.MutatingWebhookConfiguration
*/
class KubeMutatingWebhookConfiguration extends cdk8s_1.ApiObject {
/**
* 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, id, props = {}) {
super(scope, id, {
...KubeMutatingWebhookConfiguration.GVK,
...props,
});
}
/**
* 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 = {}) {
return {
...KubeMutatingWebhookConfiguration.GVK,
...toJson_KubeMutatingWebhookConfigurationProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeMutatingWebhookConfiguration.GVK,
...toJson_KubeMutatingWebhookConfigurationProps(resolved),
};
}
}
exports.KubeMutatingWebhookConfiguration = KubeMutatingWebhookConfiguration;
_a = JSII_RTTI_SYMBOL_1;
KubeMutatingWebhookConfiguration[_a] = { fqn: "cdk8s-plus-25.k8s.KubeMutatingWebhookConfiguration", version: "2.22.79" };
/**
* Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration"
*/
KubeMutatingWebhookConfiguration.GVK = {
apiVersion: 'admissionregistration.k8s.io/v1',
kind: 'MutatingWebhookConfiguration',
};
/**
* MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.
*
* @schema io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList
*/
class KubeMutatingWebhookConfigurationList extends cdk8s_1.ApiObject {
/**
* 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, id, props) {
super(scope, id, {
...KubeMutatingWebhookConfigurationList.GVK,
...props,
});
}
/**
* 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) {
return {
...KubeMutatingWebhookConfigurationList.GVK,
...toJson_KubeMutatingWebhookConfigurationListProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeMutatingWebhookConfigurationList.GVK,
...toJson_KubeMutatingWebhookConfigurationListProps(resolved),
};
}
}
exports.KubeMutatingWebhookConfigurationList = KubeMutatingWebhookConfigurationList;
_b = JSII_RTTI_SYMBOL_1;
KubeMutatingWebhookConfigurationList[_b] = { fqn: "cdk8s-plus-25.k8s.KubeMutatingWebhookConfigurationList", version: "2.22.79" };
/**
* Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList"
*/
KubeMutatingWebhookConfigurationList.GVK = {
apiVersion: 'admissionregistration.k8s.io/v1',
kind: 'MutatingWebhookConfigurationList',
};
/**
* ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
*
* @schema io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration
*/
class KubeValidatingWebhookConfiguration extends cdk8s_1.ApiObject {
/**
* 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, id, props = {}) {
super(scope, id, {
...KubeValidatingWebhookConfiguration.GVK,
...props,
});
}
/**
* 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 = {}) {
return {
...KubeValidatingWebhookConfiguration.GVK,
...toJson_KubeValidatingWebhookConfigurationProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeValidatingWebhookConfiguration.GVK,
...toJson_KubeValidatingWebhookConfigurationProps(resolved),
};
}
}
exports.KubeValidatingWebhookConfiguration = KubeValidatingWebhookConfiguration;
_c = JSII_RTTI_SYMBOL_1;
KubeValidatingWebhookConfiguration[_c] = { fqn: "cdk8s-plus-25.k8s.KubeValidatingWebhookConfiguration", version: "2.22.79" };
/**
* Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration"
*/
KubeValidatingWebhookConfiguration.GVK = {
apiVersion: 'admissionregistration.k8s.io/v1',
kind: 'ValidatingWebhookConfiguration',
};
/**
* ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.
*
* @schema io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList
*/
class KubeValidatingWebhookConfigurationList extends cdk8s_1.ApiObject {
/**
* 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, id, props) {
super(scope, id, {
...KubeValidatingWebhookConfigurationList.GVK,
...props,
});
}
/**
* 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) {
return {
...KubeValidatingWebhookConfigurationList.GVK,
...toJson_KubeValidatingWebhookConfigurationListProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeValidatingWebhookConfigurationList.GVK,
...toJson_KubeValidatingWebhookConfigurationListProps(resolved),
};
}
}
exports.KubeValidatingWebhookConfigurationList = KubeValidatingWebhookConfigurationList;
_d = JSII_RTTI_SYMBOL_1;
KubeValidatingWebhookConfigurationList[_d] = { fqn: "cdk8s-plus-25.k8s.KubeValidatingWebhookConfigurationList", version: "2.22.79" };
/**
* Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList"
*/
KubeValidatingWebhookConfigurationList.GVK = {
apiVersion: 'admissionregistration.k8s.io/v1',
kind: 'ValidatingWebhookConfigurationList',
};
/**
* Storage version of a specific resource.
*
* @schema io.k8s.api.apiserverinternal.v1alpha1.StorageVersion
*/
class KubeStorageVersionV1Alpha1 extends cdk8s_1.ApiObject {
/**
* 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, id, props) {
super(scope, id, {
...KubeStorageVersionV1Alpha1.GVK,
...props,
});
}
/**
* 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) {
return {
...KubeStorageVersionV1Alpha1.GVK,
...toJson_KubeStorageVersionV1Alpha1Props(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeStorageVersionV1Alpha1.GVK,
...toJson_KubeStorageVersionV1Alpha1Props(resolved),
};
}
}
exports.KubeStorageVersionV1Alpha1 = KubeStorageVersionV1Alpha1;
_e = JSII_RTTI_SYMBOL_1;
KubeStorageVersionV1Alpha1[_e] = { fqn: "cdk8s-plus-25.k8s.KubeStorageVersionV1Alpha1", version: "2.22.79" };
/**
* Returns the apiVersion and kind for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion"
*/
KubeStorageVersionV1Alpha1.GVK = {
apiVersion: 'internal.apiserver.k8s.io/v1alpha1',
kind: 'StorageVersion',
};
/**
* A list of StorageVersions.
*
* @schema io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList
*/
class KubeStorageVersionListV1Alpha1 extends cdk8s_1.ApiObject {
/**
* 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, id, props) {
super(scope, id, {
...KubeStorageVersionListV1Alpha1.GVK,
...props,
});
}
/**
* 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) {
return {
...KubeStorageVersionListV1Alpha1.GVK,
...toJson_KubeStorageVersionListV1Alpha1Props(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeStorageVersionListV1Alpha1.GVK,
...toJson_KubeStorageVersionListV1Alpha1Props(resolved),
};
}
}
exports.KubeStorageVersionListV1Alpha1 = KubeStorageVersionListV1Alpha1;
_f = JSII_RTTI_SYMBOL_1;
KubeStorageVersionListV1Alpha1[_f] = { fqn: "cdk8s-plus-25.k8s.KubeStorageVersionListV1Alpha1", version: "2.22.79" };
/**
* Returns the apiVersion and kind for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList"
*/
KubeStorageVersionListV1Alpha1.GVK = {
apiVersion: 'internal.apiserver.k8s.io/v1alpha1',
kind: 'StorageVersionList',
};
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeControllerRevisionProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeControllerRevision.GVK,
...toJson_KubeControllerRevisionProps(resolved),
};
}
}
exports.KubeControllerRevision = KubeControllerRevision;
_g = JSII_RTTI_SYMBOL_1;
KubeControllerRevision[_g] = { fqn: "cdk8s-plus-25.k8s.KubeControllerRevision", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeControllerRevisionListProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeControllerRevisionList.GVK,
...toJson_KubeControllerRevisionListProps(resolved),
};
}
}
exports.KubeControllerRevisionList = KubeControllerRevisionList;
_h = JSII_RTTI_SYMBOL_1;
KubeControllerRevisionList[_h] = { fqn: "cdk8s-plus-25.k8s.KubeControllerRevisionList", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeDaemonSetProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeDaemonSet.GVK,
...toJson_KubeDaemonSetProps(resolved),
};
}
}
exports.KubeDaemonSet = KubeDaemonSet;
_j = JSII_RTTI_SYMBOL_1;
KubeDaemonSet[_j] = { fqn: "cdk8s-plus-25.k8s.KubeDaemonSet", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeDaemonSetListProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeDaemonSetList.GVK,
...toJson_KubeDaemonSetListProps(resolved),
};
}
}
exports.KubeDaemonSetList = KubeDaemonSetList;
_k = JSII_RTTI_SYMBOL_1;
KubeDaemonSetList[_k] = { fqn: "cdk8s-plus-25.k8s.KubeDaemonSetList", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeDeploymentProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeDeployment.GVK,
...toJson_KubeDeploymentProps(resolved),
};
}
}
exports.KubeDeployment = KubeDeployment;
_l = JSII_RTTI_SYMBOL_1;
KubeDeployment[_l] = { fqn: "cdk8s-plus-25.k8s.KubeDeployment", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeDeploymentListProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeDeploymentList.GVK,
...toJson_KubeDeploymentListProps(resolved),
};
}
}
exports.KubeDeploymentList = KubeDeploymentList;
_m = JSII_RTTI_SYMBOL_1;
KubeDeploymentList[_m] = { fqn: "cdk8s-plus-25.k8s.KubeDeploymentList", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeReplicaSetProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeReplicaSet.GVK,
...toJson_KubeReplicaSetProps(resolved),
};
}
}
exports.KubeReplicaSet = KubeReplicaSet;
_o = JSII_RTTI_SYMBOL_1;
KubeReplicaSet[_o] = { fqn: "cdk8s-plus-25.k8s.KubeReplicaSet", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeReplicaSetListProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeReplicaSetList.GVK,
...toJson_KubeReplicaSetListProps(resolved),
};
}
}
exports.KubeReplicaSetList = KubeReplicaSetList;
_p = JSII_RTTI_SYMBOL_1;
KubeReplicaSetList[_p] = { fqn: "cdk8s-plus-25.k8s.KubeReplicaSetList", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeStatefulSetProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeStatefulSet.GVK,
...toJson_KubeStatefulSetProps(resolved),
};
}
}
exports.KubeStatefulSet = KubeStatefulSet;
_q = JSII_RTTI_SYMBOL_1;
KubeStatefulSet[_q] = { fqn: "cdk8s-plus-25.k8s.KubeStatefulSet", version: "2.22.79" };
/**
* 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 {
/**
* 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.GVK,
...props,
});
}
/**
* 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,
...toJson_KubeStatefulSetListProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeStatefulSetList.GVK,
...toJson_KubeStatefulSetListProps(resolved),
};
}
}
exports.KubeStatefulSetList = KubeStatefulSetList;
_r = JSII_RTTI_SYMBOL_1;
KubeStatefulSetList[_r] = { fqn: "cdk8s-plus-25.k8s.KubeStatefulSetList", version: "2.22.79" };
/**
* Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSetList"
*/
KubeStatefulSetList.GVK = {
apiVersion: 'apps/v1',
kind: 'StatefulSetList',
};
/**
* TokenRequest requests a token for a given service account.
*
* @schema io.k8s.api.authentication.v1.TokenRequest
*/
class KubeTokenRequest extends cdk8s_1.ApiObject {
/**
* 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, id, props) {
super(scope, id, {
...KubeTokenRequest.GVK,
...props,
});
}
/**
* 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) {
return {
...KubeTokenRequest.GVK,
...toJson_KubeTokenRequestProps(props),
};
}
/**
* Renders the object to Kubernetes JSON.
*/
toJson() {
const resolved = super.toJson();
return {
...KubeTokenRequest.GVK,
...toJson_KubeTokenRequestProps(resolved),
};
}
}
exports.KubeTokenRequest = KubeTokenRequest;
_s = JSII_RTTI_SYMBOL_1;
KubeTokenRequest[_s] = { fqn: "cdk8s-plus-25.k8s.KubeTokenRequest", version: "2.22.79" };
/**
* Returns the apiVersion and kind for "io.k8s.api.authentication.v1.TokenRequest"
*/
KubeTokenRequest.GVK = {
apiVersion: 'authentication.k8s.io/v1',
kind: 'TokenRequest',
};
/**
* 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
*/
class KubeTokenReview extends cdk8s_1.ApiObject {
/**
* 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, id, props) {
super(scope, id, {
...KubeTokenReview.GVK,
...props,
});
}
/**
* Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.TokenReview".
*
* This can be used to inline resource manifests inside other objects (e.g.