Enum docker_pose::Objects

source ·
pub enum Objects {
    Services,
    Images {
        filter: Option<String>,
        remote_tag: Option<String>,
        remote_tag_filter: Option<String>,
        ignore_unauthorized: bool,
        remote_progress: bool,
        threads: u8,
    },
    Depends {
        service: String,
    },
    Volumes,
    Networks,
    Configs,
    Secrets,
    Profiles,
    Envs {
        service: String,
    },
}

Variants§

§

Services

List services

§

Images

Fields

§filter: Option<String>

filter by a property, if –remote-tag is used as well, this filter is applied first, filtering out images that don’t match the filter. Currently only tag=TAG is supported

§remote_tag: Option<String>

print with remote tag passed instead of the one set in the file if exists in the docker registry

§remote_tag_filter: Option<String>

use with –remote-tag to filter which images should be checked whether the remote tag exists or not, but images that don’t match the filter are not filtered out from the list printed, only printed with the tag they have in the compose file. Currently only regex=EXPR or regex!=EXPR are supported

§ignore_unauthorized: bool

ignore unauthorized errors from docker when fetching remote tags info

§remote_progress: bool

Outputs in stderr the progress of fetching remote tags, similar to the –verbose argument, but without all the other details –verbose adds

§threads: u8

max number of threads used to fetch remote images info

List images

§

Depends

Fields

§service: String

List service’s depends_on

§

Volumes

List volumes

§

Networks

List networks

§

Configs

List configs

§

Secrets

List secrets

§

Profiles

List profiles

§

Envs

Fields

§service: String

List service’s environment variables

Trait Implementations§

source§

impl Display for Objects

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Objects

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>

Assign values from ArgMatches to self.
source§

impl PartialEq for Objects

source§

fn eq(&self, other: &Objects) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Subcommand for Objects

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand
source§

impl StructuralPartialEq for Objects

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.