Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) DeleteInstance(InstanceName string, optional openapi.M) (*openapi.Response, error)
- func (api API) GetInstance(InstanceName string, optional openapi.M) (*GetInstanceResponse, error)
- func (api API) InsertInstance(InstanceName string, optional openapi.M) (*openapi.Response, error)
- func (api API) ListInstance(optional openapi.M) (*ListInstanceResponse, error)
- type GetInstanceResponse
- type ListInstanceResponse
Constants ¶
View Source
const ( Product = "OtsShihua" Style = "RPC" Version = "2015-10-26" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) DeleteInstance ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.