@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
47 lines (46 loc) • 1.98 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, IoK8sApimachineryPkgApisMetaV1LabelSelector } from './';
/**
* ReplicaSetSpec is the specification of a ReplicaSet.
* @export
* @interface IoK8sApiAppsV1ReplicaSetSpec
*/
export interface IoK8sApiAppsV1ReplicaSetSpec {
/**
* 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 IoK8sApiAppsV1ReplicaSetSpec
*/
minReadySeconds?: number;
/**
* Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
* @type {number}
* @memberof IoK8sApiAppsV1ReplicaSetSpec
*/
replicas?: number;
/**
*
* @type {IoK8sApimachineryPkgApisMetaV1LabelSelector}
* @memberof IoK8sApiAppsV1ReplicaSetSpec
*/
selector: IoK8sApimachineryPkgApisMetaV1LabelSelector;
/**
*
* @type {IoK8sApiCoreV1PodTemplateSpec}
* @memberof IoK8sApiAppsV1ReplicaSetSpec
*/
template?: IoK8sApiCoreV1PodTemplateSpec;
}
export declare function IoK8sApiAppsV1ReplicaSetSpecFromJSON(json: any): IoK8sApiAppsV1ReplicaSetSpec;
export declare function IoK8sApiAppsV1ReplicaSetSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAppsV1ReplicaSetSpec;
export declare function IoK8sApiAppsV1ReplicaSetSpecToJSON(value?: IoK8sApiAppsV1ReplicaSetSpec | null): any;