Versions in this module Expand all Collapse all v0 v0.1.0 Jul 12, 2018 Changes in this version + const CNIPluginName + const DefaultBinDir + const DefaultConfDir + const DefaultInterfaceName + type CNIPlugin interface + GetPodNetworkStatus func(network PodNetwork) ([]types.Result, error) + Name func() string + SetUpPod func(network PodNetwork) ([]types.Result, error) + Shutdown func() error + Status func() error + TearDownPod func(network PodNetwork) error + func InitCNI(defaultNetName string, confDir string, binDirs ...string) (CNIPlugin, error) + type PodNetwork struct + ID string + Name string + Namespace string + NetNS string + Networks []string + PortMappings []PortMapping + type PortMapping struct + ContainerPort int32 + HostIP string + HostPort int32 + Protocol string