Struct kubernix::Config [−][src]
pub struct Config { /* fields omitted */ }
Expand description
The global configuration
Implementations
The logging level of the application
The CIDR used for the cluster
All available subcommands
The shell executable to be used, defaults to $SHELL, fallback is sh
The container runtime to be used for the nodes, irrelevant if nodes
equals to 1
Make the configs root path absolute
Write the current configuration to the internal set root path
Read the configuration from the internal set root path If not existing, write the current configuration to the path.
Returns true if multi node support is enabled
Trait Implementations
fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
Parse from iterator, exit on error
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
Parse from iterator, return Err on error.
fn update_from<I, T>(&mut self, itr: I) where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
fn update_from<I, T>(&mut self, itr: I) where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
Update from iterator, exit on error
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
Update from iterator, return Err on error.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
It’s common to have an “application context” struct (sometimes called config) that represents all the normalized values after being processed by the CLI. Read more
@TODO@ @release @docs
@TODO @release @docs
@TODO @release @docs
@TODO @release @docs