otsshihua

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 = "OtsShihua"
	Style   = "RPC"
	Version = "2015-10-26"
)

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

func (api API) DeleteInstance(InstanceName string, optional openapi.M) (*openapi.Response, error)

DeleteInstance version 2015-10-26

required parameters:

name: InstanceName, type: string

optional parameters:

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

func (API) GetInstance

func (api API) GetInstance(InstanceName string, optional openapi.M) (*GetInstanceResponse, error)

GetInstance version 2015-10-26

required parameters:

name: InstanceName, type: string

optional parameters:

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

func (API) InsertInstance

func (api API) InsertInstance(InstanceName string, optional openapi.M) (*openapi.Response, error)

InsertInstance version 2015-10-26

required parameters:

name: InstanceName, type: string

optional parameters:

name: ClusterType, type: string
name: Description, type: string
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ListInstance

func (api API) ListInstance(optional openapi.M) (*ListInstanceResponse, error)

ListInstance version 2015-10-26

optional parameters:

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

type GetInstanceResponse

type GetInstanceResponse struct {
	InstanceInfo struct {
		Description  string
		InstanceName string
		Status       int
		Timestamp    string
	}
}

GetInstanceResponse represents the response of the api GetInstance.

type ListInstanceResponse

type ListInstanceResponse struct {
	InstanceInfos struct {
		InstanceInfo []struct {
			InstanceName string
			Timestamp    string
		}
	}
}

ListInstanceResponse represents the response of the api ListInstance.

Jump to

Keyboard shortcuts

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