Documentation
¶
Index ¶
- func GetNetworkID(namespace, name, id string, uid types.UID) string
- func GetNetworkInterfaceID(namespace, name, node string, uid types.UID) string
- func ParseNetworkID(s string) (namespace, name, id string, uid types.UID, err error)
- func ParseNetworkInterfaceID(id string) (namespace, name, node string, uid types.UID, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNetworkID ¶
GetNetworkID creates a network ID from the given id, name and UID. The format of a network provider ID is as follows: ironcore-net://<namespace>/<name>/<id>/<uid>
func GetNetworkInterfaceID ¶
GetNetworkInterfaceID creates a network interface provider ID. The format of a network interface provider id is as follows: ironcore-net://<namespace>/<name>/<node>/<uid>
func ParseNetworkID ¶
ParseNetworkID parses network provider IDs into the apinet network name. The format of a network provider ID is as follows: ironcore-net://<id>/<name>/<uid>
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.