UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

59 lines (58 loc) 3.91 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 { IoK8sApiDiscoveryV1Endpoint, IoK8sApiDiscoveryV1EndpointPort, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './'; /** * EndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose `kubernetes.io/service-name` label contains the service's name. * @export * @interface IoK8sApiDiscoveryV1EndpointSlice */ export interface IoK8sApiDiscoveryV1EndpointSlice { /** * addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType "IPv4" and "IPv6". No semantics are defined for the "FQDN" type. * @type {string} * @memberof IoK8sApiDiscoveryV1EndpointSlice */ addressType: string; /** * 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/sig-architecture/api-conventions.md#resources * @type {string} * @memberof IoK8sApiDiscoveryV1EndpointSlice */ apiVersion?: string; /** * endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. * @type {Array<IoK8sApiDiscoveryV1Endpoint>} * @memberof IoK8sApiDiscoveryV1EndpointSlice */ endpoints: Array<IoK8sApiDiscoveryV1Endpoint>; /** * 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/sig-architecture/api-conventions.md#types-kinds * @type {string} * @memberof IoK8sApiDiscoveryV1EndpointSlice */ kind?: string; /** * * @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta} * @memberof IoK8sApiDiscoveryV1EndpointSlice */ metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; /** * ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list. * @type {Array<IoK8sApiDiscoveryV1EndpointPort>} * @memberof IoK8sApiDiscoveryV1EndpointSlice */ ports?: Array<IoK8sApiDiscoveryV1EndpointPort>; } export declare function IoK8sApiDiscoveryV1EndpointSliceFromJSON(json: any): IoK8sApiDiscoveryV1EndpointSlice; export declare function IoK8sApiDiscoveryV1EndpointSliceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiDiscoveryV1EndpointSlice; export declare function IoK8sApiDiscoveryV1EndpointSliceToJSON(value?: IoK8sApiDiscoveryV1EndpointSlice | null): any;