pub(crate) enum KanidmdOpt {
Server(CommonOpt),
ConfigTest(CommonOpt),
CertGenerate(CommonOpt),
RecoverAccount {
name: String,
commonopts: CommonOpt,
},
ShowReplicationCertificate {
commonopts: CommonOpt,
},
RenewReplicationCertificate {
commonopts: CommonOpt,
},
RefreshReplicationConsumer {
commonopts: CommonOpt,
proceed: bool,
},
DbScan {
commands: DbScanOpt,
},
Database {
commands: DbCommands,
},
DomainSettings {
commands: DomainSettingsCmds,
},
HealthCheck(HealthCheckArgs),
Version(CommonOpt),
}
Variants§
Server(CommonOpt)
Start the IDM Server
ConfigTest(CommonOpt)
Test the IDM Server configuration, without starting network listeners.
CertGenerate(CommonOpt)
Create a self-signed ca and tls certificate in the locations listed from the configuration. These certificates should not be used in production, they are for testing and evaluation only!
RecoverAccount
Recover an account’s password
ShowReplicationCertificate
Display this server’s replication certificate
RenewReplicationCertificate
Renew this server’s replication certificate
RefreshReplicationConsumer
Refresh this servers database content with the content from a supplier. This means that all local content will be deleted and replaced with the supplier content.
Fields
DbScan
Inspect the internal content of the database datastructures.
Database
Database maintenance, backups, restoration etc.
Fields
commands: DbCommands
DomainSettings
Change domain settings
Fields
commands: DomainSettingsCmds
HealthCheck(HealthCheckArgs)
Load the server config and check services are listening
Version(CommonOpt)
Print the program version and exit
Implementations§
Trait Implementations§
source§impl Debug for KanidmdOpt
impl Debug for KanidmdOpt
source§impl FromArgMatches for KanidmdOpt
impl FromArgMatches for KanidmdOpt
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>
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>
ArgMatches
to self
.source§impl Subcommand for KanidmdOpt
impl Subcommand for KanidmdOpt
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
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
Self
can parse a specific subcommandAuto Trait Implementations§
impl Freeze for KanidmdOpt
impl RefUnwindSafe for KanidmdOpt
impl Send for KanidmdOpt
impl Sync for KanidmdOpt
impl Unpin for KanidmdOpt
impl UnwindSafe for KanidmdOpt
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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>
T
in a tonic::Request