replacement

package
v0.0.0-...-b8e83fa Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(obj map[string]interface{}) (kio.Filter, error)

New creates new instance of the plugin

Types

type ErrBadConfiguration

type ErrBadConfiguration struct {
	Msg string
}

ErrBadConfiguration returned in case of plugin misconfiguration

func (ErrBadConfiguration) Error

func (e ErrBadConfiguration) Error() string

type ErrBase64Decoding

type ErrBase64Decoding struct {
	Msg string
}

ErrBase64Decoding returned incorrect base64 encoded string received for `kind: Secret`

func (ErrBase64Decoding) Error

func (e ErrBase64Decoding) Error() string

type ErrIndexOutOfBound

type ErrIndexOutOfBound struct {
	Index  int
	Length int
}

ErrIndexOutOfBound returned if JSON path points to a wrong index of a list

func (ErrIndexOutOfBound) Error

func (e ErrIndexOutOfBound) Error() string

type ErrMultipleResources

type ErrMultipleResources struct {
	ObjRef *airshipv1.Target
}

ErrMultipleResources returned if multiple resources were found

func (ErrMultipleResources) Error

func (e ErrMultipleResources) Error() string

type ErrPatternSubstring

type ErrPatternSubstring struct {
	Msg string
}

ErrPatternSubstring returned in case of issues with sub-string pattern substitution

func (ErrPatternSubstring) Error

func (e ErrPatternSubstring) Error() string

type ErrSourceNotFound

type ErrSourceNotFound struct {
	ObjRef *airshipv1.Target
}

ErrSourceNotFound returned if a replacement source resource does not exist in resource map

func (ErrSourceNotFound) Error

func (e ErrSourceNotFound) Error() string

type ErrTargetNotFound

type ErrTargetNotFound struct {
	ObjRef *airshipv1.Selector
}

ErrTargetNotFound returned if a replacement target resource does not exist in the resource map

func (ErrTargetNotFound) Error

func (e ErrTargetNotFound) Error() string

Jump to

Keyboard shortcuts

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