pub enum BackendKind {
Sops {
file: String,
yaml_path: String,
},
Akeyless {
path: String,
},
Mock {
name: String,
},
}Variants§
Sops
SOPS-encrypted YAML/JSON file, with the secret stored at a specific YAML path inside it. cofre uses an EDITOR-mode hijack to splice the value in without ever displaying plaintext.
Fields
Akeyless
Akeyless secret at the given absolute path. cofre uploads via the Akeyless API (or CLI with FD-passed value, never argv).
Mock
In-memory only. Used by tests; rejected by validate_backend()
for production plans (the validator gates this behind a
Plan::test_only toggle).
Implementations§
Source§impl BackendKind
impl BackendKind
Trait Implementations§
Source§impl Clone for BackendKind
impl Clone for BackendKind
Source§fn clone(&self) -> BackendKind
fn clone(&self) -> BackendKind
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 BackendKind
impl Debug for BackendKind
Source§impl<'de> Deserialize<'de> for BackendKind
impl<'de> Deserialize<'de> for BackendKind
Source§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
impl Eq for BackendKind
Source§impl Hash for BackendKind
impl Hash for BackendKind
Source§impl PartialEq for BackendKind
impl PartialEq for BackendKind
Source§impl Serialize for BackendKind
impl Serialize for BackendKind
impl StructuralPartialEq for BackendKind
Source§impl TypedDispatcher for BackendKind
impl TypedDispatcher for BackendKind
Source§fn variant_kinds() -> Vec<&'static str>
fn variant_kinds() -> Vec<&'static str>
Kebab-case serde tags of every variant in declaration order.
Used by substrate emitters (Nix helpers skeleton, Lisp catalog,
coverage tests) to enumerate the variant universe.
Source§fn variant_fields() -> Vec<(&'static str, Vec<&'static str>)>
fn variant_fields() -> Vec<(&'static str, Vec<&'static str>)>
Field names per variant, paired with the variant’s kebab-case
tag. Used by substrate emitters to produce the matching
inherit (variant) <fields> Nix patterns.Source§fn variant_count() -> usize
fn variant_count() -> usize
Total variant count. Convenience for coverage assertions.
Auto Trait Implementations§
impl Freeze for BackendKind
impl RefUnwindSafe for BackendKind
impl Send for BackendKind
impl Sync for BackendKind
impl Unpin for BackendKind
impl UnsafeUnpin for BackendKind
impl UnwindSafe for BackendKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.