hostagent

package
v1.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const CacheSize = 10000

Variables

View Source
var IPv4loopback1 = limayaml.IPv4loopback1

Functions

func GetNotifyEvent added in v0.21.0

func GetNotifyEvent() notify.Event

Types

type HostAgent

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

func New

func New(instName string, stdout io.Writer, signalCh chan os.Signal, opts ...Opt) (*HostAgent, error)

New creates the HostAgent.

stdout is for emitting JSON lines of Events.

func (*HostAgent) Info added in v0.7.0

func (*HostAgent) Run

func (a *HostAgent) Run(ctx context.Context) error

type Opt added in v0.7.2

type Opt func(*options) error

func WithNerdctlArchive added in v0.7.2

func WithNerdctlArchive(s string) Opt

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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