ipam

package
v0.0.0-...-aebc2b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ipam

type Ipam interface {
	// Create a virtual ipam instance
	Initialize(cr *ipamv1alpha1.NetworkInstance) error
	Create(string)
	Delete(crName string)
	Get(crName string) (*table.RouteTable, bool)
	AllocateIPPrefix(ctx context.Context, alloc *ipamv1alpha1.IPAllocation) (*string, *string, error)
	DeAllocateIPPrefix(ctx context.Context, alloc *ipamv1alpha1.IPAllocation) error
}

func New

func New(c client.Client, opts ...Option) Ipam

type Option

type Option func(Ipam)

Option can be used to manipulate Options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL