Enum Objects

Source
pub enum Objects {
    Services,
    Images {
        filter: Option<String>,
        tag: Option<String>,
        tag_filter: Option<String>,
        ignore_unauthorized: bool,
        no_slug: bool,
        offline: bool,
        progress: bool,
        threads: u8,
    },
    Depends {
        service: String,
    },
    Volumes,
    Networks,
    Configs,
    Secrets,
    Profiles,
    Envs {
        service: String,
    },
}

Variants§

§

Services

List services

§

Images

List images

Fields

§filter: Option<String>

filter by a property, if –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

§tag: Option<String>

print images with the tag passed instead of the one set in the file if they exist locally or in the remote docker registry

§tag_filter: Option<String>

use with –tag to filter which images should be checked whether the 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

§no_slug: bool

Don’t slugify the value from –tag

§offline: bool

only check –tag TAG with the local docker registry

§progress: bool

outputs in stderr the progress of fetching the tags info, similar to –verbose but without all the other details –verbose adds

§threads: u8

max number of threads used to fetch images info

§

Depends

List service’s depends_on

Fields

§service: String
§

Volumes

List volumes

§

Networks

List networks

§

Configs

List configs

§

Secrets

List secrets

§

Profiles

List profiles

§

Envs

List service’s environment variables

Fields

§service: String

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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 via FromArgMatches::from_arg_matches_mut Read more
Source§

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

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut 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§

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>,

Source§

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>,

Source§

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.
Source§

impl<T> ErasedDestructor for T
where T: 'static,