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