agent

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	controllers.BackEnd
}

func (Agent) Cmd

func (c Agent) Cmd(uuid string, conn *websocket.Conn) revel.Result

WS /agents/:uuid/cmd

func (Agent) Create

func (c Agent) Create() revel.Result

POST /agents

func (Agent) Data

func (c Agent) Data(conn *websocket.Conn) revel.Result

func (Agent) Delete

func (c Agent) Delete(uuid string) revel.Result

DELETE /agents/:uuid

func (Agent) Get

func (c Agent) Get(uuid string) revel.Result

GET /agents/:uuid

func (Agent) GetLog

func (c Agent) GetLog(uuid string) revel.Result

GET /agents/:uuid/logs

func (Agent) List

func (c Agent) List() revel.Result

GET /agents

func (Agent) Log

func (c Agent) Log(conn *websocket.Conn) revel.Result

func (Agent) SendCmd

func (c Agent) SendCmd(uuid string) revel.Result

PUT /agents/:uuid/cmd

func (Agent) Status

func (c Agent) Status(uuid string) revel.Result

GET /agents/:uuid/status

func (Agent) Update

func (c Agent) Update(uuid string) revel.Result

PUT /agents/:uuid

Jump to

Keyboard shortcuts

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