Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
Lock() error
Unlock() error
Close() error
Reserve(id string, ip net.IP, podName string, podNamespace string, controller string) (bool, error)
Release(id string) error
RetrieveGateway(subnet *net.IPNet) net.IP // return nil if error
RetrieveAllocated(namespace string, subnet *net.IPNet) (*utils.RangeSet, error)
RetrieveUsed(namespace string, subnet *net.IPNet) (*utils.RangeSet, error)
}
Store is the store interface for anchor
Click to show internal directories.
Click to hide internal directories.