agent

package
v2.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 6 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"`
	StatusStr string `json:"status_str"`
	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