populator

package
v1.11.0-cni-plu...-8f3027a Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0, Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BirdBGPPeers

type BirdBGPPeers struct {
	// contains filtered or unexported fields
}

BirdBGPPeers implement populator interface.

func NewBirdBGPPeers

func NewBirdBGPPeers(ipv IPFamily) BirdBGPPeers

func (BirdBGPPeers) Populate

func (b BirdBGPPeers) Populate(status *apiv3.CalicoNodeStatus) error

func (BirdBGPPeers) Show

func (b BirdBGPPeers) Show()

Show displays bgp peers.

type BirdInfo

type BirdInfo struct {
	// contains filtered or unexported fields
}

BirdInfo implement populator interface.

func NewBirdInfo

func NewBirdInfo(ipv IPFamily) BirdInfo

func (BirdInfo) Populate

func (b BirdInfo) Populate(status *apiv3.CalicoNodeStatus) error

func (BirdInfo) Show

func (b BirdInfo) Show()

type BirdRoutes

type BirdRoutes struct {
	// contains filtered or unexported fields
}

BirdRoutes implement populator interface.

func NewBirdRoutes

func NewBirdRoutes(ipv IPFamily) BirdRoutes

func (BirdRoutes) Populate

func (b BirdRoutes) Populate(status *apiv3.CalicoNodeStatus) error

func (BirdRoutes) Show

func (b BirdRoutes) Show()

Show displays routes read from birdcl.

type ErrorSocketConnection

type ErrorSocketConnection struct {
	Err error
	// contains filtered or unexported fields
}

Error indicating connection to bird socket failed.

func (ErrorSocketConnection) Error

func (e ErrorSocketConnection) Error() string

type IPFamily

type IPFamily string
const (
	IPFamilyV4 IPFamily = "4"
	IPFamilyV6 IPFamily = "6"
)

func (IPFamily) BirdSuffix

func (c IPFamily) BirdSuffix() string

func (IPFamily) Separator

func (c IPFamily) Separator() string

func (IPFamily) String

func (c IPFamily) String() string

type Interface

type Interface interface {
	Populate(status *apiv3.CalicoNodeStatus) error
	Show()
}

Interface for a component to populate its status to node status resource.

Jump to

Keyboard shortcuts

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