[][src]Struct buildkit_proto::pb::SecretOpt

pub struct SecretOpt {
    pub id: String,
    pub uid: u32,
    pub gid: u32,
    pub mode: u32,
    pub optional: bool,
}

SecretOpt defines options describing secret mounts

Fields

id: String

ID of secret. Used for quering the value.

uid: u32

UID of secret file

gid: u32

GID of secret file

mode: u32

Mode is the filesystem mode of secret file

optional: bool

Optional defines if secret value is required. Error is produced if value is not found and optional is false.

Trait Implementations

impl Clone for SecretOpt[src]

impl Default for SecretOpt[src]

impl PartialEq<SecretOpt> for SecretOpt[src]

impl Debug for SecretOpt[src]

impl Message for SecretOpt[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]