networkattachment

package
v0.0.0-...-e314241 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIPs

func GetIPs(pod v1.Pod, networks []*v1alpha1.Network) ([]string, error)

GetIPs returns the IPs of a pod from a list of networks.

func GetIPsFromNetworkAttachmentAnnotation

func GetIPsFromNetworkAttachmentAnnotation(namespace string, networks string, status string) ([]string, error)

GetIPsFromNetworkAttachmentAnnotation returns the IPs of a specifc network represented in the pod network attachment annotation.

func GetNetworksFromGateway

func GetNetworksFromGateway(gateway *gatewayapiv1.Gateway) []*v1alpha1.Network

Types

This section is empty.

Jump to

Keyboard shortcuts

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