kusterr

package
v3.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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

func Handler

func Handler(e error, path string) error

Handler handles YamlFormatError

Types

type ConfigmapError

type ConfigmapError struct {
	Path     string
	ErrorMsg string
}

ConfigmapError represents error with a configmap.

func (ConfigmapError) Error

func (e ConfigmapError) Error() string

type PatchError

type PatchError struct {
	KustomizationPath string
	PatchFilepath     string
	ErrorMsg          string
}

PatchError represents error during Patch.

func (PatchError) Error

func (e PatchError) Error() string

type ResourceError

type ResourceError struct {
	KustomizationPath string
	ResourceFilepath  string
	ErrorMsg          string
}

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

type YamlFormatError struct {
	Path     string
	ErrorMsg string
}

YamlFormatError represents error with yaml file name where json/yaml format error happens.

func (YamlFormatError) Error

func (e YamlFormatError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL