Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMode ¶
func NewConfigMode ¶
func NewConfigMode() *ConfigMode
func (*ConfigMode) Get ¶
func (m *ConfigMode) Get() Mode
func (*ConfigMode) Set ¶
func (m *ConfigMode) Set(mode Mode)
type Mode ¶
type Mode int
Mode defines the modes in which BGP agent can be configured.
const ( // Disabled mode, BGP control plane is not enabled Disabled Mode = iota // BGPv1 mode is enabled, BGP configuration of the agent will rely on matching CiliumBGPPeeringPolicy for the node. BGPv1 // BGPv2 mode is enabled, BGP configuration of the agent will rely on CiliumBGPNodeConfig, CiliumBGPAdvertisement and CiliumBGPPeerConfig. BGPv2 )
Click to show internal directories.
Click to hide internal directories.