daemon

package
v0.0.0-...-2af415a Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Token string

Functions

func Run

func Run() error

Run runs the daemon on the node establishing a reverse connection and starting all the controllers.

Types

type Controller

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

Daemon controller

func NewController

func NewController(d direct.DaemonDirector) *Controller

NewController returns a new instance of the daemon controller.

func (*Controller) Start

func (c *Controller) Start(ctx context.Context) error

Start starts watching for the daemon resource and pings the apisrv every x seconds.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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