pub enum Source {
Show 15 variants
Schema,
Default,
Unknown,
InfraMode,
File,
EnvironmentVariable,
ConfigPostInit,
Secret,
LocalConfigProcess,
AgentRuntime,
RemoteConfig,
FleetPolicies,
Cli,
Provided,
Empty,
}Expand description
A model.Source string (pkg/config/model/types.go:41-71 at the pin).
Variants§
Schema
schema.
Default
default.
Unknown
unknown.
InfraMode
infra-mode.
File
file.
EnvironmentVariable
environment-variable.
ConfigPostInit
config-post-init.
Secret
secret.
LocalConfigProcess
local-config-process.
AgentRuntime
agent-runtime.
RemoteConfig
remote-config.
FleetPolicies
fleet-policies.
Cli
cli.
Provided
provided.
Empty
The empty string: a streamed setting’s source is written even when "" (record.md §5.1).
Only legal there; a read source, an update source or an unset_source must never be "".
Implementations§
Trait Implementations§
Source§impl Ord for Source
impl Ord for Source
Source§impl PartialOrd for Source
impl PartialOrd for Source
impl Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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