pub enum ServerAuthMode {
Password {
username: String,
},
None,
}Expand description
UI authentication mode for kopia server start. Controller-agnostic mirror of
the api crate’s ServerAuth (this crate has no kube dependency).
Variants§
Password
Require a UI login. username goes on argv; the password is supplied
separately to KopiaClient::server_start (it is never baked into the pure
arg builder, nor into a ConfigMap).
None
No UI authentication (--without-password). kopia requires --insecure
alongside it, which [server_start_args] always emits.
Implementations§
Trait Implementations§
Source§impl Clone for ServerAuthMode
impl Clone for ServerAuthMode
Source§fn clone(&self) -> ServerAuthMode
fn clone(&self) -> ServerAuthMode
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 ServerAuthMode
impl Debug for ServerAuthMode
Source§impl PartialEq for ServerAuthMode
impl PartialEq for ServerAuthMode
Source§fn eq(&self, other: &ServerAuthMode) -> bool
fn eq(&self, other: &ServerAuthMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ServerAuthMode
impl StructuralPartialEq for ServerAuthMode
Auto Trait Implementations§
impl Freeze for ServerAuthMode
impl RefUnwindSafe for ServerAuthMode
impl Send for ServerAuthMode
impl Sync for ServerAuthMode
impl Unpin for ServerAuthMode
impl UnsafeUnpin for ServerAuthMode
impl UnwindSafe for ServerAuthMode
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