node

package
v0.0.0-...-9f13f69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

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

NewController creates a node controller.

Types

type SubnetInfo

type SubnetInfo struct {
	GatewayIP net.IPNet
	NodeIP    net.IPNet
	Subnet    net.IPNet
}

SubnetInfo contains the special IP addresses for the Node.

func GetSubnetInfo

func GetSubnetInfo(podCIDR string) (*SubnetInfo, error)

GetSubnetInfo calculates SubnetInfo from the given podCIDR.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL