state

package
v0.0.0-...-51e328c Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentMode

type AgentMode struct {
	UUID string // agent UUID
	Name string // agent name
	CWD  string // current working directory of agent
}

type ClientState

type ClientState struct {
	Conf      *config.ClientConfig
	RPCClient rpcpb.HermitRPCClient
	Ctx       context.Context
	Parser    *kong.Kong
	AgentMode AgentMode
	Continue  bool // Is console continue or not
}

func NewClientState

func NewClientState(conf *config.ClientConfig) *ClientState

Jump to

Keyboard shortcuts

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