Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCacheNotFoundErr ¶
IsCacheNotFoundErr checks whether or not the provided error is of type CacheNotFoundErr
func IsInformerNotFoundErr ¶
IsInformerNotFoundErr checks whether or not the provided error is of type InformerNotFoundError
Types ¶
type CacheNotFoundErr ¶
type CacheNotFoundErr struct {
Err error
}
CacheNotFoundErr is an error to represent that an object was not found by the cache. This could mean that an informer has not been created that would find the requested resource
func NewCacheNotFoundErr ¶
func NewCacheNotFoundErr(err error) *CacheNotFoundErr
NewCacheNotFoundErr creates a new CacheNotFoundErr for the provided error
func (*CacheNotFoundErr) Error ¶
func (cnfe *CacheNotFoundErr) Error() string
Error returns the string representation of the error
type InformerNotFoundErr ¶
type InformerNotFoundErr struct {
Err error
}
InformerNotFoundErr is an error to represent that an informer was not found for the given request
func NewInformerNotFoundErr ¶
func NewInformerNotFoundErr(err error) *InformerNotFoundErr
NewInformerNotFoundErr creates a new InformerNotFoundErr for the provided error
func (*InformerNotFoundErr) Error ¶
func (infe *InformerNotFoundErr) Error() string
Error returns the string representation of the error