Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicPortObj ¶
type LogicPortObj struct { ID string `json:"id"` Name string `json:"name"` MacAddress string `json:"mac_address"` IP string `json:"ip"` NetworkID string `json:"network_id"` SubNetID string `json:"sub_net_id"` Cidr string `json:"cidr"` GatewayIP string `json:"gateway_ip"` Accelerate string `json:"accelerate"` NetworkPlane string `json:"network_plane"` NetworkName string `json:"network_name"` PodName string `json:"pod_name"` PodNs string `json:"pod_ns"` TenantID string `json:"tenant_id"` }
func CreateLogicPortsFromTransInfoPortObjs ¶
func CreateLogicPortsFromTransInfoPortObjs(ports []*PortObj) []*LogicPortObj
type NetworkAttrs ¶
type NetworkAttrs struct { Name string `json:"name"` ID string `json:"network_id"` GateWay string `json:"gateway"` Cidr string `json:"cidr"` CreateTime string `json:"create_time"` Status string `json:"state"` Public bool `json:"public"` Owner string `json:"owner"` Description string `json:"description"` SubnetID string `json:"subnet_id"` Provider iaasaccessor.NetworkExtenAttrs `json:"provider"` }
type PfLinkResponse ¶
type PortEagerAttr ¶
type PortLazyAttr ¶
type PortObj ¶
type PortObj struct { BuildPortRole portrole.PortBuilderRole EagerAttr PortEagerAttr LazyAttr PortLazyAttr }
Click to show internal directories.
Click to hide internal directories.