pub enum KustomizeError {
NotKustomizeDeployer,
MissingPath,
PathNotFound(String),
UnsupportedScheme(String, String),
Builtin(BuiltinError),
Files(FilesError),
Hostname(HostnameError),
CaMaterial(CaMaterialError),
Stat(String, Error),
Build(String, KustomizeError),
Apply(String, KubectlError),
Delete(String, KubectlError),
}Expand description
Errors from the kustomize deployer manager.
Variants§
NotKustomizeDeployer
A manager method received a deployer config whose type is not
"kustomize".
MissingPath
A kustomize deployer has no path set.
PathNotFound(String)
The configured kustomization path does not exist on disk.
UnsupportedScheme(String, String)
A kustomize path carries a URL scheme that kustomize cannot resolve as a remote target.
Builtin(BuiltinError)
A builtin overlay path error.
Files(FilesError)
A files: validation or materialization error.
Hostname(HostnameError)
A hostname-injection error.
CaMaterial(CaMaterialError)
Loading the runtime CA material failed.
Stat(String, Error)
Checking the kustomization path failed for a reason other than non-existence.
Build(String, KustomizeError)
The kustomize backend failed to build the kustomization.
Apply(String, KubectlError)
The kubectl backend failed to apply the rendered manifests.
Delete(String, KubectlError)
The kubectl backend failed to delete the rendered manifests.
Trait Implementations§
Source§impl Debug for KustomizeError
impl Debug for KustomizeError
Source§impl Display for KustomizeError
impl Display for KustomizeError
Source§impl Error for KustomizeError
impl Error for KustomizeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<BuiltinError> for KustomizeError
impl From<BuiltinError> for KustomizeError
Source§fn from(source: BuiltinError) -> Self
fn from(source: BuiltinError) -> Self
Converts to this type from the input type.
Source§impl From<FilesError> for KustomizeError
impl From<FilesError> for KustomizeError
Source§fn from(source: FilesError) -> Self
fn from(source: FilesError) -> Self
Converts to this type from the input type.
Source§impl From<HostnameError> for KustomizeError
impl From<HostnameError> for KustomizeError
Source§fn from(source: HostnameError) -> Self
fn from(source: HostnameError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KustomizeError
impl !UnwindSafe for KustomizeError
impl Freeze for KustomizeError
impl Send for KustomizeError
impl Sync for KustomizeError
impl Unpin for KustomizeError
impl UnsafeUnpin for KustomizeError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Mutably borrows from an owned value. Read more
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more