errhandlers

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListError added in v0.35.0

func ListError(err error) error

func ResourceDeleteError added in v0.35.0

func ResourceDeleteError(resource ezkube.Object, err error) error

func ResourceWriteError added in v0.35.0

func ResourceWriteError(resource ezkube.Object, err error) error

Types

type AppendingErrHandler

type AppendingErrHandler struct {
	// contains filtered or unexported fields
}

func (*AppendingErrHandler) Errors

func (a *AppendingErrHandler) Errors() error

Errors returns the errors collected by the handler

func (*AppendingErrHandler) HandleDeleteError

func (a *AppendingErrHandler) HandleDeleteError(resource ezkube.Object, err error)

func (*AppendingErrHandler) HandleListError

func (a *AppendingErrHandler) HandleListError(err error)

func (*AppendingErrHandler) HandleWriteError

func (a *AppendingErrHandler) HandleWriteError(resource ezkube.Object, err error)

Jump to

Keyboard shortcuts

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