Documentation ¶
Index ¶
- func ClaimTransformer(_ context.Context, newObj runtime.Object, oldObj runtime.Object) (runtime.Object, error)
- func EntryTransformer(_ context.Context, newObj runtime.Object, oldObj runtime.Object) (runtime.Object, error)
- func New() bebackend.Backend
- type Applicator
- type BackendStorage
- type CacheInstanceContext
- type ListOption
- type ListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaimTransformer ¶ added in v0.0.8
func EntryTransformer ¶ added in v0.0.8
Types ¶
type Applicator ¶
type BackendStorage ¶ added in v0.0.8
type BackendStorage interface { ListEntries(ctx context.Context, k store.Key) ([]*ipam.IPEntry, error) CreateEntry(ctx context.Context, obj *ipam.IPEntry) error UpdateEntry(ctx context.Context, obj, old *ipam.IPEntry) error DeleteEntry(ctx context.Context, obj *ipam.IPEntry) error ListClaims(ctx context.Context, k store.Key, opts ...ListOption) (map[string]*ipam.IPClaim, error) CreateClaim(ctx context.Context, obj *ipam.IPClaim) error UpdateClaim(ctx context.Context, obj, old *ipam.IPClaim) error DeleteClaim(ctx context.Context, obj *ipam.IPClaim) error }
func NewKuidBackendstorage ¶ added in v0.0.8
func NewKuidBackendstorage(entryStorage, claimStorage *registry.Store) BackendStorage
type CacheInstanceContext ¶ added in v0.0.8
type CacheInstanceContext struct {
// contains filtered or unexported fields
}
func NewCacheInstanceContext ¶ added in v0.0.8
func NewCacheInstanceContext() *CacheInstanceContext
func (*CacheInstanceContext) Size ¶ added in v0.0.8
func (r *CacheInstanceContext) Size() int
type ListOption ¶ added in v0.0.8
type ListOption interface { // ApplyToGet applies this configuration to the given get options. ApplyToList(*ListOptions) }
type ListOptions ¶ added in v0.0.8
type ListOptions struct {
OwnerKind string
}
func (*ListOptions) ApplyOptions ¶ added in v0.0.8
func (o *ListOptions) ApplyOptions(opts []ListOption) *ListOptions
ApplyOptions applies the given get options on these options, and then returns itself (for convenient chaining).
func (*ListOptions) ApplyToList ¶ added in v0.0.8
func (o *ListOptions) ApplyToList(lo *ListOptions)
Click to show internal directories.
Click to hide internal directories.