@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
40 lines (39 loc) • 1.49 kB
TypeScript
/**
* KubeVirt API
* This is KubeVirt API an add-on for Kubernetes.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* SecretVolumeSource adapts a Secret into a volume.
* @export
* @interface V1SecretVolumeSource
*/
export interface V1SecretVolumeSource {
/**
* Specify whether the Secret or it's keys must be defined
* @type {boolean}
* @memberof V1SecretVolumeSource
*/
optional?: boolean;
/**
* Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
* @type {string}
* @memberof V1SecretVolumeSource
*/
secretName?: string;
/**
* The volume label of the resulting disk inside the VMI. Different bootstrapping mechanisms require different values. Typical values are "cidata" (cloud-init), "config-2" (cloud-init) or "OEMDRV" (kickstart).
* @type {string}
* @memberof V1SecretVolumeSource
*/
volumeLabel?: string;
}
export declare function V1SecretVolumeSourceFromJSON(json: any): V1SecretVolumeSource;
export declare function V1SecretVolumeSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1SecretVolumeSource;
export declare function V1SecretVolumeSourceToJSON(value?: V1SecretVolumeSource | null): any;