@jkcfg/kubernetes
Version:
jk Kubernetes library
1,138 lines • 251 kB
JavaScript
// *** WARNING: this file was generated by the apigen generation tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
export var admissionregistration;
(function (admissionregistration) {
let v1alpha1;
(function (v1alpha1) {
/**
* Initializer describes the name and the failure policy of an initializer, and what resources
* it applies to.
*/
class Initializer {
}
v1alpha1.Initializer = Initializer;
/**
* InitializerConfiguration describes the configuration of initializers.
*/
class InitializerConfiguration {
/**
* Create a admissionregistration.v1alpha1.InitializerConfiguration object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "admissionregistration.k8s.io/v1alpha1";
this.initializers = desc && desc.initializers || undefined;
this.kind = "InitializerConfiguration";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1alpha1.InitializerConfiguration = InitializerConfiguration;
/**
* InitializerConfigurationList is a list of InitializerConfiguration.
*/
class InitializerConfigurationList {
/**
* Create a admissionregistration.v1alpha1.InitializerConfigurationList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "admissionregistration.k8s.io/v1alpha1";
this.items = desc && desc.items || undefined;
this.kind = "InitializerConfigurationList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1alpha1.InitializerConfigurationList = InitializerConfigurationList;
/**
* Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that
* all the tuple expansions are valid.
*/
class Rule {
}
v1alpha1.Rule = Rule;
})(v1alpha1 = admissionregistration.v1alpha1 || (admissionregistration.v1alpha1 = {}));
let v1beta1;
(function (v1beta1) {
/**
* MutatingWebhookConfiguration describes the configuration of and admission webhook that accept
* or reject and may change the object.
*/
class MutatingWebhookConfiguration {
/**
* Create a admissionregistration.v1beta1.MutatingWebhookConfiguration object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "admissionregistration.k8s.io/v1beta1";
this.kind = "MutatingWebhookConfiguration";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.webhooks = desc && desc.webhooks || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta1.MutatingWebhookConfiguration = MutatingWebhookConfiguration;
/**
* MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.
*/
class MutatingWebhookConfigurationList {
/**
* Create a admissionregistration.v1beta1.MutatingWebhookConfigurationList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "admissionregistration.k8s.io/v1beta1";
this.items = desc && desc.items || undefined;
this.kind = "MutatingWebhookConfigurationList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta1.MutatingWebhookConfigurationList = MutatingWebhookConfigurationList;
/**
* RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure
* that all the tuple expansions are valid.
*/
class RuleWithOperations {
}
v1beta1.RuleWithOperations = RuleWithOperations;
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
class ServiceReference {
}
v1beta1.ServiceReference = ServiceReference;
/**
* ValidatingWebhookConfiguration describes the configuration of and admission webhook that
* accept or reject and object without changing it.
*/
class ValidatingWebhookConfiguration {
/**
* Create a admissionregistration.v1beta1.ValidatingWebhookConfiguration object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "admissionregistration.k8s.io/v1beta1";
this.kind = "ValidatingWebhookConfiguration";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.webhooks = desc && desc.webhooks || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta1.ValidatingWebhookConfiguration = ValidatingWebhookConfiguration;
/**
* ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.
*/
class ValidatingWebhookConfigurationList {
/**
* Create a admissionregistration.v1beta1.ValidatingWebhookConfigurationList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "admissionregistration.k8s.io/v1beta1";
this.items = desc && desc.items || undefined;
this.kind = "ValidatingWebhookConfigurationList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta1.ValidatingWebhookConfigurationList = ValidatingWebhookConfigurationList;
/**
* Webhook describes an admission webhook and the resources and operations it applies to.
*/
class Webhook {
}
v1beta1.Webhook = Webhook;
/**
* WebhookClientConfig contains the information to make a TLS connection with the webhook
*/
class WebhookClientConfig {
}
v1beta1.WebhookClientConfig = WebhookClientConfig;
})(v1beta1 = admissionregistration.v1beta1 || (admissionregistration.v1beta1 = {}));
})(admissionregistration || (admissionregistration = {}));
export var apiextensions;
(function (apiextensions) {
let v1beta1;
(function (v1beta1) {
/**
* CustomResourceColumnDefinition specifies a column for server side printing.
*/
class CustomResourceColumnDefinition {
}
v1beta1.CustomResourceColumnDefinition = CustomResourceColumnDefinition;
/**
* CustomResourceConversion describes how to convert different versions of a CR.
*/
class CustomResourceConversion {
}
v1beta1.CustomResourceConversion = CustomResourceConversion;
/**
* CustomResourceDefinition represents a resource that should be exposed on the API server. Its
* name MUST be in the format <.spec.name>.<.spec.group>.
*/
class CustomResourceDefinition {
/**
* Create a apiextensions.v1beta1.CustomResourceDefinition object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apiextensions.k8s.io/v1beta1";
this.kind = "CustomResourceDefinition";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta1.CustomResourceDefinition = CustomResourceDefinition;
/**
* CustomResourceDefinitionCondition contains details for the current condition of this pod.
*/
class CustomResourceDefinitionCondition {
}
v1beta1.CustomResourceDefinitionCondition = CustomResourceDefinitionCondition;
/**
* CustomResourceDefinitionList is a list of CustomResourceDefinition objects.
*/
class CustomResourceDefinitionList {
/**
* Create a apiextensions.v1beta1.CustomResourceDefinitionList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apiextensions.k8s.io/v1beta1";
this.items = desc && desc.items || undefined;
this.kind = "CustomResourceDefinitionList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta1.CustomResourceDefinitionList = CustomResourceDefinitionList;
/**
* CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
*/
class CustomResourceDefinitionNames {
}
v1beta1.CustomResourceDefinitionNames = CustomResourceDefinitionNames;
/**
* CustomResourceDefinitionSpec describes how a user wants their resource to appear
*/
class CustomResourceDefinitionSpec {
}
v1beta1.CustomResourceDefinitionSpec = CustomResourceDefinitionSpec;
/**
* CustomResourceDefinitionVersion describes a version for CRD.
*/
class CustomResourceDefinitionVersion {
}
v1beta1.CustomResourceDefinitionVersion = CustomResourceDefinitionVersion;
/**
* CustomResourceSubresourceScale defines how to serve the scale subresource for
* CustomResources.
*/
class CustomResourceSubresourceScale {
}
v1beta1.CustomResourceSubresourceScale = CustomResourceSubresourceScale;
/**
* CustomResourceSubresources defines the status and scale subresources for CustomResources.
*/
class CustomResourceSubresources {
}
v1beta1.CustomResourceSubresources = CustomResourceSubresources;
/**
* CustomResourceValidation is a list of validation methods for CustomResources.
*/
class CustomResourceValidation {
}
v1beta1.CustomResourceValidation = CustomResourceValidation;
/**
* ExternalDocumentation allows referencing an external resource for extended documentation.
*/
class ExternalDocumentation {
}
v1beta1.ExternalDocumentation = ExternalDocumentation;
/**
* JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
*/
class JSONSchemaProps {
}
v1beta1.JSONSchemaProps = JSONSchemaProps;
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
class ServiceReference {
}
v1beta1.ServiceReference = ServiceReference;
/**
* WebhookClientConfig contains the information to make a TLS connection with the webhook. It
* has the same field as admissionregistration.v1beta1.WebhookClientConfig.
*/
class WebhookClientConfig {
}
v1beta1.WebhookClientConfig = WebhookClientConfig;
})(v1beta1 = apiextensions.v1beta1 || (apiextensions.v1beta1 = {}));
})(apiextensions || (apiextensions = {}));
export var apiregistration;
(function (apiregistration) {
let v1;
(function (v1) {
/**
* APIService represents a server for a particular GroupVersion. Name must be "version.group".
*/
class APIService {
/**
* Create a apiregistration.v1.APIService object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apiregistration.k8s.io/v1";
this.kind = "APIService";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1.APIService = APIService;
class APIServiceCondition {
}
v1.APIServiceCondition = APIServiceCondition;
/**
* APIServiceList is a list of APIService objects.
*/
class APIServiceList {
/**
* Create a apiregistration.v1.APIServiceList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apiregistration.k8s.io/v1";
this.items = desc && desc.items || undefined;
this.kind = "APIServiceList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1.APIServiceList = APIServiceList;
/**
* APIServiceSpec contains information for locating and communicating with a server. Only https
* is supported, though you are able to disable certificate verification.
*/
class APIServiceSpec {
}
v1.APIServiceSpec = APIServiceSpec;
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
class ServiceReference {
}
v1.ServiceReference = ServiceReference;
})(v1 = apiregistration.v1 || (apiregistration.v1 = {}));
let v1beta1;
(function (v1beta1) {
/**
* APIService represents a server for a particular GroupVersion. Name must be "version.group".
*/
class APIService {
/**
* Create a apiregistration.v1beta1.APIService object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apiregistration.k8s.io/v1beta1";
this.kind = "APIService";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta1.APIService = APIService;
class APIServiceCondition {
}
v1beta1.APIServiceCondition = APIServiceCondition;
/**
* APIServiceList is a list of APIService objects.
*/
class APIServiceList {
/**
* Create a apiregistration.v1beta1.APIServiceList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apiregistration.k8s.io/v1beta1";
this.items = desc && desc.items || undefined;
this.kind = "APIServiceList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta1.APIServiceList = APIServiceList;
/**
* APIServiceSpec contains information for locating and communicating with a server. Only https
* is supported, though you are able to disable certificate verification.
*/
class APIServiceSpec {
}
v1beta1.APIServiceSpec = APIServiceSpec;
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
class ServiceReference {
}
v1beta1.ServiceReference = ServiceReference;
})(v1beta1 = apiregistration.v1beta1 || (apiregistration.v1beta1 = {}));
})(apiregistration || (apiregistration = {}));
export var apps;
(function (apps) {
let v1;
(function (v1) {
/**
* 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.
*/
class ControllerRevision {
/**
* Create a apps.v1.ControllerRevision object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.data = desc && desc.data || undefined;
this.kind = "ControllerRevision";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.revision = desc && desc.revision || undefined;
Object.assign(this.metadata, { name });
}
}
v1.ControllerRevision = ControllerRevision;
/**
* ControllerRevisionList is a resource containing a list of ControllerRevision objects.
*/
class ControllerRevisionList {
/**
* Create a apps.v1.ControllerRevisionList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.items = desc && desc.items || undefined;
this.kind = "ControllerRevisionList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1.ControllerRevisionList = ControllerRevisionList;
/**
* DaemonSet represents the configuration of a daemon set.
*/
class DaemonSet {
/**
* Create a apps.v1.DaemonSet object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.kind = "DaemonSet";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1.DaemonSet = DaemonSet;
/**
* DaemonSetCondition describes the state of a DaemonSet at a certain point.
*/
class DaemonSetCondition {
}
v1.DaemonSetCondition = DaemonSetCondition;
/**
* DaemonSetList is a collection of daemon sets.
*/
class DaemonSetList {
/**
* Create a apps.v1.DaemonSetList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.items = desc && desc.items || undefined;
this.kind = "DaemonSetList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1.DaemonSetList = DaemonSetList;
/**
* DaemonSetSpec is the specification of a daemon set.
*/
class DaemonSetSpec {
}
v1.DaemonSetSpec = DaemonSetSpec;
/**
* DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
*/
class DaemonSetUpdateStrategy {
}
v1.DaemonSetUpdateStrategy = DaemonSetUpdateStrategy;
/**
* Deployment enables declarative updates for Pods and ReplicaSets.
*/
class Deployment {
/**
* Create a apps.v1.Deployment object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.kind = "Deployment";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1.Deployment = Deployment;
/**
* DeploymentCondition describes the state of a deployment at a certain point.
*/
class DeploymentCondition {
}
v1.DeploymentCondition = DeploymentCondition;
/**
* DeploymentList is a list of Deployments.
*/
class DeploymentList {
/**
* Create a apps.v1.DeploymentList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.items = desc && desc.items || undefined;
this.kind = "DeploymentList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1.DeploymentList = DeploymentList;
/**
* DeploymentSpec is the specification of the desired behavior of the Deployment.
*/
class DeploymentSpec {
}
v1.DeploymentSpec = DeploymentSpec;
/**
* DeploymentStrategy describes how to replace existing pods with new ones.
*/
class DeploymentStrategy {
}
v1.DeploymentStrategy = DeploymentStrategy;
/**
* ReplicaSet ensures that a specified number of pod replicas are running at any given time.
*/
class ReplicaSet {
/**
* Create a apps.v1.ReplicaSet object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.kind = "ReplicaSet";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1.ReplicaSet = ReplicaSet;
/**
* ReplicaSetCondition describes the state of a replica set at a certain point.
*/
class ReplicaSetCondition {
}
v1.ReplicaSetCondition = ReplicaSetCondition;
/**
* ReplicaSetList is a collection of ReplicaSets.
*/
class ReplicaSetList {
/**
* Create a apps.v1.ReplicaSetList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.items = desc && desc.items || undefined;
this.kind = "ReplicaSetList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1.ReplicaSetList = ReplicaSetList;
/**
* ReplicaSetSpec is the specification of a ReplicaSet.
*/
class ReplicaSetSpec {
}
v1.ReplicaSetSpec = ReplicaSetSpec;
/**
* Spec to control the desired behavior of daemon set rolling update.
*/
class RollingUpdateDaemonSet {
}
v1.RollingUpdateDaemonSet = RollingUpdateDaemonSet;
/**
* Spec to control the desired behavior of rolling update.
*/
class RollingUpdateDeployment {
}
v1.RollingUpdateDeployment = RollingUpdateDeployment;
/**
* RollingUpdateStatefulSetStrategy is used to communicate parameter for
* RollingUpdateStatefulSetStrategyType.
*/
class RollingUpdateStatefulSetStrategy {
}
v1.RollingUpdateStatefulSetStrategy = RollingUpdateStatefulSetStrategy;
/**
* 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.
*/
class StatefulSet {
/**
* Create a apps.v1.StatefulSet object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.kind = "StatefulSet";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1.StatefulSet = StatefulSet;
/**
* StatefulSetCondition describes the state of a statefulset at a certain point.
*/
class StatefulSetCondition {
}
v1.StatefulSetCondition = StatefulSetCondition;
/**
* StatefulSetList is a collection of StatefulSets.
*/
class StatefulSetList {
/**
* Create a apps.v1.StatefulSetList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1";
this.items = desc && desc.items || undefined;
this.kind = "StatefulSetList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1.StatefulSetList = StatefulSetList;
/**
* A StatefulSetSpec is the specification of a StatefulSet.
*/
class StatefulSetSpec {
}
v1.StatefulSetSpec = StatefulSetSpec;
/**
* StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to
* perform updates. It includes any additional parameters necessary to perform the update for
* the indicated strategy.
*/
class StatefulSetUpdateStrategy {
}
v1.StatefulSetUpdateStrategy = StatefulSetUpdateStrategy;
})(v1 = apps.v1 || (apps.v1 = {}));
let v1beta1;
(function (v1beta1) {
/**
* DEPRECATED - This group version of ControllerRevision is deprecated by
* apps/v1beta2/ControllerRevision. See the release notes for more information.
* ControllerRevision implements an immutable snapshot of state data. Clients are responsible
* for serializing and deserializing the objects that contain their internal state. Once a
* ControllerRevision has been successfully created, it can not be updated. The API Server will
* fail validation of all requests that attempt to mutate the Data field. ControllerRevisions
* may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet
* controllers for update and rollback, this object is beta. However, it may be subject to name
* and representation changes in future releases, and clients should not depend on its
* stability. It is primarily for internal use by controllers.
*/
class ControllerRevision {
/**
* Create a apps.v1beta1.ControllerRevision object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta1";
this.data = desc && desc.data || undefined;
this.kind = "ControllerRevision";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.revision = desc && desc.revision || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta1.ControllerRevision = ControllerRevision;
/**
* ControllerRevisionList is a resource containing a list of ControllerRevision objects.
*/
class ControllerRevisionList {
/**
* Create a apps.v1beta1.ControllerRevisionList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta1";
this.items = desc && desc.items || undefined;
this.kind = "ControllerRevisionList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta1.ControllerRevisionList = ControllerRevisionList;
/**
* DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See
* the release notes for more information. Deployment enables declarative updates for Pods and
* ReplicaSets.
*/
class Deployment {
/**
* Create a apps.v1beta1.Deployment object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta1";
this.kind = "Deployment";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta1.Deployment = Deployment;
/**
* DeploymentCondition describes the state of a deployment at a certain point.
*/
class DeploymentCondition {
}
v1beta1.DeploymentCondition = DeploymentCondition;
/**
* DeploymentList is a list of Deployments.
*/
class DeploymentList {
/**
* Create a apps.v1beta1.DeploymentList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta1";
this.items = desc && desc.items || undefined;
this.kind = "DeploymentList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta1.DeploymentList = DeploymentList;
/**
* DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.
*/
class DeploymentRollback {
}
v1beta1.DeploymentRollback = DeploymentRollback;
/**
* DeploymentSpec is the specification of the desired behavior of the Deployment.
*/
class DeploymentSpec {
}
v1beta1.DeploymentSpec = DeploymentSpec;
/**
* DeploymentStrategy describes how to replace existing pods with new ones.
*/
class DeploymentStrategy {
}
v1beta1.DeploymentStrategy = DeploymentStrategy;
/**
* DEPRECATED.
*/
class RollbackConfig {
}
v1beta1.RollbackConfig = RollbackConfig;
/**
* Spec to control the desired behavior of rolling update.
*/
class RollingUpdateDeployment {
}
v1beta1.RollingUpdateDeployment = RollingUpdateDeployment;
/**
* RollingUpdateStatefulSetStrategy is used to communicate parameter for
* RollingUpdateStatefulSetStrategyType.
*/
class RollingUpdateStatefulSetStrategy {
}
v1beta1.RollingUpdateStatefulSetStrategy = RollingUpdateStatefulSetStrategy;
/**
* Scale represents a scaling request for a resource.
*/
class Scale {
/**
* Create a apps.v1beta1.Scale object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta1";
this.kind = "Scale";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta1.Scale = Scale;
/**
* ScaleSpec describes the attributes of a scale subresource
*/
class ScaleSpec {
}
v1beta1.ScaleSpec = ScaleSpec;
/**
* DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See
* the release notes for more information. StatefulSet represents a set of pods with consistent
* identities. Identities are defined as:
* - Network: A single stable DNS and hostname.
* - Storage: As many VolumeClaims as requested.
* The StatefulSet guarantees that a given network identity will always map to the same storage
* identity.
*/
class StatefulSet {
/**
* Create a apps.v1beta1.StatefulSet object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta1";
this.kind = "StatefulSet";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta1.StatefulSet = StatefulSet;
/**
* StatefulSetCondition describes the state of a statefulset at a certain point.
*/
class StatefulSetCondition {
}
v1beta1.StatefulSetCondition = StatefulSetCondition;
/**
* StatefulSetList is a collection of StatefulSets.
*/
class StatefulSetList {
/**
* Create a apps.v1beta1.StatefulSetList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta1";
this.items = desc && desc.items || undefined;
this.kind = "StatefulSetList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta1.StatefulSetList = StatefulSetList;
/**
* A StatefulSetSpec is the specification of a StatefulSet.
*/
class StatefulSetSpec {
}
v1beta1.StatefulSetSpec = StatefulSetSpec;
/**
* StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to
* perform updates. It includes any additional parameters necessary to perform the update for
* the indicated strategy.
*/
class StatefulSetUpdateStrategy {
}
v1beta1.StatefulSetUpdateStrategy = StatefulSetUpdateStrategy;
})(v1beta1 = apps.v1beta1 || (apps.v1beta1 = {}));
let v1beta2;
(function (v1beta2) {
/**
* DEPRECATED - This group version of ControllerRevision is deprecated by
* apps/v1/ControllerRevision. See the release notes for more information. ControllerRevision
* implements an immutable snapshot of state data. Clients are responsible for serializing and
* deserializing the objects that contain their internal state. Once a ControllerRevision has
* been successfully created, it can not be updated. The API Server will fail validation of all
* requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted.
* Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and
* rollback, this object is beta. However, it may be subject to name and representation changes
* in future releases, and clients should not depend on its stability. It is primarily for
* internal use by controllers.
*/
class ControllerRevision {
/**
* Create a apps.v1beta2.ControllerRevision object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta2";
this.data = desc && desc.data || undefined;
this.kind = "ControllerRevision";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.revision = desc && desc.revision || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta2.ControllerRevision = ControllerRevision;
/**
* ControllerRevisionList is a resource containing a list of ControllerRevision objects.
*/
class ControllerRevisionList {
/**
* Create a apps.v1beta2.ControllerRevisionList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta2";
this.items = desc && desc.items || undefined;
this.kind = "ControllerRevisionList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta2.ControllerRevisionList = ControllerRevisionList;
/**
* DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/DaemonSet. See the
* release notes for more information. DaemonSet represents the configuration of a daemon set.
*/
class DaemonSet {
/**
* Create a apps.v1beta2.DaemonSet object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta2";
this.kind = "DaemonSet";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta2.DaemonSet = DaemonSet;
/**
* DaemonSetCondition describes the state of a DaemonSet at a certain point.
*/
class DaemonSetCondition {
}
v1beta2.DaemonSetCondition = DaemonSetCondition;
/**
* DaemonSetList is a collection of daemon sets.
*/
class DaemonSetList {
/**
* Create a apps.v1beta2.DaemonSetList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta2";
this.items = desc && desc.items || undefined;
this.kind = "DaemonSetList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta2.DaemonSetList = DaemonSetList;
/**
* DaemonSetSpec is the specification of a daemon set.
*/
class DaemonSetSpec {
}
v1beta2.DaemonSetSpec = DaemonSetSpec;
/**
* DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
*/
class DaemonSetUpdateStrategy {
}
v1beta2.DaemonSetUpdateStrategy = DaemonSetUpdateStrategy;
/**
* DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the
* release notes for more information. Deployment enables declarative updates for Pods and
* ReplicaSets.
*/
class Deployment {
/**
* Create a apps.v1beta2.Deployment object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta2";
this.kind = "Deployment";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta2.Deployment = Deployment;
/**
* DeploymentCondition describes the state of a deployment at a certain point.
*/
class DeploymentCondition {
}
v1beta2.DeploymentCondition = DeploymentCondition;
/**
* DeploymentList is a list of Deployments.
*/
class DeploymentList {
/**
* Create a apps.v1beta2.DeploymentList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta2";
this.items = desc && desc.items || undefined;
this.kind = "DeploymentList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta2.DeploymentList = DeploymentList;
/**
* DeploymentSpec is the specification of the desired behavior of the Deployment.
*/
class DeploymentSpec {
}
v1beta2.DeploymentSpec = DeploymentSpec;
/**
* DeploymentStrategy describes how to replace existing pods with new ones.
*/
class DeploymentStrategy {
}
v1beta2.DeploymentStrategy = DeploymentStrategy;
/**
* DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the
* release notes for more information. ReplicaSet ensures that a specified number of pod
* replicas are running at any given time.
*/
class ReplicaSet {
/**
* Create a apps.v1beta2.ReplicaSet object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta2";
this.kind = "ReplicaSet";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
this.spec = desc && desc.spec || undefined;
Object.assign(this.metadata, { name });
}
}
v1beta2.ReplicaSet = ReplicaSet;
/**
* ReplicaSetCondition describes the state of a replica set at a certain point.
*/
class ReplicaSetCondition {
}
v1beta2.ReplicaSetCondition = ReplicaSetCondition;
/**
* ReplicaSetList is a collection of ReplicaSets.
*/
class ReplicaSetList {
/**
* Create a apps.v1beta2.ReplicaSetList object with the given unique name and description.
*
* @param name The _unique_ name of the object.
* @param desc The description to use to populate this object properties.
*/
constructor(name, desc) {
this.apiVersion = "apps/v1beta2";
this.items = desc && desc.items || undefined;
this.kind = "ReplicaSetList";
this.metadata = Object.assign({}, desc && desc.metadata || {}, { name });
Object.assign(this.metadata, { name });
}
}
v1beta2.ReplicaSetList = ReplicaSetList;
/**
* Replica