pub struct ComposePushCommand {
pub config: ComposeConfig,
pub include_deps: bool,
pub ignore_push_failures: bool,
pub quiet: bool,
pub services: Vec<String>,
}
Expand description
Docker Compose push command
Push service images to registry.
Fields§
§config: ComposeConfig
Base configuration
include_deps: bool
Include all tags when pushing
ignore_push_failures: bool
Ignore push failures
quiet: bool
Don’t print progress
services: Vec<String>
Services to push
Implementations§
Source§impl ComposePushCommand
impl ComposePushCommand
Sourcepub fn project_name(self, name: impl Into<String>) -> Self
pub fn project_name(self, name: impl Into<String>) -> Self
Set project name
Sourcepub fn include_deps(self) -> Self
pub fn include_deps(self) -> Self
Include all dependencies
Sourcepub fn ignore_push_failures(self) -> Self
pub fn ignore_push_failures(self) -> Self
Ignore push failures
Trait Implementations§
Source§impl Clone for ComposePushCommand
impl Clone for ComposePushCommand
Source§fn clone(&self) -> ComposePushCommand
fn clone(&self) -> ComposePushCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ComposeCommandV2 for ComposePushCommand
impl ComposeCommandV2 for ComposePushCommand
Source§type Output = PushResult
type Output = PushResult
The output type this command produces
Source§fn get_config(&self) -> &ComposeConfig
fn get_config(&self) -> &ComposeConfig
Get the compose configuration
Source§fn get_config_mut(&mut self) -> &mut ComposeConfig
fn get_config_mut(&mut self) -> &mut ComposeConfig
Get mutable compose configuration
Source§fn execute_compose<'life0, 'async_trait>(
&'life0 self,
args: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_compose<'life0, 'async_trait>(
&'life0 self,
args: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute compose command with given arguments
Source§impl Debug for ComposePushCommand
impl Debug for ComposePushCommand
Source§impl Default for ComposePushCommand
impl Default for ComposePushCommand
Source§fn default() -> ComposePushCommand
fn default() -> ComposePushCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComposePushCommand
impl RefUnwindSafe for ComposePushCommand
impl Send for ComposePushCommand
impl Sync for ComposePushCommand
impl Unpin for ComposePushCommand
impl UnwindSafe for ComposePushCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more