controlrelation

package
v0.10.13 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(topo topo.Store, conns gnmi.ConnManager) *controller.Controller

NewController returns a new control relation controller

Types

type ConnWatcher

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

ConnWatcher is a gnmi connection watcher

func (*ConnWatcher) Start

func (c *ConnWatcher) Start(ch chan<- controller.ID) error

Start starts the connection watcher

func (*ConnWatcher) Stop

func (c *ConnWatcher) Stop()

Stop stops the connection watcher

type Reconciler

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

Reconciler reconciles control relations

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(id controller.ID) (controller.Result, error)

Reconcile reconciles control relations

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

func (*TopoWatcher) Stop

func (w *TopoWatcher) Stop()

Stop stops the topology watcher

Jump to

Keyboard shortcuts

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