pub struct SessionLivedBackendStatus {
    pub submitted: Option<bool>,
    pub constructed: Option<bool>,
    pub scheduled: Option<bool>,
    pub running: Option<bool>,
    pub ready: Option<bool>,
    pub swept: Option<bool>,
    pub failed: Option<bool>,
    pub node_name: Option<String>,
    pub ip: Option<String>,
    pub port: Option<u16>,
    pub url: Option<String>,
}
Expand description

Status flags associated with a backend.

Fields

submitted: Option<bool>

Set to true by spawner once the backing resources (pod and service) have been created.

constructed: Option<bool>

Set to true by spawner once the backing pod object exists.

scheduled: Option<bool>

Set to true by spawner once the backing pod has been assigned to a node.

running: Option<bool>

Set to true by spawner once the backing pod is observed in the Running state.

ready: Option<bool>

Set to true by sweeper once the sidecar proxy issues an event with ready set to true.

swept: Option<bool>

Set to true by sweeper once the pod is observed to be inactive (per sidecar events) for at least its grace period. This marks the SessionLivedBackend for deletion by spawner.

failed: Option<bool>

Set to true by spawner if the pod has failed.

node_name: Option<String>

The name of the Kubernetes cluster node that this backend has been assigned to.

This is initially None until a backend has been assigned to a node. Once it has, this never changes.

ip: Option<String>

IP of the service associated with this backend.

port: Option<u16>

Port of the service associated with this backend.

url: Option<String>

In-cluster URL associated with this backend.

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more