[][src]Struct cage::RuntimeState

pub struct RuntimeState { /* fields omitted */ }

Everything we know about the running application, based on querying Docker.

Implementations

impl RuntimeState[src]

pub fn for_project(project: &Project) -> Result<RuntimeState>[src]

Look up the runtime state for the specified project (and its current target).

pub fn all_services_in_pod_are_running(&self, pod: &Pod) -> bool[src]

Is the specified pod running?

pub fn service_containers(&self, service_name: &str) -> &[ContainerInfo][src]

Get the containers associated with a service. This will return the empty list if it can't find any containers related to the specified service_name.

Trait Implementations

impl Debug for RuntimeState[src]

Auto Trait Implementations

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> From<T> for T[src]

impl<T> GetTypeId for T where
    T: Any

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

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, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,