daemon

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ErrUnknown = iota // Default value
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

type Daemon interface {
	// Execute Daemon loop, returns when os.Interrupt signal is received
	Run()
}

func NewDaemon

func NewDaemon() (Daemon, error)

NewDaemon initializes the need components including k8s client, subnet manager client plugins, and guid pool. It returns error in case of failure.

Jump to

Keyboard shortcuts

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