k8serror

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package k8serror encapsulates error of k8s object

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotFound indicates "not found" error
	ErrNotFound = errors.New("not found")
	// ErrInvalidParams indicates invalid param(s)
	ErrInvalidParams = errors.New("invalid params")
)

Functions

func NotFound

func NotFound(err error) bool

NotFound return whether it is a "not found" error

Types

This section is empty.

Jump to

Keyboard shortcuts

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