Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCnis ¶
RegisterCnis - Returns a map with the supported CNI plugins
func RegisterIpams ¶
RegisterIpams - Returns a map with the supported CNI plugins
Types ¶
type Cnier ¶
type Cnier interface {
HandleCni(cniConf *cniconfig.CniConfig, data map[string]interface{}) (string, error)
}
Cnier is an interface for Cnis (e.g. ovs-cni, host-device-cni)
type HostDevCni ¶
type HostDevCni struct{}
HostDevCni instance
func NewHostDevCni ¶
func NewHostDevCni() *HostDevCni
NewHostDevCni - creates an instance of HostDevCni struct
type Ipam ¶
type Ipam interface {
HandleIpam(ipamConf *cniconfig.IpamConfig, data map[string]interface{}) (string, error)
}
Ipam is an interface for IPAM Cnis
type WhereAboutsIpam ¶
type WhereAboutsIpam struct{}
WhereAboutsIpam instance
func NewWhereAboutsIpam ¶
func NewWhereAboutsIpam() *WhereAboutsIpam
NewWhereAboutsIpam creates instance of WhereAbouts cni
func (*WhereAboutsIpam) HandleIpam ¶
func (ipam *WhereAboutsIpam) HandleIpam(ipamConf *cniconfig.IpamConfig, data map[string]interface{}) (string, error)
HandleIpam - Handles the whereabouts ipam cni case
Click to show internal directories.
Click to hide internal directories.