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
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
Click to show internal directories.
Click to hide internal directories.