pub enum BootstrapDisposition {
ProceedLocal,
SkipDevBypass,
AlreadyComplete,
}Expand description
What the boot path should do with auth bootstrap, once the authority seam has authorized it.
Variants§
ProceedLocal
Proceed with ordinary local single-owner bootstrap. The local node is the sole authority for its own auth state (standalone, serverless, or primary-replica).
SkipDevBypass
Skip every auth/bootstrap path. Reached only by an explicit
--no-auth / --dev boot; for a cluster shape this is the
documented development carveout.
AlreadyComplete
First boot already completed: a durable bootstrap completion marker is visible through the authority path. The caller must treat this as idempotent — rehydrate read-only state, but recreate no users, reissue no vault certificate, and reapply no mutable config over operator changes (issue #1230). Restarts and duplicate bootstrap attempts after completion land here, including on a cluster shape.
Trait Implementations§
Source§impl Clone for BootstrapDisposition
impl Clone for BootstrapDisposition
Source§fn clone(&self) -> BootstrapDisposition
fn clone(&self) -> BootstrapDisposition
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for BootstrapDisposition
Source§impl Debug for BootstrapDisposition
impl Debug for BootstrapDisposition
impl Eq for BootstrapDisposition
Source§impl PartialEq for BootstrapDisposition
impl PartialEq for BootstrapDisposition
Source§fn eq(&self, other: &BootstrapDisposition) -> bool
fn eq(&self, other: &BootstrapDisposition) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BootstrapDisposition
Auto Trait Implementations§
impl Freeze for BootstrapDisposition
impl RefUnwindSafe for BootstrapDisposition
impl Send for BootstrapDisposition
impl Sync for BootstrapDisposition
impl Unpin for BootstrapDisposition
impl UnsafeUnpin for BootstrapDisposition
impl UnwindSafe for BootstrapDisposition
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request