Struct k8s_openapi::v1_9::api::core::v1::Endpoints[][src]

pub struct Endpoints {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub subsets: Vec<EndpointSubset>,
}

Endpoints is a collection of endpoints that implement the actual service. Example: Name: "mysvc", Subsets: [ { Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] }, { Addresses: [{"ip": "10.10.3.3"}], Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] }, ]

Fields

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

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

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.

Methods

impl Endpoints
[src]

create Endpoints

Use CreateCoreV1NamespacedEndpointsResponse to parse the HTTP response.

impl Endpoints
[src]

delete collection of Endpoints

Use DeleteCoreV1CollectionNamespacedEndpointsResponse to parse the HTTP response.

impl Endpoints
[src]

delete Endpoints

Use DeleteCoreV1NamespacedEndpointsResponse to parse the HTTP response.

impl Endpoints
[src]

list or watch objects of kind Endpoints

Use ListCoreV1EndpointsForAllNamespacesResponse to parse the HTTP response.

impl Endpoints
[src]

list or watch objects of kind Endpoints

Use ListCoreV1NamespacedEndpointsResponse to parse the HTTP response.

impl Endpoints
[src]

partially update the specified Endpoints

Use PatchCoreV1NamespacedEndpointsResponse to parse the HTTP response.

impl Endpoints
[src]

read the specified Endpoints

Use ReadCoreV1NamespacedEndpointsResponse to parse the HTTP response.

impl Endpoints
[src]

replace the specified Endpoints

Use ReplaceCoreV1NamespacedEndpointsResponse to parse the HTTP response.

impl Endpoints
[src]

watch individual changes to a list of Endpoints

Use WatchCoreV1EndpointsListForAllNamespacesResponse to parse the HTTP response.

impl Endpoints
[src]

watch changes to an object of kind Endpoints

Use WatchCoreV1NamespacedEndpointsResponse to parse the HTTP response.

impl Endpoints
[src]

watch individual changes to a list of Endpoints

Use WatchCoreV1NamespacedEndpointsListResponse to parse the HTTP response.

Trait Implementations

impl Clone for Endpoints
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Endpoints
[src]

Formats the value using the given formatter. Read more

impl Default for Endpoints
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Endpoints
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for Endpoints
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Endpoints
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Endpoints

impl Sync for Endpoints