pub enum ReceiverCommandCredential {
Token(Option<String>),
HostFiles,
}Expand description
How a Container or Daemon command receiver gets its credential.
Variants§
Token(Option<String>)
A bearer token in ALIEN_COMMANDS_TOKEN. None fails the deploy.
HostFiles
The machine that runs the workload writes a short-lived credential to
HOST_COMMANDS_CAPABILITY_FILE and HOST_COMMANDS_TOKEN_FILE and
refreshes it. No token is put into the workload’s environment.
Trait Implementations§
Source§impl Clone for ReceiverCommandCredential
impl Clone for ReceiverCommandCredential
Source§impl Debug for ReceiverCommandCredential
impl Debug for ReceiverCommandCredential
impl Eq for ReceiverCommandCredential
impl StructuralPartialEq for ReceiverCommandCredential
Auto Trait Implementations§
impl Forget for ReceiverCommandCredential
impl Freeze for ReceiverCommandCredential
impl Move for ReceiverCommandCredential
impl RefUnwindSafe for ReceiverCommandCredential
impl Send for ReceiverCommandCredential
impl Sync for ReceiverCommandCredential
impl Unpin for ReceiverCommandCredential
impl UnsafeUnpin for ReceiverCommandCredential
impl UnwindSafe for ReceiverCommandCredential
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.