Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentApi ¶
type AgentApi struct { }
func NewAgentApi ¶
func NewAgentApi() *AgentApi
func (*AgentApi) ApiAgentDetailScript ¶
ApiAgentDetailScript get scirpt info @Summary get scirpt info @Description get scirpt info @Produce json @Tags agent @Success 200 json map[string]interface{} @Router /agent/scripts/:name [get]
func (*AgentApi) ApiAgentRunScript ¶
ApiAgentRunScript run a command post to server @Summary run a command post to server @Description run a command post to server @Produce json @Tags agent @Success 200 json map[string]interface{} @Router /agent/script/run [post]
func (*AgentApi) ApiAgentScripts ¶
ApiAgentScirpts list scripts @Summary list scripts @Description list scripts @Produce json @Tags agent @Success 200 json map[string]interface{} @Router /agent/scripts [get]
Click to show internal directories.
Click to hide internal directories.