Documentation
¶
Overview ¶
Code generated by ./hack/generate-agent-binaries.py DO NOT EDIT
Index ¶
- Variables
- func AddLogger(agent *Agent) *slog.Logger
- func Call[I any, O any](agent *Agent, call rpc.RPCCall[I]) (rpc.RPCResult[O], error)
- func Connect(agent *Agent) error
- func Disconnect(agent *Agent) error
- func GetAgentBinary(goos string, goarch string) ([]byte, error)
- func InstallAgent(agent *Agent) error
- func RunRemoteCommand(agent *Agent, cmd string) ([]byte, error)
- type Agent
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRunningRemoteCommand = errors.New("error running remote command") ErrInstallingAgent = errors.New("error installing agent") ErrConnectingToAgent = errors.New("error connecting to agent") ErrAgentShutDown = errors.New("agent shut down") ErrDisconnectingFromAgent = errors.New("error disconnecting from agent") ErrCallingRPCSystem = errors.New("error calling RPC system") )
View Source
var AgentBinary_linux_amd64_ []byte
View Source
var AgentBinary_linux_arm64_ []byte
Functions ¶
func Disconnect ¶
func InstallAgent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.