pub struct SecretsReaderCliArgs {
pub secrets_reader: SecretsControllerKind,
pub secrets_reader_local_file_dir: Option<PathBuf>,
pub secrets_reader_kubernetes_context: Option<String>,
pub secrets_reader_aws_prefix: Option<String>,
pub secrets_reader_name_prefix: Option<String>,
}Fields§
§secrets_reader: SecretsControllerKindThe secrets reader implementation to use.
secrets_reader_local_file_dir: Option<PathBuf>When using the process secrets reader, the directory on the filesystem where secrets are stored.
secrets_reader_kubernetes_context: Option<String>When using the Kubernetes secrets reader, the Kubernetes context to load.
secrets_reader_aws_prefix: Option<String>When using the AWS secrets reader, we need both of the following.
secrets_reader_name_prefix: Option<String>When using the Kubernetes secrets reader, the prefix to use for secret names.
Implementations§
Trait Implementations§
Source§impl Args for SecretsReaderCliArgs
impl Args for SecretsReaderCliArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for SecretsReaderCliArgs
impl Clone for SecretsReaderCliArgs
Source§fn clone(&self) -> SecretsReaderCliArgs
fn clone(&self) -> SecretsReaderCliArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecretsReaderCliArgs
impl Debug for SecretsReaderCliArgs
Source§impl FromArgMatches for SecretsReaderCliArgs
impl FromArgMatches for SecretsReaderCliArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for SecretsReaderCliArgs
impl Parser for SecretsReaderCliArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§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.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for SecretsReaderCliArgs
impl RefUnwindSafe for SecretsReaderCliArgs
impl Send for SecretsReaderCliArgs
impl Sync for SecretsReaderCliArgs
impl Unpin for SecretsReaderCliArgs
impl UnsafeUnpin for SecretsReaderCliArgs
impl UnwindSafe for SecretsReaderCliArgs
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