pub enum CockroachDbCmd {
StartSingleNode {
insecure: bool,
},
}cockroach_db only.Expand description
Specifies the command how CockroachDb should be started
Variants§
StartSingleNode
Start a single CockroachDB node
Fields
insecure: boolinsecure being set indicates that the container is intended for non-production
testing only. To run CockroachDB in production, use a secure cluster instead.
Start a node with all security controls disabled. There is no encryption, no authentication and internal security checks are also disabled. This makes any client able to take over the entire cluster. This flag is only intended for non-production testing.
Beware that using this flag on a public network while exposing the port is likely to cause the entire host container to become compromised.
To simply accept non-TLS connections for SQL clients while keeping the cluster secure,
consider using --accept-sql-without-tls instead.
Also see: https://go.crdb.dev/issue-v/53404/v24.2
Trait Implementations§
Source§impl Clone for CockroachDbCmd
impl Clone for CockroachDbCmd
Source§fn clone(&self) -> CockroachDbCmd
fn clone(&self) -> CockroachDbCmd
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CockroachDbCmd
impl Debug for CockroachDbCmd
Source§impl Default for CockroachDbCmd
impl Default for CockroachDbCmd
Source§impl IntoIterator for CockroachDbCmd
impl IntoIterator for CockroachDbCmd
impl Copy for CockroachDbCmd
Auto Trait Implementations§
impl Freeze for CockroachDbCmd
impl RefUnwindSafe for CockroachDbCmd
impl Send for CockroachDbCmd
impl Sync for CockroachDbCmd
impl Unpin for CockroachDbCmd
impl UnwindSafe for CockroachDbCmd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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