Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Key ¶
Key is a key for the object store.
func KeyFromObject ¶
KeyFromObject creates a key from a runtime object.
func (Key) GroupVersionKind ¶
func (k Key) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind converts the Key to a GroupVersionKind.
type Store ¶
type Store interface { List(ctx context.Context, key Key) (list *unstructured.UnstructuredList, loading bool, err error) Get(ctx context.Context, key Key) (*unstructured.Unstructured, error) Watch(ctx context.Context, key Key, handler cache.ResourceEventHandler) error HasAccess(context.Context, Key, string) error UpdateClusterClient(ctx context.Context, client cluster.ClientInterface) error RegisterOnUpdate(fn UpdateFn) Update(ctx context.Context, key Key, updater func(*unstructured.Unstructured) error) error IsLoading(ctx context.Context, key Key) bool }
Store stores Kubernetes objects.
Click to show internal directories.
Click to hide internal directories.