pts

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "PTS"
	Style   = "RPC"
	Version = "2015-08-01"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) CreateTransaction

func (api API) CreateTransaction(ScriptId int, TransactionName string, optional openapi.M) (*CreateTransactionResponse, error)

CreateTransaction version 2015-08-01

required parameters:

name: ScriptId, type: int
name: TransactionName, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) GetKeySecret

func (api API) GetKeySecret(optional openapi.M) (*GetKeySecretResponse, error)

GetKeySecret version 2015-08-01

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) GetScript

func (api API) GetScript(optional openapi.M) (*GetScriptResponse, error)

GetScript version 2015-08-01

optional parameters:

name: ScriptId, type: int
name: Tfsname, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) GetTasks

func (api API) GetTasks(optional openapi.M) (*GetTasksResponse, error)

GetTasks version 2015-08-01

optional parameters:

name: Status, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ReportLogSample

func (api API) ReportLogSample(LogSample string, ScenarioId int, Wskey string, optional openapi.M) (*openapi.Response, error)

ReportLogSample version 2015-08-01

required parameters:

name: LogSample, type: string
name: ScenarioId, type: int
name: Wskey, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ReportTestSample

func (api API) ReportTestSample(TestSample string, optional openapi.M) (*openapi.Response, error)

ReportTestSample version 2015-08-01

required parameters:

name: TestSample, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ReportVuser

func (api API) ReportVuser(GmtCreated int64, ScenarioId, Vuser int, Wskey string, optional openapi.M) (*openapi.Response, error)

ReportVuser version 2015-08-01

required parameters:

name: GmtCreated, type: int64
name: ScenarioId, type: int
name: Vuser, type: int
name: Wskey, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) SendWangWang

func (api API) SendWangWang(Msg, Title, To string, optional openapi.M) (*openapi.Response, error)

SendWangWang version 2015-08-01

required parameters:

name: Msg, type: string
name: Title, type: string
name: To, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) SetScenarioStatus

func (api API) SetScenarioStatus(NodeIp string, ScenarioId, Status int, Wskey string, optional openapi.M) (*openapi.Response, error)

SetScenarioStatus version 2015-08-01

required parameters:

name: NodeIp, type: string
name: ScenarioId, type: int
name: Status, type: int
name: Wskey, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) SetTaskStatus

func (api API) SetTaskStatus(Status, Wskey string, optional openapi.M) (*openapi.Response, error)

SetTaskStatus version 2015-08-01

required parameters:

name: Status, type: string
name: Wskey, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) StopTask

func (api API) StopTask(TaskId int, optional openapi.M) (*openapi.Response, error)

StopTask version 2015-08-01

required parameters:

name: TaskId, type: int

optional parameters:

name: Msg, type: string
name: Type, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

type CreateTransactionResponse

type CreateTransactionResponse struct {
	TransactionId int
}

CreateTransactionResponse represents the response of the api CreateTransaction.

type GetKeySecretResponse

type GetKeySecretResponse struct {
	Key    string
	Secret string
}

GetKeySecretResponse represents the response of the api GetKeySecret.

type GetScriptResponse

type GetScriptResponse struct {
	Script string
}

GetScriptResponse represents the response of the api GetScript.

type GetTasksResponse

type GetTasksResponse struct {
	Tasks string
}

GetTasksResponse represents the response of the api GetTasks.

Jump to

Keyboard shortcuts

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