network

package
v0.10.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(leadership leadershipstore.Store, networkChanges networkchangestore.Store,
	networkSnapshots networksnapstore.Store, deviceSnapshots devicesnapstore.Store,
	deviceChanges devicechangestore.Store) *controller.Controller

NewController returns a new network snapshot controller

Types

type DeviceWatcher

type DeviceWatcher struct {
	Store devicesnapstore.Store
	// contains filtered or unexported fields
}

DeviceWatcher is a device snapshot watcher

func (*DeviceWatcher) Start

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

Start starts the device snapshot watcher

func (*DeviceWatcher) Stop

func (w *DeviceWatcher) Stop()

Stop stops the device snapshot watcher

type Reconciler

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

Reconciler is a network snapshot 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 networksnapstore.Store
	// contains filtered or unexported fields
}

Watcher is a network snapshot watcher

func (*Watcher) Start

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

Start starts the network snapshot watcher

func (*Watcher) Stop

func (w *Watcher) Stop()

Stop stops the network snapshot watcher

Jump to

Keyboard shortcuts

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