network

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotater

type Annotater struct {
	MinTableID int
	MaxTableID int
}

func (*Annotater) SetNetworkAnnotation

func (a *Annotater) SetNetworkAnnotation(
	pod *v1.Pod,
	newNetworkConfiguration networkannotation.NetworkConfiguration,
) (*v1.Pod, error)

SetNetworkAnnotation modifies the network annotation of the pod to correspond to the stateless load balancer requirement (VIP + policy routes) with the parameters (VIPs, Gateways).

Jump to

Keyboard shortcuts

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