@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
49 lines (48 loc) • 2.51 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { IoK8sApiCoreV1PodTemplateSpec } from './';
/**
* ReplicationControllerSpec is the specification of a replication controller.
* @export
* @interface IoK8sApiCoreV1ReplicationControllerSpec
*/
export interface IoK8sApiCoreV1ReplicationControllerSpec {
/**
* Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
* @type {number}
* @memberof IoK8sApiCoreV1ReplicationControllerSpec
*/
minReadySeconds?: number;
/**
* Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
* @type {number}
* @memberof IoK8sApiCoreV1ReplicationControllerSpec
*/
replicas?: number;
/**
* Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
* @type {{ [key: string]: string; }}
* @memberof IoK8sApiCoreV1ReplicationControllerSpec
*/
selector?: {
[key: string]: string;
};
/**
*
* @type {IoK8sApiCoreV1PodTemplateSpec}
* @memberof IoK8sApiCoreV1ReplicationControllerSpec
*/
template?: IoK8sApiCoreV1PodTemplateSpec;
}
export declare function IoK8sApiCoreV1ReplicationControllerSpecFromJSON(json: any): IoK8sApiCoreV1ReplicationControllerSpec;
export declare function IoK8sApiCoreV1ReplicationControllerSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1ReplicationControllerSpec;
export declare function IoK8sApiCoreV1ReplicationControllerSpecToJSON(value?: IoK8sApiCoreV1ReplicationControllerSpec | null): any;