network

package
v0.7.25 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(leadership leadershipstore.Store, deviceCache cache.Cache, devices devicestore.Store, networkChanges networkchangestore.Store, deviceChanges devicechangestore.Store) *controller.Controller

NewController returns a new config controller

Types

type DeviceWatcher

type DeviceWatcher struct {
	DeviceCache cache.Cache
	DeviceStore devicestore.Store
	ChangeStore devicechangestore.Store
	// contains filtered or unexported fields
}

DeviceWatcher is a device change watcher

func (*DeviceWatcher) Start

func (w *DeviceWatcher) Start(ch chan<- controller.ID) error

Start starts the device change watcher

func (*DeviceWatcher) Stop

func (w *DeviceWatcher) Stop()

Stop stops the device change watcher

type Reconciler

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

Reconciler is a config reconciler

func (*Reconciler) Reconcile

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

Reconcile reconciles the state of a network configuration

type Watcher

type Watcher struct {
	Store networkchangestore.Store
	// contains filtered or unexported fields
}

Watcher is a network change watcher

func (*Watcher) Start

func (w *Watcher) Start(ch chan<- controller.ID) error

Start starts the network change watcher

func (*Watcher) Stop

func (w *Watcher) Stop()

Stop stops the network change watcher

Jump to

Keyboard shortcuts

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