Versions in this module Expand all Collapse all v0 v0.7.0 Sep 28, 2019 v0.1.1 Sep 24, 2019 Changes in this version + type AccessError struct + Key AccessKey + func (ae *AccessError) Error() string + type AccessKey struct + Group string + Namespace string + Resource string + Verb string + type DynamicCache struct + func NewDynamicCache(ctx context.Context, client cluster.ClientInterface, ...) (*DynamicCache, error) + func (dc *DynamicCache) Delete(ctx context.Context, key store.Key) error + func (dc *DynamicCache) Get(ctx context.Context, key store.Key) (*unstructured.Unstructured, bool, error) + func (dc *DynamicCache) IsLoading(ctx context.Context, key store.Key) bool + func (dc *DynamicCache) List(ctx context.Context, key store.Key) (*unstructured.UnstructuredList, bool, error) + func (dc *DynamicCache) RegisterOnUpdate(fn store.UpdateFn) + func (dc *DynamicCache) Unwatch(ctx context.Context, groupVersionKinds ...schema.GroupVersionKind) error + func (dc *DynamicCache) Update(ctx context.Context, key store.Key, ...) error + func (dc *DynamicCache) UpdateClusterClient(ctx context.Context, client cluster.ClientInterface) error + func (dc *DynamicCache) Watch(ctx context.Context, key store.Key, handler kcache.ResourceEventHandler) error + type DynamicCacheOpt func(*DynamicCache) + func Access(resourceAccess ResourceAccess) DynamicCacheOpt + type InformerFactory interface + Delete func(gvr schema.GroupVersionResource) + ForResource func(gvr schema.GroupVersionResource) informers.GenericInformer + WaitForCacheSync func(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool + type ResourceAccess interface + Get func(AccessKey) (bool, bool) + HasAccess func(context.Context, store.Key, string) error + Reset func() + Set func(AccessKey, bool) + UpdateClient func(client cluster.ClientInterface) + func NewResourceAccess(client cluster.ClientInterface) ResourceAccess