daemon

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MachineToken

func MachineToken(dataDir string) (machine.Token, error)

MachineToken returns the local machine's token that can be used for adding the machine to a cluster. TODO: ideally, this should be an RPC call to the daemon API to ensure the config is created and up-to-date.

Types

type Daemon

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

func New

func New(dataDir string) (*Daemon, error)

func (*Daemon) Run

func (d *Daemon) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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