UNPKG

kubernetes-models

Version:
24 lines (23 loc) 883 B
import { ModelData, Model } from "@kubernetes-models/base"; /** * ServiceBackendPort is the service port being referenced. */ export interface IServiceBackendPort { /** * name is the name of the port on the Service. This is a mutually exclusive setting with "Number". */ "name"?: string; /** * number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name". */ "number"?: number; } /** * ServiceBackendPort is the service port being referenced. */ export declare class ServiceBackendPort extends Model<IServiceBackendPort> implements IServiceBackendPort { "name"?: string; "number"?: number; constructor(data?: ModelData<IServiceBackendPort>); } export { IServiceBackendPort as IIoK8sApiNetworkingV1ServiceBackendPort, ServiceBackendPort as IoK8sApiNetworkingV1ServiceBackendPort };