pub enum OrcaOpt {
SetupWizard {
common: CommonOpt,
admin_password: String,
idm_admin_password: String,
control_uri: String,
seed: Option<i64>,
profile_path: PathBuf,
threads: Option<usize>,
model: Model,
dump_raw_data: bool,
},
TestConnection {
common: CommonOpt,
profile_path: PathBuf,
},
GenerateData {
common: CommonOpt,
profile_path: PathBuf,
state_path: PathBuf,
},
PopulateData {
common: CommonOpt,
state_path: PathBuf,
},
Run {
common: CommonOpt,
state_path: PathBuf,
},
Version {
common: CommonOpt,
},
}
Variants§
SetupWizard
Fields
TestConnection
Perform a connection test
GenerateData
Create a new state file that is populated with a complete dataset, ready to be loaded into a kanidm instance.
Fields
PopulateData
Populate the data for the test into the Kanidm instance.
Run
Run the simulation.
Version
Print version info and exit
Implementations§
Trait Implementations§
source§impl FromArgMatches for OrcaOpt
impl FromArgMatches for OrcaOpt
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 Parser for OrcaOpt
impl Parser for OrcaOpt
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error. Read more
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
source§impl Subcommand for OrcaOpt
impl Subcommand for OrcaOpt
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 OrcaOpt
impl RefUnwindSafe for OrcaOpt
impl Send for OrcaOpt
impl Sync for OrcaOpt
impl Unpin for OrcaOpt
impl UnwindSafe for OrcaOpt
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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