UNPKG

cdk8s-redis

Version:

Basic implementation of a Redis construct for cdk8s.

1,277 lines (1,276 loc) 484 kB
import { ApiObject } 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.v1beta1.MutatingWebhookConfiguration */ export declare class MutatingWebhookConfiguration extends ApiObject { /** * Defines a "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: MutatingWebhookConfigurationOptions); } /** * MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. * * @schema io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList */ export declare class MutatingWebhookConfigurationList extends ApiObject { /** * Defines a "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: MutatingWebhookConfigurationListOptions); } /** * ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. * * @schema io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration */ export declare class ValidatingWebhookConfiguration extends ApiObject { /** * Defines a "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ValidatingWebhookConfigurationOptions); } /** * ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. * * @schema io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList */ export declare class ValidatingWebhookConfigurationList extends ApiObject { /** * Defines a "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ValidatingWebhookConfigurationListOptions); } /** * 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 ControllerRevision extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.ControllerRevision" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ControllerRevisionOptions); } /** * ControllerRevisionList is a resource containing a list of ControllerRevision objects. * * @schema io.k8s.api.apps.v1.ControllerRevisionList */ export declare class ControllerRevisionList extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.ControllerRevisionList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ControllerRevisionListOptions); } /** * DaemonSet represents the configuration of a daemon set. * * @schema io.k8s.api.apps.v1.DaemonSet */ export declare class DaemonSet extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.DaemonSet" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: DaemonSetOptions); } /** * DaemonSetList is a collection of daemon sets. * * @schema io.k8s.api.apps.v1.DaemonSetList */ export declare class DaemonSetList extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.DaemonSetList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: DaemonSetListOptions); } /** * Deployment enables declarative updates for Pods and ReplicaSets. * * @schema io.k8s.api.apps.v1.Deployment */ export declare class Deployment extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.Deployment" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: DeploymentOptions); } /** * DeploymentList is a list of Deployments. * * @schema io.k8s.api.apps.v1.DeploymentList */ export declare class DeploymentList extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.DeploymentList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: DeploymentListOptions); } /** * 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 ReplicaSet extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.ReplicaSet" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ReplicaSetOptions); } /** * ReplicaSetList is a collection of ReplicaSets. * * @schema io.k8s.api.apps.v1.ReplicaSetList */ export declare class ReplicaSetList extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.ReplicaSetList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ReplicaSetListOptions); } /** * 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 StatefulSet extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.StatefulSet" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: StatefulSetOptions); } /** * StatefulSetList is a collection of StatefulSets. * * @schema io.k8s.api.apps.v1.StatefulSetList */ export declare class StatefulSetList extends ApiObject { /** * Defines a "io.k8s.api.apps.v1.StatefulSetList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: StatefulSetListOptions); } /** * Scale represents a scaling request for a resource. * * @schema io.k8s.api.autoscaling.v1.Scale */ export declare class Scale extends ApiObject { /** * Defines a "io.k8s.api.autoscaling.v1.Scale" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ScaleOptions); } /** * AuditSink represents a cluster level audit sink * * @schema io.k8s.api.auditregistration.v1alpha1.AuditSink */ export declare class AuditSink extends ApiObject { /** * Defines a "io.k8s.api.auditregistration.v1alpha1.AuditSink" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: AuditSinkOptions); } /** * AuditSinkList is a list of AuditSink items. * * @schema io.k8s.api.auditregistration.v1alpha1.AuditSinkList */ export declare class AuditSinkList extends ApiObject { /** * Defines a "io.k8s.api.auditregistration.v1alpha1.AuditSinkList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: AuditSinkListOptions); } /** * 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 TokenReview extends ApiObject { /** * Defines a "io.k8s.api.authentication.v1.TokenReview" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: TokenReviewOptions); } /** * 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 LocalSubjectAccessReview extends ApiObject { /** * Defines a "io.k8s.api.authorization.v1.LocalSubjectAccessReview" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: LocalSubjectAccessReviewOptions); } /** * 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 SelfSubjectAccessReview extends ApiObject { /** * Defines a "io.k8s.api.authorization.v1.SelfSubjectAccessReview" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: SelfSubjectAccessReviewOptions); } /** * 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 SelfSubjectRulesReview extends ApiObject { /** * Defines a "io.k8s.api.authorization.v1.SelfSubjectRulesReview" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: SelfSubjectRulesReviewOptions); } /** * SubjectAccessReview checks whether or not a user or group can perform an action. * * @schema io.k8s.api.authorization.v1.SubjectAccessReview */ export declare class SubjectAccessReview extends ApiObject { /** * Defines a "io.k8s.api.authorization.v1.SubjectAccessReview" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: SubjectAccessReviewOptions); } /** * configuration of a horizontal pod autoscaler. * * @schema io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler */ export declare class HorizontalPodAutoscaler extends ApiObject { /** * Defines a "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: HorizontalPodAutoscalerOptions); } /** * list of horizontal pod autoscaler objects. * * @schema io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList */ export declare class HorizontalPodAutoscalerList extends ApiObject { /** * Defines a "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: HorizontalPodAutoscalerListOptions); } /** * Job represents the configuration of a single job. * * @schema io.k8s.api.batch.v1.Job */ export declare class Job extends ApiObject { /** * Defines a "io.k8s.api.batch.v1.Job" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: JobOptions); } /** * JobList is a collection of jobs. * * @schema io.k8s.api.batch.v1.JobList */ export declare class JobList extends ApiObject { /** * Defines a "io.k8s.api.batch.v1.JobList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: JobListOptions); } /** * CronJob represents the configuration of a single cron job. * * @schema io.k8s.api.batch.v1beta1.CronJob */ export declare class CronJob extends ApiObject { /** * Defines a "io.k8s.api.batch.v1beta1.CronJob" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: CronJobOptions); } /** * CronJobList is a collection of cron jobs. * * @schema io.k8s.api.batch.v1beta1.CronJobList */ export declare class CronJobList extends ApiObject { /** * Defines a "io.k8s.api.batch.v1beta1.CronJobList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: CronJobListOptions); } /** * Describes a certificate signing request * * @schema io.k8s.api.certificates.v1beta1.CertificateSigningRequest */ export declare class CertificateSigningRequest extends ApiObject { /** * Defines a "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: CertificateSigningRequestOptions); } /** * undefined * * @schema io.k8s.api.certificates.v1beta1.CertificateSigningRequestList */ export declare class CertificateSigningRequestList extends ApiObject { /** * Defines a "io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: CertificateSigningRequestListOptions); } /** * Lease defines a lease concept. * * @schema io.k8s.api.coordination.v1.Lease */ export declare class Lease extends ApiObject { /** * Defines a "io.k8s.api.coordination.v1.Lease" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: LeaseOptions); } /** * LeaseList is a list of Lease objects. * * @schema io.k8s.api.coordination.v1.LeaseList */ export declare class LeaseList extends ApiObject { /** * Defines a "io.k8s.api.coordination.v1.LeaseList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: LeaseListOptions); } /** * 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 Binding extends ApiObject { /** * Defines a "io.k8s.api.core.v1.Binding" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: BindingOptions); } /** * ComponentStatus (and ComponentStatusList) holds the cluster validation info. * * @schema io.k8s.api.core.v1.ComponentStatus */ export declare class ComponentStatus extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ComponentStatus" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ComponentStatusOptions); } /** * Status of all the conditions for the component as a list of ComponentStatus objects. * * @schema io.k8s.api.core.v1.ComponentStatusList */ export declare class ComponentStatusList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ComponentStatusList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ComponentStatusListOptions); } /** * ConfigMap holds configuration data for pods to consume. * * @schema io.k8s.api.core.v1.ConfigMap */ export declare class ConfigMap extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ConfigMap" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ConfigMapOptions); } /** * ConfigMapList is a resource containing a list of ConfigMap objects. * * @schema io.k8s.api.core.v1.ConfigMapList */ export declare class ConfigMapList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ConfigMapList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ConfigMapListOptions); } /** * 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 Endpoints extends ApiObject { /** * Defines a "io.k8s.api.core.v1.Endpoints" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: EndpointsOptions); } /** * EndpointsList is a list of endpoints. * * @schema io.k8s.api.core.v1.EndpointsList */ export declare class EndpointsList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.EndpointsList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: EndpointsListOptions); } /** * Event is a report of an event somewhere in the cluster. * * @schema io.k8s.api.core.v1.Event */ export declare class Event extends ApiObject { /** * Defines a "io.k8s.api.core.v1.Event" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: EventOptions); } /** * EventList is a list of events. * * @schema io.k8s.api.core.v1.EventList */ export declare class EventList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.EventList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: EventListOptions); } /** * LimitRange sets resource usage limits for each kind of resource in a Namespace. * * @schema io.k8s.api.core.v1.LimitRange */ export declare class LimitRange extends ApiObject { /** * Defines a "io.k8s.api.core.v1.LimitRange" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: LimitRangeOptions); } /** * LimitRangeList is a list of LimitRange items. * * @schema io.k8s.api.core.v1.LimitRangeList */ export declare class LimitRangeList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.LimitRangeList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: LimitRangeListOptions); } /** * Namespace provides a scope for Names. Use of multiple namespaces is optional. * * @schema io.k8s.api.core.v1.Namespace */ export declare class Namespace extends ApiObject { /** * Defines a "io.k8s.api.core.v1.Namespace" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: NamespaceOptions); } /** * NamespaceList is a list of Namespaces. * * @schema io.k8s.api.core.v1.NamespaceList */ export declare class NamespaceList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.NamespaceList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: NamespaceListOptions); } /** * Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). * * @schema io.k8s.api.core.v1.Node */ export declare class Node extends ApiObject { /** * Defines a "io.k8s.api.core.v1.Node" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: NodeOptions); } /** * NodeList is the whole list of all Nodes which have been registered with master. * * @schema io.k8s.api.core.v1.NodeList */ export declare class NodeList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.NodeList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: NodeListOptions); } /** * PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes * * @schema io.k8s.api.core.v1.PersistentVolume */ export declare class PersistentVolume extends ApiObject { /** * Defines a "io.k8s.api.core.v1.PersistentVolume" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: PersistentVolumeOptions); } /** * PersistentVolumeClaim is a user's request for and claim to a persistent volume * * @schema io.k8s.api.core.v1.PersistentVolumeClaim */ export declare class PersistentVolumeClaim extends ApiObject { /** * Defines a "io.k8s.api.core.v1.PersistentVolumeClaim" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: PersistentVolumeClaimOptions); } /** * PersistentVolumeClaimList is a list of PersistentVolumeClaim items. * * @schema io.k8s.api.core.v1.PersistentVolumeClaimList */ export declare class PersistentVolumeClaimList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.PersistentVolumeClaimList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PersistentVolumeClaimListOptions); } /** * PersistentVolumeList is a list of PersistentVolume items. * * @schema io.k8s.api.core.v1.PersistentVolumeList */ export declare class PersistentVolumeList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.PersistentVolumeList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PersistentVolumeListOptions); } /** * Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. * * @schema io.k8s.api.core.v1.Pod */ export declare class Pod extends ApiObject { /** * Defines a "io.k8s.api.core.v1.Pod" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: PodOptions); } /** * PodList is a list of Pods. * * @schema io.k8s.api.core.v1.PodList */ export declare class PodList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.PodList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PodListOptions); } /** * PodTemplate describes a template for creating copies of a predefined pod. * * @schema io.k8s.api.core.v1.PodTemplate */ export declare class PodTemplate extends ApiObject { /** * Defines a "io.k8s.api.core.v1.PodTemplate" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: PodTemplateOptions); } /** * PodTemplateList is a list of PodTemplates. * * @schema io.k8s.api.core.v1.PodTemplateList */ export declare class PodTemplateList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.PodTemplateList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PodTemplateListOptions); } /** * ReplicationController represents the configuration of a replication controller. * * @schema io.k8s.api.core.v1.ReplicationController */ export declare class ReplicationController extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ReplicationController" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ReplicationControllerOptions); } /** * ReplicationControllerList is a collection of replication controllers. * * @schema io.k8s.api.core.v1.ReplicationControllerList */ export declare class ReplicationControllerList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ReplicationControllerList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ReplicationControllerListOptions); } /** * ResourceQuota sets aggregate quota restrictions enforced per namespace * * @schema io.k8s.api.core.v1.ResourceQuota */ export declare class ResourceQuota extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ResourceQuota" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ResourceQuotaOptions); } /** * ResourceQuotaList is a list of ResourceQuota items. * * @schema io.k8s.api.core.v1.ResourceQuotaList */ export declare class ResourceQuotaList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ResourceQuotaList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ResourceQuotaListOptions); } /** * Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes. * * @schema io.k8s.api.core.v1.Secret */ export declare class Secret extends ApiObject { /** * Defines a "io.k8s.api.core.v1.Secret" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: SecretOptions); } /** * SecretList is a list of Secret. * * @schema io.k8s.api.core.v1.SecretList */ export declare class SecretList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.SecretList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: SecretListOptions); } /** * Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. * * @schema io.k8s.api.core.v1.Service */ export declare class Service extends ApiObject { /** * Defines a "io.k8s.api.core.v1.Service" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ServiceOptions); } /** * ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets * * @schema io.k8s.api.core.v1.ServiceAccount */ export declare class ServiceAccount extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ServiceAccount" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ServiceAccountOptions); } /** * ServiceAccountList is a list of ServiceAccount objects * * @schema io.k8s.api.core.v1.ServiceAccountList */ export declare class ServiceAccountList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ServiceAccountList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ServiceAccountListOptions); } /** * ServiceList holds a list of services. * * @schema io.k8s.api.core.v1.ServiceList */ export declare class ServiceList extends ApiObject { /** * Defines a "io.k8s.api.core.v1.ServiceList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ServiceListOptions); } /** * Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. * * @schema io.k8s.api.networking.v1beta1.Ingress */ export declare class Ingress extends ApiObject { /** * Defines a "io.k8s.api.networking.v1beta1.Ingress" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: IngressOptions); } /** * IngressList is a collection of Ingress. * * @schema io.k8s.api.networking.v1beta1.IngressList */ export declare class IngressList extends ApiObject { /** * Defines a "io.k8s.api.networking.v1beta1.IngressList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: IngressListOptions); } /** * NetworkPolicy describes what network traffic is allowed for a set of Pods * * @schema io.k8s.api.networking.v1.NetworkPolicy */ export declare class NetworkPolicy extends ApiObject { /** * Defines a "io.k8s.api.networking.v1.NetworkPolicy" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: NetworkPolicyOptions); } /** * NetworkPolicyList is a list of NetworkPolicy objects. * * @schema io.k8s.api.networking.v1.NetworkPolicyList */ export declare class NetworkPolicyList extends ApiObject { /** * Defines a "io.k8s.api.networking.v1.NetworkPolicyList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: NetworkPolicyListOptions); } /** * PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. * * @schema io.k8s.api.policy.v1beta1.PodSecurityPolicy */ export declare class PodSecurityPolicy extends ApiObject { /** * Defines a "io.k8s.api.policy.v1beta1.PodSecurityPolicy" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: PodSecurityPolicyOptions); } /** * PodSecurityPolicyList is a list of PodSecurityPolicy objects. * * @schema io.k8s.api.policy.v1beta1.PodSecurityPolicyList */ export declare class PodSecurityPolicyList extends ApiObject { /** * Defines a "io.k8s.api.policy.v1beta1.PodSecurityPolicyList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PodSecurityPolicyListOptions); } /** * RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md * * @schema io.k8s.api.node.v1beta1.RuntimeClass */ export declare class RuntimeClass extends ApiObject { /** * Defines a "io.k8s.api.node.v1beta1.RuntimeClass" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: RuntimeClassOptions); } /** * RuntimeClassList is a list of RuntimeClass objects. * * @schema io.k8s.api.node.v1beta1.RuntimeClassList */ export declare class RuntimeClassList extends ApiObject { /** * Defines a "io.k8s.api.node.v1beta1.RuntimeClassList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: RuntimeClassListOptions); } /** * Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions. * * @schema io.k8s.api.policy.v1beta1.Eviction */ export declare class Eviction extends ApiObject { /** * Defines a "io.k8s.api.policy.v1beta1.Eviction" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: EvictionOptions); } /** * PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods * * @schema io.k8s.api.policy.v1beta1.PodDisruptionBudget */ export declare class PodDisruptionBudget extends ApiObject { /** * Defines a "io.k8s.api.policy.v1beta1.PodDisruptionBudget" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: PodDisruptionBudgetOptions); } /** * PodDisruptionBudgetList is a collection of PodDisruptionBudgets. * * @schema io.k8s.api.policy.v1beta1.PodDisruptionBudgetList */ export declare class PodDisruptionBudgetList extends ApiObject { /** * Defines a "io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PodDisruptionBudgetListOptions); } /** * ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. * * @schema io.k8s.api.rbac.v1.ClusterRole */ export declare class ClusterRole extends ApiObject { /** * Defines a "io.k8s.api.rbac.v1.ClusterRole" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: ClusterRoleOptions); } /** * ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. * * @schema io.k8s.api.rbac.v1.ClusterRoleBinding */ export declare class ClusterRoleBinding extends ApiObject { /** * Defines a "io.k8s.api.rbac.v1.ClusterRoleBinding" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ClusterRoleBindingOptions); } /** * ClusterRoleBindingList is a collection of ClusterRoleBindings * * @schema io.k8s.api.rbac.v1.ClusterRoleBindingList */ export declare class ClusterRoleBindingList extends ApiObject { /** * Defines a "io.k8s.api.rbac.v1.ClusterRoleBindingList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ClusterRoleBindingListOptions); } /** * ClusterRoleList is a collection of ClusterRoles * * @schema io.k8s.api.rbac.v1.ClusterRoleList */ export declare class ClusterRoleList extends ApiObject { /** * Defines a "io.k8s.api.rbac.v1.ClusterRoleList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: ClusterRoleListOptions); } /** * Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. * * @schema io.k8s.api.rbac.v1.Role */ export declare class Role extends ApiObject { /** * Defines a "io.k8s.api.rbac.v1.Role" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: RoleOptions); } /** * RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. * * @schema io.k8s.api.rbac.v1.RoleBinding */ export declare class RoleBinding extends ApiObject { /** * Defines a "io.k8s.api.rbac.v1.RoleBinding" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: RoleBindingOptions); } /** * RoleBindingList is a collection of RoleBindings * * @schema io.k8s.api.rbac.v1.RoleBindingList */ export declare class RoleBindingList extends ApiObject { /** * Defines a "io.k8s.api.rbac.v1.RoleBindingList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: RoleBindingListOptions); } /** * RoleList is a collection of Roles * * @schema io.k8s.api.rbac.v1.RoleList */ export declare class RoleList extends ApiObject { /** * Defines a "io.k8s.api.rbac.v1.RoleList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: RoleListOptions); } /** * PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. * * @schema io.k8s.api.scheduling.v1.PriorityClass */ export declare class PriorityClass extends ApiObject { /** * Defines a "io.k8s.api.scheduling.v1.PriorityClass" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PriorityClassOptions); } /** * PriorityClassList is a collection of priority classes. * * @schema io.k8s.api.scheduling.v1.PriorityClassList */ export declare class PriorityClassList extends ApiObject { /** * Defines a "io.k8s.api.scheduling.v1.PriorityClassList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PriorityClassListOptions); } /** * PodPreset is a policy resource that defines additional runtime requirements for a Pod. * * @schema io.k8s.api.settings.v1alpha1.PodPreset */ export declare class PodPreset extends ApiObject { /** * Defines a "io.k8s.api.settings.v1alpha1.PodPreset" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options?: PodPresetOptions); } /** * PodPresetList is a list of PodPreset objects. * * @schema io.k8s.api.settings.v1alpha1.PodPresetList */ export declare class PodPresetList extends ApiObject { /** * Defines a "io.k8s.api.settings.v1alpha1.PodPresetList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: PodPresetListOptions); } /** * StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. * * @schema io.k8s.api.storage.v1.StorageClass */ export declare class StorageClass extends ApiObject { /** * Defines a "io.k8s.api.storage.v1.StorageClass" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options: StorageClassOptions); } /** * StorageClassList is a collection of storage classes. * * @schema io.k8s.api.storage.v1.StorageClassList */ export declare class StorageClassList extends ApiObject { /** * Defines a "io.k8s.api.storage.v1.StorageClassList" API object * @param scope the scope in which to define this object * @param name a scope-local name for the object * @param options configuration options */ constructor(scope: Construct, name: string, options