UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

53 lines (52 loc) 2.35 kB
/** * 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 { IoK8sApiCoreV1EndpointAddress, IoK8sApiCoreV1EndpointPort } from './'; /** * EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: * * { * Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], * Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] * } * * The resulting set of endpoints can be viewed as: * * a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], * b: [ 10.10.1.1:309, 10.10.2.2:309 ] * * Deprecated: This API is deprecated in v1.33+. * @export * @interface IoK8sApiCoreV1EndpointSubset */ export interface IoK8sApiCoreV1EndpointSubset { /** * IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. * @type {Array<IoK8sApiCoreV1EndpointAddress>} * @memberof IoK8sApiCoreV1EndpointSubset */ addresses?: Array<IoK8sApiCoreV1EndpointAddress>; /** * IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. * @type {Array<IoK8sApiCoreV1EndpointAddress>} * @memberof IoK8sApiCoreV1EndpointSubset */ notReadyAddresses?: Array<IoK8sApiCoreV1EndpointAddress>; /** * Port numbers available on the related IP addresses. * @type {Array<IoK8sApiCoreV1EndpointPort>} * @memberof IoK8sApiCoreV1EndpointSubset */ ports?: Array<IoK8sApiCoreV1EndpointPort>; } export declare function IoK8sApiCoreV1EndpointSubsetFromJSON(json: any): IoK8sApiCoreV1EndpointSubset; export declare function IoK8sApiCoreV1EndpointSubsetFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1EndpointSubset; export declare function IoK8sApiCoreV1EndpointSubsetToJSON(value?: IoK8sApiCoreV1EndpointSubset | null): any;