agents

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 20 Imported by: 2

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
	Must       *actions.Must
})

提价保存

type AddProbeAction

type AddProbeAction actions.Action

func (*AddProbeAction) Run

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

添加规则

func (*AddProbeAction) RunPost

func (this *AddProbeAction) RunPost(params struct {
	Name            string
	Developer       string
	Site            string
	DocSite         string
	CommandName     string
	CommandPatterns []string
	CommandVersion  string
	IsTesting       bool

	Must *actions.Must
})

type AllAction

type AllAction actions.Action

func (*AllAction) Run

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

所有App列表

type CopyProbeAction

type CopyProbeAction actions.Action

func (*CopyProbeAction) Run

func (this *CopyProbeAction) Run(params struct {
	ProbeId string
})

拷贝探针到本地

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 DeleteProbeAction

type DeleteProbeAction actions.Action

func (*DeleteProbeAction) Run

func (this *DeleteProbeAction) Run(params struct {
	ProbeId string
})

删除探针

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
})

交换位置

type ProbeScriptAction

type ProbeScriptAction actions.Action

func (*ProbeScriptAction) Run

func (this *ProbeScriptAction) Run(params struct {
	FromList bool
	ProbeId  string
})

探针脚本

func (*ProbeScriptAction) RunPost

func (this *ProbeScriptAction) RunPost(params struct {
	ProbeId   string
	Script    string
	IsTesting bool
})

type ProbesAction

type ProbesAction actions.Action

func (*ProbesAction) Run

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

探针列表

type SquareAction

type SquareAction actions.Action

func (*SquareAction) Run

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

探针广场

type WatchAction

type WatchAction actions.Action

func (*WatchAction) Run

func (this *WatchAction) Run(params struct {
	AppIds []string
})

监控是否变化

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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