Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(topo topo.Store, conns southbound.ConnManager) *controller.Controller
NewController returns a new p4rt connection controller
Types ¶
type ConnWatcher ¶
type ConnWatcher struct {
// contains filtered or unexported fields
}
ConnWatcher is a p4rt connection watcher
func (*ConnWatcher) Start ¶
func (c *ConnWatcher) Start(ch chan<- controller.ID) error
Start starts the connection watcher
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles gNMI connections
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(id controller.ID) (controller.Result, error)
Reconcile reconciles a connection for a p4rt target
type TopoWatcher ¶
type TopoWatcher struct {
// contains filtered or unexported fields
}
TopoWatcher is a topology watcher
func (*TopoWatcher) Start ¶
func (w *TopoWatcher) Start(ch chan<- controller.ID) error
Start starts the topo store watcher
Click to show internal directories.
Click to hide internal directories.