Documentation ¶
Index ¶
- Constants
- func CleanupMultitenancyResources(enableInfraVnet bool, nwCfg *cni.NetworkConfig, ...)
- func GetEndpointID(args *cniSkel.CmdArgs) string
- func GetMultiTenancyCNIResult(enableInfraVnet bool, nwCfg *cni.NetworkConfig, plugin *netPlugin, ...) (*cniTypesCurr.Result, *cns.GetNetworkContainerResponse, net.IPNet, ...)
- func NewPlugin(config *common.PluginConfig) (*netPlugin, error)
- func SetupRoutingForMultitenancy(nwCfg *cni.NetworkConfig, cnsNetworkConfig *cns.GetNetworkContainerResponse, ...)
Constants ¶
View Source
const ( CNI_ADD = "ADD" CNI_DEL = "DEL" CNI_UPDATE = "UPDATE" )
CNI Operation Types
Variables ¶
This section is empty.
Functions ¶
func CleanupMultitenancyResources ¶ added in v1.0.12
func CleanupMultitenancyResources(enableInfraVnet bool, nwCfg *cni.NetworkConfig, azIpamResult *cniTypesCurr.Result, plugin *netPlugin)
func GetEndpointID ¶
GetEndpointID returns a unique endpoint ID based on the CNI args.
func GetMultiTenancyCNIResult ¶ added in v1.0.12
func GetMultiTenancyCNIResult( enableInfraVnet bool, nwCfg *cni.NetworkConfig, plugin *netPlugin, k8sPodName string, k8sNamespace string, ifName string) (*cniTypesCurr.Result, *cns.GetNetworkContainerResponse, net.IPNet, *cniTypesCurr.Result, error)
GetMultiTenancyCNIResult retrieves network goal state of a container from CNS
func NewPlugin ¶
func NewPlugin(config *common.PluginConfig) (*netPlugin, error)
NewPlugin creates a new netPlugin object.
func SetupRoutingForMultitenancy ¶ added in v1.0.8
func SetupRoutingForMultitenancy( nwCfg *cni.NetworkConfig, cnsNetworkConfig *cns.GetNetworkContainerResponse, azIpamResult *cniTypesCurr.Result, epInfo *network.EndpointInfo, result *cniTypesCurr.Result)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.