@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
34 lines (33 loc) • 1.19 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.
*/
/**
* HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
* @export
* @interface IoK8sApiCoreV1HostAlias
*/
export interface IoK8sApiCoreV1HostAlias {
/**
* Hostnames for the above IP address.
* @type {Array<string>}
* @memberof IoK8sApiCoreV1HostAlias
*/
hostnames?: Array<string>;
/**
* IP address of the host file entry.
* @type {string}
* @memberof IoK8sApiCoreV1HostAlias
*/
ip: string;
}
export declare function IoK8sApiCoreV1HostAliasFromJSON(json: any): IoK8sApiCoreV1HostAlias;
export declare function IoK8sApiCoreV1HostAliasFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1HostAlias;
export declare function IoK8sApiCoreV1HostAliasToJSON(value?: IoK8sApiCoreV1HostAlias | null): any;