Documentation ¶
Overview ¶
Package error has contextual error types.
Package error has contextual error types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigmapError ¶
ConfigmapError represents error with a configmap.
func (ConfigmapError) Error ¶
func (e ConfigmapError) Error() string
type KustomizationError ¶
KustomizationError represents an error with a kustomization.
func (KustomizationError) Error ¶
func (ke KustomizationError) Error() string
type KustomizationErrors ¶
type KustomizationErrors struct {
// contains filtered or unexported fields
}
KustomizationErrors collects all errors.
func (*KustomizationErrors) Append ¶
func (ke *KustomizationErrors) Append(e error)
Append adds error to a collection of errors.
func (*KustomizationErrors) BatchAppend ¶
func (ke *KustomizationErrors) BatchAppend(e KustomizationErrors)
BatchAppend adds all errors from another KustomizationErrors
func (*KustomizationErrors) Error ¶
func (ke *KustomizationErrors) Error() string
func (*KustomizationErrors) Get ¶
func (ke *KustomizationErrors) Get() []error
Get returns all collected errors.
type PatchError ¶
PatchError represents error during Patch.
func (PatchError) Error ¶
func (e PatchError) Error() string
type ResourceError ¶
ResourceError represents error in a resource.
func (ResourceError) Error ¶
func (e ResourceError) Error() string
type SecretError ¶
type SecretError struct { KustomizationPath string // ErrorMsg is an error message ErrorMsg string }
SecretError represents error with a secret.
func (SecretError) Error ¶
func (e SecretError) Error() string
type YamlFormatError ¶ added in v1.0.3
YamlFormatError represents error with yaml file name where json/yaml format error happens.
func (YamlFormatError) Error ¶ added in v1.0.3
func (e YamlFormatError) Error() string
Click to show internal directories.
Click to hide internal directories.