Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( indexGVK schema.GroupVersionKind, claimGVK schema.GroupVersionKind, entryGVK schema.GroupVersionKind, indexObjectFn func(runtime.Unstructured) (backend.IndexObject, error), claimObjectFn func(runtime.Unstructured) (backend.ClaimObject, error), entryObjectFn func(runtime.Unstructured) (backend.EntryObject, error), entryFromCacheFn func(k store.Key, vrange, id string, labels map[string]string) backend.EntryObject, ) bebackend.Backend
Types ¶
type Applicator ¶
type Applicator interface { Validate(ctx context.Context, claim backend.ClaimObject) error Apply(ctx context.Context, claim backend.ClaimObject) error Delete(ctx context.Context, claim backend.ClaimObject) error }
type CacheInstanceContext ¶
type CacheInstanceContext struct {
// contains filtered or unexported fields
}
func NewCacheInstanceContext ¶
func NewCacheInstanceContext(tree gtree.GTree, idxType string) *CacheInstanceContext
func (*CacheInstanceContext) Size ¶
func (r *CacheInstanceContext) Size() int
func (*CacheInstanceContext) Type ¶
func (r *CacheInstanceContext) Type() string
Click to show internal directories.
Click to hide internal directories.