Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocatorProvider ¶
type AllocatorProvider interface {
Init(ctx context.Context, logger *slog.Logger) error
Start(ctx context.Context, getterUpdater ipam.CiliumNodeGetterUpdater) (NodeEventHandler, error)
}
AllocatorProvider defines the functions of IPAM provider front-end these are implemented by e.g. pkg/ipam/allocator/{aws,azure}.
type NodeEventHandler ¶
type NodeEventHandler interface {
Upsert(resource *v2.CiliumNode)
Delete(resource *v2.CiliumNode)
Resync(context.Context, time.Time)
}
NodeEventHandler should implement the behavior to handle CiliumNode
Click to show internal directories.
Click to hide internal directories.