@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
52 lines (51 loc) • 2.37 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.
*/
/**
* ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration
* @export
* @interface IoK8sApiCoreV1ConfigMapNodeConfigSource
*/
export interface IoK8sApiCoreV1ConfigMapNodeConfigSource {
/**
* KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
* @type {string}
* @memberof IoK8sApiCoreV1ConfigMapNodeConfigSource
*/
kubeletConfigKey: string;
/**
* Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
* @type {string}
* @memberof IoK8sApiCoreV1ConfigMapNodeConfigSource
*/
name: string;
/**
* Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
* @type {string}
* @memberof IoK8sApiCoreV1ConfigMapNodeConfigSource
*/
namespace: string;
/**
* ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
* @type {string}
* @memberof IoK8sApiCoreV1ConfigMapNodeConfigSource
*/
resourceVersion?: string;
/**
* UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
* @type {string}
* @memberof IoK8sApiCoreV1ConfigMapNodeConfigSource
*/
uid?: string;
}
export declare function IoK8sApiCoreV1ConfigMapNodeConfigSourceFromJSON(json: any): IoK8sApiCoreV1ConfigMapNodeConfigSource;
export declare function IoK8sApiCoreV1ConfigMapNodeConfigSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1ConfigMapNodeConfigSource;
export declare function IoK8sApiCoreV1ConfigMapNodeConfigSourceToJSON(value?: IoK8sApiCoreV1ConfigMapNodeConfigSource | null): any;