Documentation ¶
Index ¶
- func NewCache(scheme *runtime.Scheme, defaultCache cache.Cache, ...) cache.Cache
- func NewCacheNotFoundError(group string) error
- func NewClient(defaultClient kclient.Client, clients map[string]kclient.Client) kclient.Client
- func NewClientNotFoundError(group string) error
- func NewWithWatch(defaultClient kclient.WithWatch, clients map[string]kclient.WithWatch) kclient.WithWatch
- type CacheNotFoundError
- type ClientNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheNotFoundError ¶
func NewClient ¶
NewClient returns a client that will use the client for the API groups it knows about. The default client is used for any unspecified API groups. If a client cannot be found, and a default doesn't exist, then every method will return a ClientNotFound error. Note that defaultClient's scheme should be valid for all clients.
func NewClientNotFoundError ¶
func NewWithWatch ¶
func NewWithWatch(defaultClient kclient.WithWatch, clients map[string]kclient.WithWatch) kclient.WithWatch
NewWithWatch returns a client WithWatch that will use the client for the API groups it knows about. The default client is used for any unspecified API groups. If a client cannot be found, and a default doesn't exist, then every method will return a ClientNotFound error. Note that defaultClient's scheme should be valid for all clients.
Types ¶
type CacheNotFoundError ¶
type CacheNotFoundError struct {
// contains filtered or unexported fields
}
func (*CacheNotFoundError) Error ¶
func (c *CacheNotFoundError) Error() string
type ClientNotFoundError ¶
type ClientNotFoundError struct {
// contains filtered or unexported fields
}
func (*ClientNotFoundError) Error ¶
func (c *ClientNotFoundError) Error() string