Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// CachedGVKs identifies the GVKs of resources to be cached during dispatching
CachedGVKs = ""
)
Functions ¶
func DefaultNewControllerClient ¶
func DefaultNewControllerClient(cache cache.Cache, config *rest.Config, options client.Options, uncachedObjects ...client.Object) (c client.Client, err error)
DefaultNewControllerClient function for creating controller client
Types ¶
type DelegatingHandlerClient ¶ added in v1.3.0
type DelegatingHandlerClient struct {
client.Client
Getter func(ctx context.Context, key client.ObjectKey, obj client.Object) error
Lister func(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
}
DelegatingHandlerClient override the original client's function
Click to show internal directories.
Click to hide internal directories.