Documentation ¶
Index ¶
Constants ¶
View Source
const (
KeyNetworkConf = networkv1.GroupName + "/layer3-network"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connectivity ¶
type Connectivity string
const ( Connectable Connectivity = "true" Unconnetable Connectivity = "false" Unknown Connectivity = "unknown" )
type Layer3NetworkConf ¶
type Layer3NetworkConf struct { Mode Mode `json:"mode,omitempty"` CIDR string `json:"cidr,omitempty"` Gateway string `json:"gateway,omitempty"` ServerIPAddr string `json:"serverIPAddr,omitempty"` Connectivity Connectivity `json:"connectivity,omitempty"` }
func NewLayer3NetworkConf ¶
func NewLayer3NetworkConf(conf string) (*Layer3NetworkConf, error)
func (*Layer3NetworkConf) ToString ¶
func (c *Layer3NetworkConf) ToString() (string, error)
type NadSelectedNetworks ¶
type NadSelectedNetworks []nadv1.NetworkSelectionElement
func NewNADSelectedNetworks ¶
func NewNADSelectedNetworks(conf string) (NadSelectedNetworks, error)
func (NadSelectedNetworks) ToString ¶
func (n NadSelectedNetworks) ToString() (string, error)
Click to show internal directories.
Click to hide internal directories.