Enum brane_ctl::spec::GenerateNodeSubcommand
source · pub enum GenerateNodeSubcommand {
Central {Show 14 fields
hostname: String,
infra: PathBuf,
proxy: PathBuf,
certs: PathBuf,
packages: PathBuf,
external_proxy: Option<Address>,
api_name: String,
drv_name: String,
plr_name: String,
prx_name: String,
api_port: u16,
plr_port: u16,
drv_port: u16,
prx_port: u16,
},
Worker {Show 24 fields
hostname: String,
location_id: String,
use_cases: Vec<Pair<String, '=', Address>>,
backend: PathBuf,
policy_database: PathBuf,
policy_deliberation_secret: PathBuf,
policy_expert_secret: PathBuf,
policy_audit_log: Option<PathBuf>,
proxy: PathBuf,
certs: PathBuf,
packages: PathBuf,
data: PathBuf,
results: PathBuf,
temp_data: PathBuf,
temp_results: PathBuf,
external_proxy: Option<Address>,
reg_name: String,
job_name: String,
chk_name: String,
prx_name: String,
reg_port: u16,
job_port: u16,
chk_port: u16,
prx_port: u16,
},
Proxy {
hostname: String,
proxy: PathBuf,
certs: PathBuf,
prx_name: String,
prx_port: u16,
},
}
Expand description
A bit awkward here, but defines the generate subcommand for the node file. This basically defines the possible kinds of nodes to generate.
Variants§
Trait Implementations§
source§impl Debug for GenerateNodeSubcommand
impl Debug for GenerateNodeSubcommand
source§impl EnumDebug for GenerateNodeSubcommand
impl EnumDebug for GenerateNodeSubcommand
source§fn type_name() -> &'static str
fn type_name() -> &'static str
Returns the static name of the type used for EnumDebug-printing. Read more
source§fn variant_names() -> &'static [&'static str]
fn variant_names() -> &'static [&'static str]
Returns all variants in the trait as a list of names. Read more
source§fn variant_name(&self) -> &'static str
fn variant_name(&self) -> &'static str
Returns the static name of the variant. Read more
source§fn variant(&self) -> EnumDebugFormatter<'_, Self>
fn variant(&self) -> EnumDebugFormatter<'_, Self>
Returns a formatter for this enum that writes its variant name. Read more
source§impl FromArgMatches for GenerateNodeSubcommand
impl FromArgMatches for GenerateNodeSubcommand
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 GenerateNodeSubcommand
impl Subcommand for GenerateNodeSubcommand
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 GenerateNodeSubcommand
impl RefUnwindSafe for GenerateNodeSubcommand
impl Send for GenerateNodeSubcommand
impl Sync for GenerateNodeSubcommand
impl Unpin for GenerateNodeSubcommand
impl UnwindSafe for GenerateNodeSubcommand
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