errors

package
v1.0.0-2021-10-21-17-4... Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAssetSecretNotFoundError

func IsAssetSecretNotFoundError(err error) bool

IsAssetSecretNotFoundError returns true if the err is a AssetSecretNotFoundError

func IsNoClusterError

func IsNoClusterError(err error) bool

IsNoClusterError returns true if the err is a NoClusterSpecifiedError

func NewAssetSecretNotFoundError

func NewAssetSecretNotFoundError(name, namespace string) error

NewAssetSecretNotFoundError returns a AssetSecretNotFoundError

func NewNoClusterError

func NewNoClusterError() error

NewNoClusterError returns a NoClusterSpecifiedError

Types

type AssetSecretNotFoundError

type AssetSecretNotFoundError struct {
	Name      string
	Namespace string
}

AssetSecretNotFoundError is an error when the asset's secret can not be found

func (AssetSecretNotFoundError) Error

func (e AssetSecretNotFoundError) Error() string

Error returns a string representation of the AssetSecretNotFoundError

type NoClusterSpecifiedError

type NoClusterSpecifiedError struct {
	Message string
}

NoClusterSpecifiedError is an error when no cluster is specified

func (NoClusterSpecifiedError) Error

func (e NoClusterSpecifiedError) Error() string

Error returns a string representation of the NoClusterSpecifiedError

Jump to

Keyboard shortcuts

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