Documentation ¶
Index ¶
- Constants
- func NewTestIPAMServer() *http.Server
- type IPAM
- func (i *IPAM) AcquireIP(parent context.Context, namespace uuid.UUID, ipamPrefix string, ...) error
- func (i *IPAM) AssignCIDR(parent context.Context, namespace uuid.UUID, cidr string) error
- func (i *IPAM) AssignFromPool(parent context.Context, namespace uuid.UUID, ipamPrefix string) (string, error)
- func (i *IPAM) AssignSpecificTunnelIP(parent context.Context, namespace uuid.UUID, ipamPrefix string, ...) (string, error)
- func (i *IPAM) CreateNamespace(parent context.Context, namespace uuid.UUID) error
- func (i *IPAM) DeleteNamespace(parent context.Context, namespace uuid.UUID) error
- func (i *IPAM) ReleaseCIDR(ctx context.Context, namespace uuid.UUID, cidr string) error
- func (i *IPAM) ReleaseToPool(ctx context.Context, namespace uuid.UUID, address, cidr string) error
Constants ¶
View Source
const (
TestIPAMClientAddr = "http://localhost:9091"
)
Variables ¶
This section is empty.
Functions ¶
func NewTestIPAMServer ¶
Types ¶
type IPAM ¶
type IPAM struct {
// contains filtered or unexported fields
}
func (*IPAM) AssignCIDR ¶
func (*IPAM) AssignFromPool ¶
func (*IPAM) AssignSpecificTunnelIP ¶
func (*IPAM) CreateNamespace ¶
func (*IPAM) DeleteNamespace ¶
func (*IPAM) ReleaseCIDR ¶
ReleaseCIDR release the ipam address back to the specified prefix
Click to show internal directories.
Click to hide internal directories.