Documentation ¶
Index ¶
- Variables
- func BGPPeerSecretReferences(containers []*frrcontainer.FRR) map[string]corev1.Secret
- func ControllerPod(cs clientset.Interface) (*corev1.Pod, error)
- func GetBGPPeerSecretName(asn uint32, port uint16) string
- func PeersForContainers(containers []*frrcontainer.FRR, ipFamily ipfamily.Family, ...) []metallbv1beta2.BGPPeer
- func SpeakerPods(cs clientset.Interface) ([]*corev1.Pod, error)
- func WithBFD(peers []metallbv1beta2.BGPPeer, bfdProfile string) []metallbv1beta2.BGPPeer
- func WithRouterID(peers []metallbv1beta2.BGPPeer, routerID string) []metallbv1beta2.BGPPeer
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ControllerLabelSelector = "component=controller"
)
View Source
var Namespace = defaultNameSpace
Functions ¶
func BGPPeerSecretReferences ¶ added in v0.13.0
func BGPPeerSecretReferences(containers []*frrcontainer.FRR) map[string]corev1.Secret
func ControllerPod ¶
ControllerPod returns the metallb controller pod.
func GetBGPPeerSecretName ¶ added in v0.13.0
func PeersForContainers ¶
func PeersForContainers(containers []*frrcontainer.FRR, ipFamily ipfamily.Family, tweak ...func(p *metallbv1beta2.BGPPeer)) []metallbv1beta2.BGPPeer
PeersForContainers returns the metallb config peers related to the given containers.
func SpeakerPods ¶
SpeakerPods returns the set of pods running the speakers.
func WithBFD ¶
func WithBFD(peers []metallbv1beta2.BGPPeer, bfdProfile string) []metallbv1beta2.BGPPeer
WithBFD sets the given bfd profile to the peers.
func WithRouterID ¶
func WithRouterID(peers []metallbv1beta2.BGPPeer, routerID string) []metallbv1beta2.BGPPeer
WithRouterID sets the given routerID to the peers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.