k8s

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorClusterAccessNotGranted = errors.New("access to the cluster has not been granted for this flight invocation")

Functions

func IsErrForbidden

func IsErrForbidden(err error) bool

func IsErrNotFound

func IsErrNotFound(err error) bool

func IsErrUnauthenticated

func IsErrUnauthenticated(err error) bool

func Lookup

func Lookup[T any](identifier ResourceIdentifier) (*T, error)

Types

type ErrorForbidden

type ErrorForbidden string

func (ErrorForbidden) Error

func (err ErrorForbidden) Error() string

func (ErrorForbidden) Is

func (ErrorForbidden) Is(target error) bool

type ErrorNotFound

type ErrorNotFound string

func (ErrorNotFound) Error

func (err ErrorNotFound) Error() string

func (ErrorNotFound) Is

func (ErrorNotFound) Is(target error) bool

type ErrorUnauthenticated

type ErrorUnauthenticated string

func (ErrorUnauthenticated) Error

func (err ErrorUnauthenticated) Error() string

func (ErrorUnauthenticated) Is

func (ErrorUnauthenticated) Is(target error) bool

type ResourceIdentifier

type ResourceIdentifier struct {
	Name       string
	Namespace  string
	Kind       string
	ApiVersion string
}

Jump to

Keyboard shortcuts

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