network

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

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

NewController returns a new config controller

Types

type DeviceChangeWatcher added in v0.9.4

type DeviceChangeWatcher struct {
	DeviceStore devicestore.Store
	ChangeStore devicechangestore.Store
	// contains filtered or unexported fields
}

DeviceChangeWatcher is a device change watcher

func (*DeviceChangeWatcher) Start added in v0.9.4

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

Start starts the device change watcher

func (*DeviceChangeWatcher) Stop added in v0.9.4

func (w *DeviceChangeWatcher) Stop()

Stop stops the device change watcher

type DeviceWatcher

type DeviceWatcher struct {
	DeviceStore devicestore.Store
	ChangeStore networkchangestore.Store
	// contains filtered or unexported fields
}

DeviceWatcher is a device 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