UNPKG

kubernetes-models

Version:
37 lines (36 loc) 1.36 kB
import { IIoK8sApiCoreV1ObjectReference } from "./ObjectReference"; import { ModelData, Model } from "@kubernetes-models/base"; /** * EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+. * @deprecated */ export interface IEndpointAddress { /** * The Hostname of this endpoint */ "hostname"?: string; /** * The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16). */ "ip": string; /** * Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. */ "nodeName"?: string; /** * Reference to object providing the endpoint. */ "targetRef"?: IIoK8sApiCoreV1ObjectReference; } /** * EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+. * @deprecated */ export declare class EndpointAddress extends Model<IEndpointAddress> implements IEndpointAddress { "hostname"?: string; "ip": string; "nodeName"?: string; "targetRef"?: IIoK8sApiCoreV1ObjectReference; constructor(data?: ModelData<IEndpointAddress>); } export { IEndpointAddress as IIoK8sApiCoreV1EndpointAddress, EndpointAddress as IoK8sApiCoreV1EndpointAddress };