Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodDaoInterface ¶
type PodDaoInterface interface { Get(podNs, podName string) (*PodForDB, error) Save(podForDB *PodForDB) error Delete(podNs, podName string) error }
func GetPodDao ¶
func GetPodDao() PodDaoInterface
type PortForDB ¶
type PortForDB struct { NetworkName string `json:"network_name"` NetworkPlane string `json:"network_plane"` PortName string `json:"port_name"` VnicType string `json:"vnic_type"` Accelerate string `json:"accelerate"` PodName string `json:"pod_name"` PodNs string `json:"pod_ns"` FixIP string `json:"fix_ip"` IPGroupName string `json:"ip_group_name"` Metadata interface{} `json:"metadata"` Combinable string `json:"combinable"` Roles []string `json:"roles"` ID string `json:"id"` LazyName string `json:"lazy_name"` TenantID string `json:"tenant_id"` MacAddress string `json:"mac_address"` FixedIps []ports.IP `json:"fixed_ips"` GatewayIP string `json:"gateway_ip"` Cidr string `json:"cidr"` }
Click to show internal directories.
Click to hide internal directories.