Documentation ¶
Index ¶
- func GetContainerNetworkConfiguration(multiTenancy bool, address string, podName string, podNamespace string) (*cniTypesCurr.Result, *cns.GetNetworkContainerResponse, net.IPNet, error)
- func GetEndpointID(args *cniSkel.CmdArgs) string
- func NewPlugin(config *common.PluginConfig) (*netPlugin, error)
- func SetupRoutingForMultitenancy(nwCfg *cni.NetworkConfig, cnsNetworkConfig *cns.GetNetworkContainerResponse, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainerNetworkConfiguration ¶ added in v1.0.8
func GetEndpointID ¶
GetEndpointID returns a unique endpoint ID based on the CNI args.
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, epInfo *network.EndpointInfo, result *cniTypesCurr.Result)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.