@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
57 lines (56 loc) • 2.52 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 { IoK8sApiAppsV1StatefulSetSpec, IoK8sApiAppsV1StatefulSetStatus, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './';
/**
* 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.
* @export
* @interface IoK8sApiAppsV1StatefulSet
*/
export interface IoK8sApiAppsV1StatefulSet {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
* @type {string}
* @memberof IoK8sApiAppsV1StatefulSet
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @type {string}
* @memberof IoK8sApiAppsV1StatefulSet
*/
kind?: string;
/**
*
* @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta}
* @memberof IoK8sApiAppsV1StatefulSet
*/
metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta;
/**
*
* @type {IoK8sApiAppsV1StatefulSetSpec}
* @memberof IoK8sApiAppsV1StatefulSet
*/
spec?: IoK8sApiAppsV1StatefulSetSpec;
/**
*
* @type {IoK8sApiAppsV1StatefulSetStatus}
* @memberof IoK8sApiAppsV1StatefulSet
*/
status?: IoK8sApiAppsV1StatefulSetStatus;
}
export declare function IoK8sApiAppsV1StatefulSetFromJSON(json: any): IoK8sApiAppsV1StatefulSet;
export declare function IoK8sApiAppsV1StatefulSetFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAppsV1StatefulSet;
export declare function IoK8sApiAppsV1StatefulSetToJSON(value?: IoK8sApiAppsV1StatefulSet | null): any;