pub(crate) enum CtlSubcommand {
Download(Box<DownloadSubcommand>),
Generate(Box<GenerateSubcommand>),
Unpack(Box<UnpackSubcommand>),
Upgrade(Box<UpgradeSubcommand>),
Wizard(Box<WizardSubcommand>),
Packages(Box<PackageSubcommand>),
Data(Box<DataSubcommand>),
Policies(Box<PolicySubcommand>),
Start {
docker_socket: PathBuf,
docker_version: ClientVersion,
exe: String,
file: Option<PathBuf>,
version: Version,
image_dir: PathBuf,
local_aux: bool,
skip_import: bool,
profile_dir: Option<PathBuf>,
kind: Box<StartSubcommand>,
},
Stop {
exe: String,
file: Option<PathBuf>,
},
Logs {
exe: String,
file: Option<PathBuf>,
},
Version {
arch: bool,
kind: bool,
ctl: bool,
node: bool,
},
}
Expand description
Defines subcommands for the branectl
tool.
Variants§
Download(Box<DownloadSubcommand>)
Generate(Box<GenerateSubcommand>)
Unpack(Box<UnpackSubcommand>)
Upgrade(Box<UpgradeSubcommand>)
Wizard(Box<WizardSubcommand>)
Packages(Box<PackageSubcommand>)
Data(Box<DataSubcommand>)
Policies(Box<PolicySubcommand>)
Start
Fields
§
docker_version: ClientVersion
§
image_dir: PathBuf
Sets the ‘$IMG_DIR’ variable, which can easily switch the location of compiled binaries.
§
kind: Box<StartSubcommand>
Defines the possible nodes and associated flags to start.
Stop
Fields
Logs
Fields
Version
Trait Implementations§
Source§impl Debug for CtlSubcommand
impl Debug for CtlSubcommand
Source§impl FromArgMatches for CtlSubcommand
impl FromArgMatches for CtlSubcommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
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>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl Subcommand for CtlSubcommand
impl Subcommand for CtlSubcommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
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 moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations§
impl Freeze for CtlSubcommand
impl RefUnwindSafe for CtlSubcommand
impl Send for CtlSubcommand
impl Sync for CtlSubcommand
impl Unpin for CtlSubcommand
impl UnwindSafe for CtlSubcommand
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more