pub enum DiagnosticKey {
MissingSchema {
kind: String,
api_version: String,
},
ResolvedFromFallbackVersion {
kind: String,
api_version: String,
resolved_version: String,
},
InferredApiVersion {
kind: String,
inferred_api_version: String,
source: InferenceSource,
},
AmbiguousApiVersion {
kind: String,
},
CrdVersionNotFound {
group: String,
kind: String,
requested_version: String,
},
CrdVersionAvailableAtOtherVersions {
group: String,
kind: String,
requested_version: String,
},
LocalOverrideUnreadable {
kind: String,
api_version: String,
override_path: String,
},
CacheLayoutInvalidated {
cache_root: String,
previous_marker: Option<u32>,
},
CacheLayoutForwardIncompatible {
cache_root: String,
on_disk_marker: u32,
},
InputChannelNumericRangeAmbiguity {
value_path: String,
},
}Expand description
Identity key used to dedupe diagnostics. Diagnostics with the same
key are considered “the same logical event”; only the first one
inserted into a crate::diagnostic::DiagnosticSink is kept.
Variants§
MissingSchema
No provider could supply the requested resource schema.
Fields
ResolvedFromFallbackVersion
A compatible Kubernetes release supplied the resource schema.
Fields
InferredApiVersion
Static or bounded fallback analysis inferred a missing API version.
Fields
source: InferenceSourceEvidence tier that produced the candidate.
AmbiguousApiVersion
More than one API version remains viable for a resource kind.
CrdVersionNotFound
A CRD catalog owns the group and kind but lacks the requested version.
Fields
CrdVersionAvailableAtOtherVersions
A CRD exists at versions other than the one requested.
Fields
LocalOverrideUnreadable
A configured local override exists but cannot be read.
Fields
CacheLayoutInvalidated
An older cache layout was invalidated before use.
Fields
CacheLayoutForwardIncompatible
The on-disk cache was written by a newer incompatible binary.
Fields
InputChannelNumericRangeAmbiguity
Input channels give the same JSON number different Helm range semantics.
Trait Implementations§
Source§impl Clone for DiagnosticKey
impl Clone for DiagnosticKey
Source§fn clone(&self) -> DiagnosticKey
fn clone(&self) -> DiagnosticKey
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DiagnosticKey
impl Debug for DiagnosticKey
impl Eq for DiagnosticKey
Source§impl Hash for DiagnosticKey
impl Hash for DiagnosticKey
Source§impl Ord for DiagnosticKey
impl Ord for DiagnosticKey
Source§fn cmp(&self, other: &DiagnosticKey) -> Ordering
fn cmp(&self, other: &DiagnosticKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for DiagnosticKey
impl PartialEq for DiagnosticKey
Source§impl PartialOrd for DiagnosticKey
impl PartialOrd for DiagnosticKey
impl StructuralPartialEq for DiagnosticKey
Auto Trait Implementations§
impl Freeze for DiagnosticKey
impl RefUnwindSafe for DiagnosticKey
impl Send for DiagnosticKey
impl Sync for DiagnosticKey
impl Unpin for DiagnosticKey
impl UnsafeUnpin for DiagnosticKey
impl UnwindSafe for DiagnosticKey
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
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> Comparable<K> for Q
impl<Q, K> Comparable<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
key and return true if they are equal.