client

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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