shaper

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSNMPNotReady = errors.New("SNMP data not ready")

Functions

This section is empty.

Types

type Controller

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

Controller holds all local information.

func NewShaperController

func NewShaperController(ifbDevice bool, data *datastore.Data, log *zap.SugaredLogger) (*Controller, error)

NewShaperController returns an instantiated controller.

func (*Controller) Reconcile

func (c *Controller) Reconcile() error

Reconcile defines the reconciliation loop.

func (*Controller) ReconcileDelete

func (c *Controller) ReconcileDelete()

ReconcileDelete defines what happens on shutdown.

Jump to

Keyboard shortcuts

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