agents

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAgentAction

type AddAgentAction actions.Action

func (*AddAgentAction) Run

func (this *AddAgentAction) Run(params struct{})

添加代理

func (*AddAgentAction) RunPost

func (this *AddAgentAction) RunPost(params struct {
	Name                string
	Host                string
	GroupId             string
	AllowAllIP          bool
	IPs                 []string `alias:"ips"`
	On                  bool
	CheckDisconnections bool
	AutoUpdates         bool
	Must                *actions.Must
})

提价保存

type DeleteAction

type DeleteAction actions.Action

func (*DeleteAction) Run

func (this *DeleteAction) Run(params struct {
	AgentId string
})

删除

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	AgentId string
})

提交

type DeleteAgentsAction

type DeleteAgentsAction actions.Action

func (*DeleteAgentsAction) Run

func (this *DeleteAgentsAction) Run(params struct {
	AgentIds []string
})

删除一组Agents

type FormAction

type FormAction actions.Action

func (*FormAction) Run

func (this *FormAction) Run(params struct{})

表单测试

func (*FormAction) RunPost

func (this *FormAction) RunPost(params struct{})

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(action actions.ActionWrapper)

筛选Action调用之前

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

func (this *IndexAction) Run(params struct{})

所有Apps

type MenuAction actions.Action
func (this *MenuAction) Run(params struct{})

菜单

type MoveAction

type MoveAction actions.Action

func (*MoveAction) Run

func (this *MoveAction) Run(params struct {
	FromId string
	ToId   string
})

交换位置

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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