Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// CachedGVKs identifies the GVKs of resources to be cached during dispatching
CachedGVKs = ""
)
Functions ¶
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
func (DelegatingHandlerClient) Get ¶ added in v1.3.0
func (c DelegatingHandlerClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object) error
Get resource by overridden getter
func (DelegatingHandlerClient) List ¶ added in v1.3.0
func (c DelegatingHandlerClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
List resource by overridden lister
Click to show internal directories.
Click to hide internal directories.