import { ObjectMeta } from '../../meta/v1/ObjectMeta'; import { ServiceSpec } from '../../core/v1/ServiceSpec'; import { ServiceStatus } from '../../core/v1/ServiceStatus'; /** * Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. * @interface Service * @see io.k8s.api.core.v1.Service */ export interface Service { /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @type string */ apiVersion: "core/v1" | string; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @type string */ kind?: string; /** * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @type ObjectMeta */ metadata?: ObjectMeta; /** * Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @type ServiceSpec */ spec?: ServiceSpec; /** * Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @type ServiceStatus */ status?: ServiceStatus; }