networkannotation

package
v0.0.0-...-eb20332 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const NetworkAnnotationKey = "meridio-experiment/network-configuration"

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkConfiguration

type NetworkConfiguration map[string]*NetworkRoute

key is the gateway name

func GetNetworkConfiguration

func GetNetworkConfiguration(
	pod *v1.Pod,
) (NetworkConfiguration, error)

GetNetworkConfiguration ...

type NetworkRoute

type NetworkRoute struct {
	VIPsV4     []string `json:"vipsV4"`
	VIPsV6     []string `json:"vipsV6"`
	GatewaysV4 []string `json:"gatewaysV4"`
	GatewaysV6 []string `json:"gatewaysV6"`
	TableID    int      `json:"tableID"`
}

Jump to

Keyboard shortcuts

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