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

pub struct Service {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<ServiceSpec>,
    pub status: Option<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.

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

Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

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

Methods

impl Service
[src]

connect DELETE requests to proxy of Service

Use ConnectCoreV1DeleteNamespacedServiceProxyResponse to parse the HTTP response.

impl Service
[src]

connect DELETE requests to proxy of Service

Use ConnectCoreV1DeleteNamespacedServiceProxyWithPathResponse to parse the HTTP response.

impl Service
[src]

connect GET requests to proxy of Service

Use ConnectCoreV1GetNamespacedServiceProxyResponse to parse the HTTP response.

impl Service
[src]

connect GET requests to proxy of Service

Use ConnectCoreV1GetNamespacedServiceProxyWithPathResponse to parse the HTTP response.

impl Service
[src]

connect PATCH requests to proxy of Service

Use ConnectCoreV1PatchNamespacedServiceProxyResponse to parse the HTTP response.

impl Service
[src]

connect PATCH requests to proxy of Service

Use ConnectCoreV1PatchNamespacedServiceProxyWithPathResponse to parse the HTTP response.

impl Service
[src]

connect POST requests to proxy of Service

Use ConnectCoreV1PostNamespacedServiceProxyResponse to parse the HTTP response.

impl Service
[src]

connect POST requests to proxy of Service

Use ConnectCoreV1PostNamespacedServiceProxyWithPathResponse to parse the HTTP response.

impl Service
[src]

connect PUT requests to proxy of Service

Use ConnectCoreV1PutNamespacedServiceProxyResponse to parse the HTTP response.

impl Service
[src]

connect PUT requests to proxy of Service

Use ConnectCoreV1PutNamespacedServiceProxyWithPathResponse to parse the HTTP response.

impl Service
[src]

create a Service

Use CreateCoreV1NamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

delete a Service

Use DeleteCoreV1NamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

list or watch objects of kind Service

Use ListCoreV1NamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

list or watch objects of kind Service

Use ListCoreV1ServiceForAllNamespacesResponse to parse the HTTP response.

impl Service
[src]

partially update the specified Service

Use PatchCoreV1NamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

partially update status of the specified Service

Use PatchCoreV1NamespacedServiceStatusResponse to parse the HTTP response.

impl Service
[src]

proxy DELETE requests to Service

Use ProxyCoreV1DELETENamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

proxy DELETE requests to Service

Use ProxyCoreV1DELETENamespacedServiceWithPathResponse to parse the HTTP response.

impl Service
[src]

proxy GET requests to Service

Use ProxyCoreV1GETNamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

proxy GET requests to Service

Use ProxyCoreV1GETNamespacedServiceWithPathResponse to parse the HTTP response.

impl Service
[src]

proxy PATCH requests to Service

Use ProxyCoreV1PATCHNamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

proxy PATCH requests to Service

Use ProxyCoreV1PATCHNamespacedServiceWithPathResponse to parse the HTTP response.

impl Service
[src]

proxy POST requests to Service

Use ProxyCoreV1POSTNamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

proxy POST requests to Service

Use ProxyCoreV1POSTNamespacedServiceWithPathResponse to parse the HTTP response.

impl Service
[src]

proxy PUT requests to Service

Use ProxyCoreV1PUTNamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

proxy PUT requests to Service

Use ProxyCoreV1PUTNamespacedServiceWithPathResponse to parse the HTTP response.

impl Service
[src]

read the specified Service

Use ReadCoreV1NamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

read status of the specified Service

Use ReadCoreV1NamespacedServiceStatusResponse to parse the HTTP response.

impl Service
[src]

replace the specified Service

Use ReplaceCoreV1NamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

replace status of the specified Service

Use ReplaceCoreV1NamespacedServiceStatusResponse to parse the HTTP response.

impl Service
[src]

watch changes to an object of kind Service

Use WatchCoreV1NamespacedServiceResponse to parse the HTTP response.

impl Service
[src]

watch individual changes to a list of Service

Use WatchCoreV1NamespacedServiceListResponse to parse the HTTP response.

impl Service
[src]

watch individual changes to a list of Service

Use WatchCoreV1ServiceListForAllNamespacesResponse to parse the HTTP response.

Trait Implementations

impl Clone for Service
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Service
[src]

Formats the value using the given formatter. Read more

impl Default for Service
[src]

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

impl PartialEq for Service
[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 Service
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Service
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Service

impl Sync for Service