Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelManaged = "yunion.io/managed" LabelManagedValueAgent = "calico-node-agent" )
View Source
const (
EnvKeyNodeName = "NODENAME"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeConfig ¶
type NodeConfig struct { NodeName string `json:"nodeName"` IPPools NodeIPPools `json:"ipPools"` ProxyARPInterface string `json:"proxyARPInterface"` }
func (NodeConfig) Validate ¶
func (conf NodeConfig) Validate() error
type NodeIPPool ¶
type NodeIPPool struct { // The node ip pool CIDR. CIDR string `json:"cidr"` }
func (NodeIPPool) GetCIDR ¶
func (pool NodeIPPool) GetCIDR() (string, error)
func (NodeIPPool) GetIPAndNet ¶
func (NodeIPPool) Validate ¶
func (pool NodeIPPool) Validate() error
type NodeIPPools ¶
type NodeIPPools []NodeIPPool
Click to show internal directories.
Click to hide internal directories.