pub enum ReconcileError {
Show 26 variants
Kube(Error),
MissingUid,
Serde(Error),
UnsupportedReplicas(i32),
MalformedSecret(String),
MetricsMutuallyExclusive,
PrometheusOperatorCrdsMissing,
Malformed(String),
Ca(CaError),
CertParse(String),
ByoCaMissing {
which: String,
},
ByoCaMalformed {
which: String,
reason: String,
},
CaSecretMissing {
name: String,
},
MissingOauthTrustSecret(String),
MissingOauthTrustKey {
secret: String,
key: String,
},
EmptyOauthTrustValue {
secret: String,
key: String,
},
InvalidListenerOauthAccessTokenIsJwt(String),
MissingOauthIntrospectionSecret(String),
MissingOauthIntrospectionKey {
secret: String,
key: String,
},
EmptyOauthIntrospectionValue {
secret: String,
key: String,
},
MissingGssapiKeytabSecret(String),
MissingGssapiKeytabKey {
secret: String,
key: String,
},
MissingKrb5ConfSecret(String),
MissingKrb5ConfKey {
secret: String,
key: String,
},
TieredStorageInvalid(String),
TracingInvalid(String),
}Expand description
Reconcile-error surface shared by both reconcilers.
Variants§
Kube(Error)
MissingUid
Serde(Error)
UnsupportedReplicas(i32)
MalformedSecret(String)
MetricsMutuallyExclusive
PrometheusOperatorCrdsMissing
Malformed(String)
Ca(CaError)
CertParse(String)
ByoCaMissing
ByoCaMalformed
CaSecretMissing
MissingOauthTrustSecret(String)
MissingOauthTrustKey
EmptyOauthTrustValue
InvalidListenerOauthAccessTokenIsJwt(String)
An oauth listener’s accessTokenIsJwt setting
disagrees with which mode-specific fields are set (JWT-mode
requires jwksEndpointUri and rejects introspection fields;
introspection-mode requires introspectionEndpointUri + clientId
clientSecretand rejectsjwksEndpointUri).
MissingOauthIntrospectionSecret(String)
An oauth listener’s clientSecret.secretName doesn’t
exist in the cluster’s namespace.
MissingOauthIntrospectionKey
An oauth listener’s clientSecret.secretName exists
but does not contain the named key.
EmptyOauthIntrospectionValue
An oauth listener’s clientSecret Secret + key both
exist but the value is zero bytes.
MissingGssapiKeytabSecret(String)
type: gssapi listener references a keytab Secret that doesn’t exist.
MissingGssapiKeytabKey
keytab Secret exists but lacks the referenced key.
MissingKrb5ConfSecret(String)
spec.krb5ConfSecretRef references a Secret that doesn’t exist.
MissingKrb5ConfKey
spec.krb5ConfSecretRef Secret exists but lacks the referenced key.
TieredStorageInvalid(String)
KIP-405: spec.tieredStorage failed shape
validation. Concrete cases: type = "S3" without spec.tieredStorage.s3,
type = "Local" with spec.tieredStorage.s3 set, or an S3 spec
missing required bucket / region. The reconciler returns this
before rendering any ConfigMap so the broker pod never boots
against malformed [remote_storage] TOML.
TracingInvalid(String)
spec.tracing failed shape validation. Concrete
cases: type = "Otlp" without an otlp block; otlp.endpoint
empty; sampleRatio outside [0.0, 1.0]; timeoutSecs = 0.
The reconciler returns this before rendering any pod template
so the broker pod never boots with broken OTLP env vars.
Trait Implementations§
Source§impl Debug for ReconcileError
impl Debug for ReconcileError
Source§impl Display for ReconcileError
impl Display for ReconcileError
Source§impl Error for ReconcileError
impl Error for ReconcileError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<CaError> for ReconcileError
impl From<CaError> for ReconcileError
Source§impl From<Error> for ReconcileError
impl From<Error> for ReconcileError
Auto Trait Implementations§
impl !Freeze for ReconcileError
impl !RefUnwindSafe for ReconcileError
impl !UnwindSafe for ReconcileError
impl Send for ReconcileError
impl Sync for ReconcileError
impl Unpin for ReconcileError
impl UnsafeUnpin for ReconcileError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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 more