Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeHandler ¶
type ClusterCache ¶
type ClusterCache interface { Get(gvk schema2.GroupVersionKind, namespace, name string) (interface{}, bool, error) List(gvk schema2.GroupVersionKind) []interface{} OnAdd(ctx context.Context, handler Handler) OnRemove(ctx context.Context, handler Handler) OnChange(ctx context.Context, handler ChangeHandler) OnSchemas(schemas *schema.Collection) error }
func NewClusterCache ¶
func NewClusterCache(ctx context.Context, dynamicClient dynamic.Interface) ClusterCache
Click to show internal directories.
Click to hide internal directories.