provider

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNetworkID

func GetNetworkID(namespace, name, id string, uid types.UID) string

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

func GetNetworkInterfaceID(namespace, name, node string, uid types.UID) string

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

func ParseNetworkID(s string) (namespace, name, id string, uid types.UID, err error)

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>

func ParseNetworkInterfaceID

func ParseNetworkInterfaceID(id string) (namespace, name, node string, uid types.UID, err error)

ParseNetworkInterfaceID parses network interface provider IDs. The format of a network interface provider id is as follows: ironcore-net://<namespace>/<name>/<node>/<uid>

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL