metallb

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigMapName = defaultConfigMapName
View Source
var Namespace = defaultNameSpace

Functions

func ControllerPod

func ControllerPod(cs clientset.Interface) (*corev1.Pod, error)

ControllerPod returns the metallb controller pod.

func PeersForContainers

func PeersForContainers(containers []*frrcontainer.FRR, ipFamily ipfamily.Family) []config.Peer

PeersForContainers returns the metallb config peers related to the given containers.

func SpeakerPods

func SpeakerPods(cs clientset.Interface) ([]*corev1.Pod, error)

SpeakerPods returns the set of pods running the speakers.

func WithBFD

func WithBFD(peers []config.Peer, bfdProfile string) []config.Peer

WithBFD sets the given bfd profile to the peers.

func WithRouterID

func WithRouterID(peers []config.Peer, routerID string) []config.Peer

WithRouterID sets the given routerID to the peers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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