links

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: 4 Imported by: 0

Documentation

Overview

links is a package for managing netlink links

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceController

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

DeviceController defines the controller.

func NewDeviceController

func NewDeviceController(deviceName string,
	data *datastore.Data, create bool, log *zap.SugaredLogger,
) DeviceController

NewDeviceController creates an instantiated controller.

func (DeviceController) Reconcile

func (d DeviceController) Reconcile() error

Reconcile defines the reconciliation loop.

func (DeviceController) ReconcileDelete

func (d DeviceController) 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