agent

package
v2.0.0-...-ee63433 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentsClient

func NewAgentsClient(c *resty.Client) *agentsClient

Types

type Agent

type Agent struct {
	Id       string `json:"id"`
	RemoteIP string `json:"rpc_remoteip"`
	Hostname string `json:"hostname"`
	CmdLine  string `json:"cmdline"`
	Pid      string `json:"pid"`
	Status   int    `json:"status"`
	Extra    string `json:"extra"`
}

type AgentInterface

type AgentInterface interface {
	Get(ids []string) ([]Agent, error)
	Delete(ids []string) error
}

Jump to

Keyboard shortcuts

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