Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IFName ¶
func IFName() string
IFName returns the name of the interface used to connect this Node to the pod network.
func NewController ¶
func NewController(si informers.SharedInformerFactory, msi mninformers.SharedInformerFactory, kc *kubernetes.Clientset, mc *mncli.Clientset, recorder record.EventRecorder, config *converter.Config, _ *midonet.Config) *controller.Controller
NewController creates a node controller.
Types ¶
type SubnetInfo ¶
SubnetInfo contains the special IP addresses for the Node.
func GetSubnetInfo ¶
func GetSubnetInfo(podCIDR string) (*SubnetInfo, error)
GetSubnetInfo calculates SubnetInfo from the given podCIDR.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.