@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
35 lines (34 loc) • 1.73 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 { IoK8sApiDiscoveryV1ForNode, IoK8sApiDiscoveryV1ForZone } from './';
/**
* EndpointHints provides hints describing how an endpoint should be consumed.
* @export
* @interface IoK8sApiDiscoveryV1EndpointHints
*/
export interface IoK8sApiDiscoveryV1EndpointHints {
/**
* forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled.
* @type {Array<IoK8sApiDiscoveryV1ForNode>}
* @memberof IoK8sApiDiscoveryV1EndpointHints
*/
forNodes?: Array<IoK8sApiDiscoveryV1ForNode>;
/**
* forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.
* @type {Array<IoK8sApiDiscoveryV1ForZone>}
* @memberof IoK8sApiDiscoveryV1EndpointHints
*/
forZones?: Array<IoK8sApiDiscoveryV1ForZone>;
}
export declare function IoK8sApiDiscoveryV1EndpointHintsFromJSON(json: any): IoK8sApiDiscoveryV1EndpointHints;
export declare function IoK8sApiDiscoveryV1EndpointHintsFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiDiscoveryV1EndpointHints;
export declare function IoK8sApiDiscoveryV1EndpointHintsToJSON(value?: IoK8sApiDiscoveryV1EndpointHints | null): any;