connected

package
v0.0.0-...-18192bf Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnauthenticated = errors.New("unauthenticated")
	ErrUnavailable     = errors.New("unavailable")
	ErrLostConnection  = errors.New("lost connection")
)

Functions

func New

func New(
	rc runtimeconfig.RuntimeConfig,
	logger logrus.FieldLogger,
	notifier notify.Notifier,
	deviceHelper pb.DeviceHelperClient,
	statusUpdates chan<- *pb.AgentStatus,
) state.State

Types

type Connected

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

func (*Connected) Enter

func (Connected) Status

func (c Connected) Status() *pb.AgentStatus

func (Connected) String

func (c Connected) String() string

Jump to

Keyboard shortcuts

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