Documentation ¶
Index ¶
- Constants
- func ClaimNetworkInterfaceNAT(ctx context.Context, c client.Client, nic *v1alpha1.NetworkInterface, ...) error
- func ReleaseNetworkInterfaceNAT(ctx context.Context, c client.Client, nic *v1alpha1.NetworkInterface, ...) error
- func SetupNetworkInterfaceNetworkNameFieldIndexer(ctx context.Context, indexer client.FieldIndexer) error
Constants ¶
View Source
const NetworkInterfaceSpecNetworkRefNameField = "spec.networkRef.name"
Variables ¶
This section is empty.
Functions ¶
func ReleaseNetworkInterfaceNAT ¶
func ReleaseNetworkInterfaceNAT(ctx context.Context, c client.Client, nic *v1alpha1.NetworkInterface, ipFamily corev1.IPFamily) error
ReleaseNetworkInterfaceNAT releases an IP address NAT. Since we use CRDs, we unfortunately cannot implement a custom 'release-Verb' that would handle the correct release procedure in the API server. To work around this, this method acts on the conflict that might arise when deleting / patching the network interface.
func SetupNetworkInterfaceNetworkNameFieldIndexer ¶
func SetupNetworkInterfaceNetworkNameFieldIndexer(ctx context.Context, indexer client.FieldIndexer) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.