errors

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 6 Imported by: 142

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, args ...interface{}) error

func Errors

func Errors(msgs []string) error

func IsExist

func IsExist(err error) bool

func IsNotExist

func IsNotExist(err error) bool

func IsResourceVersion

func IsResourceVersion(err error) bool

func NewExistErr

func NewExistErr(meta *core.Metadata) *existErr

func NewNotExistErr

func NewNotExistErr(namespace, name string, err ...error) *notExistErr

func NewResourceVersionErr

func NewResourceVersionErr(namespace, name, given, expected string) *resourceVersionErr

func RetryOnConflict added in v0.11.18

func RetryOnConflict(backoff wait.Backoff, fn func() error) error

RetryOnConflict executes the function function repeatedly, retrying if the server returns a conflicting

func Wrapf

func Wrapf(err error, format string, args ...interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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