Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CniConfig ¶
type CniConfig struct { VlanIds []uint16 VlanType string PodInterfaceType string CniOpts map[string]interface{} Log logr.Logger }
CniConfig contains data required for cni's
type IpamConfig ¶
type IpamConfig struct { Subnets []*enov1alpha1.Subnet Routes map[string][]*enov1alpha1.Route Log logr.Logger }
IpamConfig contains data required by Ipam cni
func NewIpamConfig ¶
func NewIpamConfig(subnets []*enov1alpha1.Subnet, routes map[string][]*enov1alpha1.Route, logger logr.Logger) *IpamConfig
NewIpamConfig - creates an instance of IpamCniConfig struct
Click to show internal directories.
Click to hide internal directories.