cache

package
v1.66.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAPIError

func IsAPIError(err error) bool

IsAPIError checks if the given error is API related.

func NewAggregator

func NewAggregator(fallbackCache cache.Cache, gvkToCache map[schema.GroupVersionKind]cache.Cache, scheme *runtime.Scheme) cache.Cache

NewAggregator creates a new instance of an aggregated cache.

func NewCacheError

func NewCacheError(err error) error

NewCacheError returns a new instance of `CacheError`.

Types

type CacheError

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

CacheError is an error type indicating that an cache error occurred.

func (*CacheError) Error

func (e *CacheError) Error() string

Error returns the error string with the underlying error.

func (*CacheError) Unwrap

func (e *CacheError) Unwrap() error

Unwrap returns the next error in the error chain.

Jump to

Keyboard shortcuts

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