Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface {
GetName() string
Print()
Clean() error // clean environment
GetPrivateIP() net.IP
SetPrivateIP(ip net.IP) error
GetPrivateMask() net.IPMask
SetPrivateMask(mask net.IPMask) error
GetPublicIP() net.IP
SetPublicIP(ip net.IP) error
GetDirectRouting() bool
SetDirectRouting(direct bool) error
GetVpcMode() string
SetVpcMode(mode string) error
SetVpc(key string, value string) error
Update(new Node) error
GetPodCIDR() *net.IPNet
GetVPodCIDR() *net.IPNet
GetRouterIP() *net.IPNet // this is vxlan specific, generalize?
}
represents a node in the cluster
Click to show internal directories.
Click to hide internal directories.