salt

package
v0.0.0-...-5f26e4f Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdRunController

type CmdRunController struct {
	controllers.BaseController
}

func (*CmdRunController) Get

func (this *CmdRunController) Get()

func (*CmdRunController) Post

func (this *CmdRunController) Post()

type CpGetFileController

type CpGetFileController struct {
	controllers.BaseController
}

func (*CpGetFileController) Get

func (this *CpGetFileController) Get()

* curl -k https://127.0.0.1:8000 -H "Accept: application/x-yaml" -H "X-Auth-Token: 56120d270e90588cbb4d35d1ca0e2d1ed679e650" -d client='local' -d tgt='*' -d fun='cp.get_file' -d arg='salt://hello2' -d arg='/tmp/hello2'

func (*CpGetFileController) Post

func (this *CpGetFileController) Post()

type DeployController

type DeployController struct {
	controllers.BaseController
}

func (*DeployController) Get

func (this *DeployController) Get()

func (*DeployController) Post

func (this *DeployController) Post()

type Json

type Json struct {
	Perms  []string `json:"perms"`
	Start  float64  `json:"start"`
	Token  string   `json:"token"`
	Expire float64  `json:"expire"`
	User   string   `json:"user"`
	Eauth  string   `json:"eauth"`
}

type JsonU

type JsonU struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Eauth    string `json:"eauth"`
}

type Jsonslice

type Jsonslice struct {
	Return []Json `json:"return"`
}

type KeyAcceptController

type KeyAcceptController struct {
	controllers.BaseController
}

func (*KeyAcceptController) Get

func (this *KeyAcceptController) Get()

type KeyDeleteController

type KeyDeleteController struct {
	controllers.BaseController
}

func (*KeyDeleteController) Get

func (this *KeyDeleteController) Get()

type KeyListController

type KeyListController struct {
	controllers.BaseController
}

func (*KeyListController) Get

func (this *KeyListController) Get()

type PingController

type PingController struct {
	controllers.BaseController
}

* test.ping 联机状态检测

func (*PingController) Get

func (this *PingController) Get()

func (*PingController) Post

func (this *PingController) Post()

Jump to

Keyboard shortcuts

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