Documentation ¶
Index ¶
- func InitClaimContext(ctx context.Context, op string, claim backend.ClaimObject) context.Context
- func InitIndexContext(ctx context.Context, op string, idx backend.IndexObject) context.Context
- func NewClaimPreparator(be Backend) registry.APIPrepator
- func NewIndexPreparator(be Backend) registry.APIPrepator
- type Backend
- type Cache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitClaimContext ¶
func InitIndexContext ¶
func NewClaimPreparator ¶
func NewClaimPreparator(be Backend) registry.APIPrepator
func NewIndexPreparator ¶
func NewIndexPreparator(be Backend) registry.APIPrepator
Types ¶
type Backend ¶
type Backend interface { AddStorage(entryStorage, claimStorage rest.Storage) // CreateIndex creates a backend index CreateIndex(ctx context.Context, obj runtime.Unstructured) error // DeleteIndex deletes a backend index DeleteIndex(ctx context.Context, obj runtime.Unstructured) error // Claim claims an entry in the backend index Claim(ctx context.Context, obj runtime.Unstructured) error // Release a claim in the backend Release(ctx context.Context, obj runtime.Unstructured) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.