otsfinance

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 = "OtsFinance"
	Style   = "RPC"
	Version = "2013-09-12"
)

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 2013-09-12

required parameters:

name: InstanceName, type: string

optional parameters:

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

func (API) DeleteUser

func (api API) DeleteUser(optional openapi.M) (*openapi.Response, error)

DeleteUser version 2013-09-12

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 2013-09-12

required parameters:

name: InstanceName, type: string

optional parameters:

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

func (API) GetUser

func (api API) GetUser(optional openapi.M) (*GetUserResponse, error)

GetUser version 2013-09-12

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 2013-09-12

required parameters:

name: InstanceName, type: string

optional parameters:

name: ClusterName, type: string
name: Description, type: string
name: EntityQuota, type: int
name: ReadCapacity, type: int
name: WriteCapacity, type: int
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) InsertUser

func (api API) InsertUser(optional openapi.M) (*openapi.Response, error)

InsertUser version 2013-09-12

optional parameters:

name: Description, type: string
name: InstanceQuota, type: int
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 2013-09-12

optional parameters:

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

func (API) UpdateInstance

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

UpdateInstance version 2013-09-12

required parameters:

name: InstanceName, type: string

optional parameters:

name: Description, type: string
name: EntityQuota, type: int
name: ReadCapacity, type: int
name: WriteCapacity, type: int
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) UpdateUser

func (api API) UpdateUser(optional openapi.M) (*openapi.Response, error)

UpdateUser version 2013-09-12

optional parameters:

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

type GetInstanceResponse

type GetInstanceResponse struct {
	InstanceInfo struct {
		ClusterName  string
		CreateTime   string
		Description  string
		InstanceName string
		Quota        struct {
			EntityQuota int
		}
		ReadCapacity  int
		Status        int
		UserId        string
		WriteCapacity int
	}
}

GetInstanceResponse represents the response of the api GetInstance.

type GetUserResponse

type GetUserResponse struct {
	UserInfo struct {
		CreateTime  string
		Description string
		Quota       struct {
			InstanceQuota int
		}
		UserId string
	}
}

GetUserResponse represents the response of the api GetUser.

type ListInstanceResponse

type ListInstanceResponse struct {
	InstanceInfos struct {
		InstanceInfo []struct {
			InstanceId   string
			InstanceName string
			Timestamp    string
			Version      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