Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { GrpcHost string GrpcPort uint32 ClusterAs uint32 RouterId string NeighborAddress string NeighborAs uint32 AuthPassword string HoldTime float64 BgpServer *gobgp.BgpServer AnnounceClusterIP bool GracefulRestart bool GracefulRestartDeferralTime time.Duration GracefulRestartTime time.Duration PassiveMode bool EbgpMultihopTtl uint8 KubeConfigFile string KubeClient kubernetes.Interface KubeOvnClient clientset.Interface PprofPort uint32 }
func ParseFlags ¶
func ParseFlags() (*Configuration, error)
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(config *Configuration) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.