flannel

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EtcdSubnetsPath string = "/coreos.com/network/subnets"
)

Variables

View Source
var (
	_, FlannelNetwork, _ = net.ParseCIDR("10.1.0.0/16")
)

Functions

func ConfigureSubnet added in v0.5.0

func ConfigureSubnet(s Subnet, publicIP net.IP) error

Types

type Subnet

type Subnet struct {
	// contains filtered or unexported fields
}

func GetSubnetByIndex added in v0.5.0

func GetSubnetByIndex(i uint16) (Subnet, error)

func (Subnet) Host added in v0.5.0

func (s Subnet) Host(num int) (net.IP, error)

func (Subnet) MarshalJSON

func (s Subnet) MarshalJSON() ([]byte, error)

func (Subnet) String added in v0.5.0

func (s Subnet) String() string

func (*Subnet) UnmarshalJSON

func (s *Subnet) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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