[][src]Struct google_run1::Service

pub struct Service {
    pub status: Option<ServiceStatus>,
    pub kind: Option<String>,
    pub spec: Option<ServiceSpec>,
    pub api_version: Option<String>,
    pub metadata: Option<ObjectMeta>,
}

Service acts as a top-level container that manages a set of Routes and Configurations which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership. Service acts only as an orchestrator of the underlying Routes and Configurations (much as a kubernetes Deployment orchestrates ReplicaSets).

The Service's controller will track the statuses of its owned Configuration and Route, reflecting their statuses and conditions as its own.

See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

status: Option<ServiceStatus>

Status communicates the observed state of the Service (from the controller).

kind: Option<String>

The kind of resource, in this case "Service".

spec: Option<ServiceSpec>

Spec holds the desired state of the Service (from the client).

api_version: Option<String>

The API version for this call such as "serving.knative.dev/v1".

metadata: Option<ObjectMeta>

Metadata associated with this Service, including name, namespace, labels, and annotations.

Trait Implementations

impl Clone for Service[src]

impl Debug for Service[src]

impl Default for Service[src]

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

impl RequestValue for Service[src]

impl ResponseResult for Service[src]

impl Serialize for Service[src]

Auto Trait Implementations

impl RefUnwindSafe for Service

impl Send for Service

impl Sync for Service

impl Unpin for Service

impl UnwindSafe for Service

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any