Documentation
¶
Index ¶
- func CastAcquireActionsFromDict(data []AcquireAction) []interface{}
- func CastConsumeActionsFromDict(data []ConsumeAction) []interface{}
- func CastGitHubCheckoutSettingsFromDict(data []GitHubCheckoutSetting) []interface{}
- func CastLogSettingsFromDict(data []LogSetting) []interface{}
- func CastNamespacesFromDict(data []Namespace) []interface{}
- func CastRandomStatusesFromDict(data []RandomStatus) []interface{}
- func CastRandomUsedsFromDict(data []RandomUsed) []interface{}
- func CastScriptsFromDict(data []Script) []interface{}
- func CastTransactionSettingsFromDict(data []TransactionSetting) []interface{}
- func CastTransactionsFromDict(data []Transaction) []interface{}
- type AcquireAction
- type ConsumeAction
- type CreateNamespaceAsyncResult
- type CreateNamespaceRequest
- type CreateNamespaceResult
- type CreateScriptAsyncResult
- type CreateScriptFromGitHubAsyncResult
- type CreateScriptFromGitHubRequest
- type CreateScriptFromGitHubResult
- type CreateScriptRequest
- type CreateScriptResult
- type DebugInvokeAsyncResult
- type DebugInvokeRequest
- type DebugInvokeResult
- type DeleteNamespaceAsyncResult
- type DeleteNamespaceRequest
- type DeleteNamespaceResult
- type DeleteScriptAsyncResult
- type DeleteScriptRequest
- type DeleteScriptResult
- type DescribeNamespacesAsyncResult
- type DescribeNamespacesRequest
- type DescribeNamespacesResult
- type DescribeScriptsAsyncResult
- type DescribeScriptsRequest
- type DescribeScriptsResult
- type GetNamespaceAsyncResult
- type GetNamespaceRequest
- type GetNamespaceResult
- type GetNamespaceStatusAsyncResult
- type GetNamespaceStatusRequest
- type GetNamespaceStatusResult
- type GetScriptAsyncResult
- type GetScriptRequest
- type GetScriptResult
- type GitHubCheckoutSetting
- type Gs2ScriptRestClient
- func (p Gs2ScriptRestClient) CreateAuthorizedHeaders() map[string]string
- func (p Gs2ScriptRestClient) CreateNamespace(request *CreateNamespaceRequest) (*CreateNamespaceResult, error)
- func (p Gs2ScriptRestClient) CreateNamespaceAsync(request *CreateNamespaceRequest, callback chan<- CreateNamespaceAsyncResult)
- func (p Gs2ScriptRestClient) CreateScript(request *CreateScriptRequest) (*CreateScriptResult, error)
- func (p Gs2ScriptRestClient) CreateScriptAsync(request *CreateScriptRequest, callback chan<- CreateScriptAsyncResult)
- func (p Gs2ScriptRestClient) CreateScriptFromGitHub(request *CreateScriptFromGitHubRequest) (*CreateScriptFromGitHubResult, error)
- func (p Gs2ScriptRestClient) CreateScriptFromGitHubAsync(request *CreateScriptFromGitHubRequest, ...)
- func (p Gs2ScriptRestClient) DebugInvoke(request *DebugInvokeRequest) (*DebugInvokeResult, error)
- func (p Gs2ScriptRestClient) DebugInvokeAsync(request *DebugInvokeRequest, callback chan<- DebugInvokeAsyncResult)
- func (p Gs2ScriptRestClient) DeleteNamespace(request *DeleteNamespaceRequest) (*DeleteNamespaceResult, error)
- func (p Gs2ScriptRestClient) DeleteNamespaceAsync(request *DeleteNamespaceRequest, callback chan<- DeleteNamespaceAsyncResult)
- func (p Gs2ScriptRestClient) DeleteScript(request *DeleteScriptRequest) (*DeleteScriptResult, error)
- func (p Gs2ScriptRestClient) DeleteScriptAsync(request *DeleteScriptRequest, callback chan<- DeleteScriptAsyncResult)
- func (p Gs2ScriptRestClient) DescribeNamespaces(request *DescribeNamespacesRequest) (*DescribeNamespacesResult, error)
- func (p Gs2ScriptRestClient) DescribeNamespacesAsync(request *DescribeNamespacesRequest, ...)
- func (p Gs2ScriptRestClient) DescribeScripts(request *DescribeScriptsRequest) (*DescribeScriptsResult, error)
- func (p Gs2ScriptRestClient) DescribeScriptsAsync(request *DescribeScriptsRequest, callback chan<- DescribeScriptsAsyncResult)
- func (p Gs2ScriptRestClient) GetNamespace(request *GetNamespaceRequest) (*GetNamespaceResult, error)
- func (p Gs2ScriptRestClient) GetNamespaceAsync(request *GetNamespaceRequest, callback chan<- GetNamespaceAsyncResult)
- func (p Gs2ScriptRestClient) GetNamespaceStatus(request *GetNamespaceStatusRequest) (*GetNamespaceStatusResult, error)
- func (p Gs2ScriptRestClient) GetNamespaceStatusAsync(request *GetNamespaceStatusRequest, ...)
- func (p Gs2ScriptRestClient) GetScript(request *GetScriptRequest) (*GetScriptResult, error)
- func (p Gs2ScriptRestClient) GetScriptAsync(request *GetScriptRequest, callback chan<- GetScriptAsyncResult)
- func (p Gs2ScriptRestClient) InvokeScript(request *InvokeScriptRequest) (*InvokeScriptResult, error)
- func (p Gs2ScriptRestClient) InvokeScriptAsync(request *InvokeScriptRequest, callback chan<- InvokeScriptAsyncResult)
- func (p Gs2ScriptRestClient) UpdateNamespace(request *UpdateNamespaceRequest) (*UpdateNamespaceResult, error)
- func (p Gs2ScriptRestClient) UpdateNamespaceAsync(request *UpdateNamespaceRequest, callback chan<- UpdateNamespaceAsyncResult)
- func (p Gs2ScriptRestClient) UpdateScript(request *UpdateScriptRequest) (*UpdateScriptResult, error)
- func (p Gs2ScriptRestClient) UpdateScriptAsync(request *UpdateScriptRequest, callback chan<- UpdateScriptAsyncResult)
- func (p Gs2ScriptRestClient) UpdateScriptFromGitHub(request *UpdateScriptFromGitHubRequest) (*UpdateScriptFromGitHubResult, error)
- func (p Gs2ScriptRestClient) UpdateScriptFromGitHubAsync(request *UpdateScriptFromGitHubRequest, ...)
- type Gs2ScriptWebSocketClient
- func (p Gs2ScriptWebSocketClient) CreateAuthorizedHeaders() map[string]string
- func (p Gs2ScriptWebSocketClient) CreateNamespace(request *CreateNamespaceRequest) (*CreateNamespaceResult, error)
- func (p Gs2ScriptWebSocketClient) CreateNamespaceAsync(request *CreateNamespaceRequest, callback chan<- CreateNamespaceAsyncResult)
- func (p Gs2ScriptWebSocketClient) CreateScript(request *CreateScriptRequest) (*CreateScriptResult, error)
- func (p Gs2ScriptWebSocketClient) CreateScriptAsync(request *CreateScriptRequest, callback chan<- CreateScriptAsyncResult)
- func (p Gs2ScriptWebSocketClient) CreateScriptFromGitHub(request *CreateScriptFromGitHubRequest) (*CreateScriptFromGitHubResult, error)
- func (p Gs2ScriptWebSocketClient) CreateScriptFromGitHubAsync(request *CreateScriptFromGitHubRequest, ...)
- func (p Gs2ScriptWebSocketClient) DebugInvoke(request *DebugInvokeRequest) (*DebugInvokeResult, error)
- func (p Gs2ScriptWebSocketClient) DebugInvokeAsync(request *DebugInvokeRequest, callback chan<- DebugInvokeAsyncResult)
- func (p Gs2ScriptWebSocketClient) DeleteNamespace(request *DeleteNamespaceRequest) (*DeleteNamespaceResult, error)
- func (p Gs2ScriptWebSocketClient) DeleteNamespaceAsync(request *DeleteNamespaceRequest, callback chan<- DeleteNamespaceAsyncResult)
- func (p Gs2ScriptWebSocketClient) DeleteScript(request *DeleteScriptRequest) (*DeleteScriptResult, error)
- func (p Gs2ScriptWebSocketClient) DeleteScriptAsync(request *DeleteScriptRequest, callback chan<- DeleteScriptAsyncResult)
- func (p Gs2ScriptWebSocketClient) DescribeNamespaces(request *DescribeNamespacesRequest) (*DescribeNamespacesResult, error)
- func (p Gs2ScriptWebSocketClient) DescribeNamespacesAsync(request *DescribeNamespacesRequest, ...)
- func (p Gs2ScriptWebSocketClient) DescribeScripts(request *DescribeScriptsRequest) (*DescribeScriptsResult, error)
- func (p Gs2ScriptWebSocketClient) DescribeScriptsAsync(request *DescribeScriptsRequest, callback chan<- DescribeScriptsAsyncResult)
- func (p Gs2ScriptWebSocketClient) GetNamespace(request *GetNamespaceRequest) (*GetNamespaceResult, error)
- func (p Gs2ScriptWebSocketClient) GetNamespaceAsync(request *GetNamespaceRequest, callback chan<- GetNamespaceAsyncResult)
- func (p Gs2ScriptWebSocketClient) GetNamespaceStatus(request *GetNamespaceStatusRequest) (*GetNamespaceStatusResult, error)
- func (p Gs2ScriptWebSocketClient) GetNamespaceStatusAsync(request *GetNamespaceStatusRequest, ...)
- func (p Gs2ScriptWebSocketClient) GetScript(request *GetScriptRequest) (*GetScriptResult, error)
- func (p Gs2ScriptWebSocketClient) GetScriptAsync(request *GetScriptRequest, callback chan<- GetScriptAsyncResult)
- func (p Gs2ScriptWebSocketClient) InvokeScript(request *InvokeScriptRequest) (*InvokeScriptResult, error)
- func (p Gs2ScriptWebSocketClient) InvokeScriptAsync(request *InvokeScriptRequest, callback chan<- InvokeScriptAsyncResult)
- func (p Gs2ScriptWebSocketClient) UpdateNamespace(request *UpdateNamespaceRequest) (*UpdateNamespaceResult, error)
- func (p Gs2ScriptWebSocketClient) UpdateNamespaceAsync(request *UpdateNamespaceRequest, callback chan<- UpdateNamespaceAsyncResult)
- func (p Gs2ScriptWebSocketClient) UpdateScript(request *UpdateScriptRequest) (*UpdateScriptResult, error)
- func (p Gs2ScriptWebSocketClient) UpdateScriptAsync(request *UpdateScriptRequest, callback chan<- UpdateScriptAsyncResult)
- func (p Gs2ScriptWebSocketClient) UpdateScriptFromGitHub(request *UpdateScriptFromGitHubRequest) (*UpdateScriptFromGitHubResult, error)
- func (p Gs2ScriptWebSocketClient) UpdateScriptFromGitHubAsync(request *UpdateScriptFromGitHubRequest, ...)
- type InvokeScriptAsyncResult
- type InvokeScriptRequest
- type InvokeScriptResult
- type LogSetting
- type Namespace
- type RandomStatus
- type RandomUsed
- type Script
- type Transaction
- type TransactionSetting
- type UpdateNamespaceAsyncResult
- type UpdateNamespaceRequest
- type UpdateNamespaceResult
- type UpdateScriptAsyncResult
- type UpdateScriptFromGitHubAsyncResult
- type UpdateScriptFromGitHubRequest
- type UpdateScriptFromGitHubResult
- type UpdateScriptRequest
- type UpdateScriptResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastAcquireActionsFromDict ¶ added in v1.2.197
func CastAcquireActionsFromDict(data []AcquireAction) []interface{}
func CastConsumeActionsFromDict ¶ added in v1.2.197
func CastConsumeActionsFromDict(data []ConsumeAction) []interface{}
func CastGitHubCheckoutSettingsFromDict ¶
func CastGitHubCheckoutSettingsFromDict(data []GitHubCheckoutSetting) []interface{}
func CastLogSettingsFromDict ¶
func CastLogSettingsFromDict(data []LogSetting) []interface{}
func CastNamespacesFromDict ¶
func CastNamespacesFromDict(data []Namespace) []interface{}
func CastRandomStatusesFromDict ¶ added in v1.2.189
func CastRandomStatusesFromDict(data []RandomStatus) []interface{}
func CastRandomUsedsFromDict ¶ added in v1.2.189
func CastRandomUsedsFromDict(data []RandomUsed) []interface{}
func CastScriptsFromDict ¶
func CastScriptsFromDict(data []Script) []interface{}
func CastTransactionSettingsFromDict ¶ added in v1.2.211
func CastTransactionSettingsFromDict(data []TransactionSetting) []interface{}
func CastTransactionsFromDict ¶ added in v1.2.197
func CastTransactionsFromDict(data []Transaction) []interface{}
Types ¶
type AcquireAction ¶ added in v1.2.197
func CastAcquireActions ¶ added in v1.2.197
func CastAcquireActions(data []interface{}) []AcquireAction
func NewAcquireActionFromDict ¶ added in v1.2.197
func NewAcquireActionFromDict(data map[string]interface{}) AcquireAction
func NewAcquireActionFromJson ¶ added in v1.2.197
func NewAcquireActionFromJson(data string) AcquireAction
func (AcquireAction) Pointer ¶ added in v1.2.197
func (p AcquireAction) Pointer() *AcquireAction
func (AcquireAction) ToDict ¶ added in v1.2.197
func (p AcquireAction) ToDict() map[string]interface{}
type ConsumeAction ¶ added in v1.2.197
func CastConsumeActions ¶ added in v1.2.197
func CastConsumeActions(data []interface{}) []ConsumeAction
func NewConsumeActionFromDict ¶ added in v1.2.197
func NewConsumeActionFromDict(data map[string]interface{}) ConsumeAction
func NewConsumeActionFromJson ¶ added in v1.2.197
func NewConsumeActionFromJson(data string) ConsumeAction
func (ConsumeAction) Pointer ¶ added in v1.2.197
func (p ConsumeAction) Pointer() *ConsumeAction
func (ConsumeAction) ToDict ¶ added in v1.2.197
func (p ConsumeAction) ToDict() map[string]interface{}
type CreateNamespaceAsyncResult ¶
type CreateNamespaceAsyncResult struct {
// contains filtered or unexported fields
}
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
Name *string `json:"name"`
Description *string `json:"description"`
TransactionSetting *TransactionSetting `json:"transactionSetting"`
LogSetting *LogSetting `json:"logSetting"`
}
func NewCreateNamespaceRequestFromDict ¶
func NewCreateNamespaceRequestFromDict(data map[string]interface{}) CreateNamespaceRequest
func NewCreateNamespaceRequestFromJson ¶
func NewCreateNamespaceRequestFromJson(data string) CreateNamespaceRequest
func (CreateNamespaceRequest) Pointer ¶
func (p CreateNamespaceRequest) Pointer() *CreateNamespaceRequest
func (CreateNamespaceRequest) ToDict ¶
func (p CreateNamespaceRequest) ToDict() map[string]interface{}
type CreateNamespaceResult ¶
type CreateNamespaceResult struct {
Item *Namespace `json:"item"`
}
func NewCreateNamespaceResultFromDict ¶
func NewCreateNamespaceResultFromDict(data map[string]interface{}) CreateNamespaceResult
func NewCreateNamespaceResultFromJson ¶
func NewCreateNamespaceResultFromJson(data string) CreateNamespaceResult
func (CreateNamespaceResult) Pointer ¶
func (p CreateNamespaceResult) Pointer() *CreateNamespaceResult
func (CreateNamespaceResult) ToDict ¶
func (p CreateNamespaceResult) ToDict() map[string]interface{}
type CreateScriptAsyncResult ¶
type CreateScriptAsyncResult struct {
// contains filtered or unexported fields
}
type CreateScriptFromGitHubAsyncResult ¶
type CreateScriptFromGitHubAsyncResult struct {
// contains filtered or unexported fields
}
type CreateScriptFromGitHubRequest ¶
type CreateScriptFromGitHubRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
Name *string `json:"name"`
Description *string `json:"description"`
CheckoutSetting *GitHubCheckoutSetting `json:"checkoutSetting"`
}
func NewCreateScriptFromGitHubRequestFromDict ¶
func NewCreateScriptFromGitHubRequestFromDict(data map[string]interface{}) CreateScriptFromGitHubRequest
func NewCreateScriptFromGitHubRequestFromJson ¶
func NewCreateScriptFromGitHubRequestFromJson(data string) CreateScriptFromGitHubRequest
func (CreateScriptFromGitHubRequest) Pointer ¶
func (p CreateScriptFromGitHubRequest) Pointer() *CreateScriptFromGitHubRequest
func (CreateScriptFromGitHubRequest) ToDict ¶
func (p CreateScriptFromGitHubRequest) ToDict() map[string]interface{}
type CreateScriptFromGitHubResult ¶
type CreateScriptFromGitHubResult struct {
Item *Script `json:"item"`
}
func NewCreateScriptFromGitHubResultFromDict ¶
func NewCreateScriptFromGitHubResultFromDict(data map[string]interface{}) CreateScriptFromGitHubResult
func NewCreateScriptFromGitHubResultFromJson ¶
func NewCreateScriptFromGitHubResultFromJson(data string) CreateScriptFromGitHubResult
func (CreateScriptFromGitHubResult) Pointer ¶
func (p CreateScriptFromGitHubResult) Pointer() *CreateScriptFromGitHubResult
func (CreateScriptFromGitHubResult) ToDict ¶
func (p CreateScriptFromGitHubResult) ToDict() map[string]interface{}
type CreateScriptRequest ¶
type CreateScriptRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
Name *string `json:"name"`
Description *string `json:"description"`
Script *string `json:"script"`
}
func NewCreateScriptRequestFromDict ¶
func NewCreateScriptRequestFromDict(data map[string]interface{}) CreateScriptRequest
func NewCreateScriptRequestFromJson ¶
func NewCreateScriptRequestFromJson(data string) CreateScriptRequest
func (CreateScriptRequest) Pointer ¶
func (p CreateScriptRequest) Pointer() *CreateScriptRequest
func (CreateScriptRequest) ToDict ¶
func (p CreateScriptRequest) ToDict() map[string]interface{}
type CreateScriptResult ¶
type CreateScriptResult struct {
Item *Script `json:"item"`
}
func NewCreateScriptResultFromDict ¶
func NewCreateScriptResultFromDict(data map[string]interface{}) CreateScriptResult
func NewCreateScriptResultFromJson ¶
func NewCreateScriptResultFromJson(data string) CreateScriptResult
func (CreateScriptResult) Pointer ¶
func (p CreateScriptResult) Pointer() *CreateScriptResult
func (CreateScriptResult) ToDict ¶
func (p CreateScriptResult) ToDict() map[string]interface{}
type DebugInvokeAsyncResult ¶
type DebugInvokeAsyncResult struct {
// contains filtered or unexported fields
}
type DebugInvokeRequest ¶
type DebugInvokeRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
Script *string `json:"script"`
Args *string `json:"args"`
RandomStatus *RandomStatus `json:"randomStatus"`
}
func NewDebugInvokeRequestFromDict ¶
func NewDebugInvokeRequestFromDict(data map[string]interface{}) DebugInvokeRequest
func NewDebugInvokeRequestFromJson ¶
func NewDebugInvokeRequestFromJson(data string) DebugInvokeRequest
func (DebugInvokeRequest) Pointer ¶
func (p DebugInvokeRequest) Pointer() *DebugInvokeRequest
func (DebugInvokeRequest) ToDict ¶
func (p DebugInvokeRequest) ToDict() map[string]interface{}
type DebugInvokeResult ¶
type DebugInvokeResult struct {
Code *int32 `json:"code"`
Result *string `json:"result"`
Transaction *Transaction `json:"transaction"`
RandomStatus *RandomStatus `json:"randomStatus"`
ExecuteTime *int32 `json:"executeTime"`
Charged *int32 `json:"charged"`
Output []*string `json:"output"`
}
func NewDebugInvokeResultFromDict ¶
func NewDebugInvokeResultFromDict(data map[string]interface{}) DebugInvokeResult
func NewDebugInvokeResultFromJson ¶
func NewDebugInvokeResultFromJson(data string) DebugInvokeResult
func (DebugInvokeResult) Pointer ¶
func (p DebugInvokeResult) Pointer() *DebugInvokeResult
func (DebugInvokeResult) ToDict ¶
func (p DebugInvokeResult) ToDict() map[string]interface{}
type DeleteNamespaceAsyncResult ¶
type DeleteNamespaceAsyncResult struct {
// contains filtered or unexported fields
}
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
}
func NewDeleteNamespaceRequestFromDict ¶
func NewDeleteNamespaceRequestFromDict(data map[string]interface{}) DeleteNamespaceRequest
func NewDeleteNamespaceRequestFromJson ¶
func NewDeleteNamespaceRequestFromJson(data string) DeleteNamespaceRequest
func (DeleteNamespaceRequest) Pointer ¶
func (p DeleteNamespaceRequest) Pointer() *DeleteNamespaceRequest
func (DeleteNamespaceRequest) ToDict ¶
func (p DeleteNamespaceRequest) ToDict() map[string]interface{}
type DeleteNamespaceResult ¶
type DeleteNamespaceResult struct {
Item *Namespace `json:"item"`
}
func NewDeleteNamespaceResultFromDict ¶
func NewDeleteNamespaceResultFromDict(data map[string]interface{}) DeleteNamespaceResult
func NewDeleteNamespaceResultFromJson ¶
func NewDeleteNamespaceResultFromJson(data string) DeleteNamespaceResult
func (DeleteNamespaceResult) Pointer ¶
func (p DeleteNamespaceResult) Pointer() *DeleteNamespaceResult
func (DeleteNamespaceResult) ToDict ¶
func (p DeleteNamespaceResult) ToDict() map[string]interface{}
type DeleteScriptAsyncResult ¶
type DeleteScriptAsyncResult struct {
// contains filtered or unexported fields
}
type DeleteScriptRequest ¶
type DeleteScriptRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
ScriptName *string `json:"scriptName"`
}
func NewDeleteScriptRequestFromDict ¶
func NewDeleteScriptRequestFromDict(data map[string]interface{}) DeleteScriptRequest
func NewDeleteScriptRequestFromJson ¶
func NewDeleteScriptRequestFromJson(data string) DeleteScriptRequest
func (DeleteScriptRequest) Pointer ¶
func (p DeleteScriptRequest) Pointer() *DeleteScriptRequest
func (DeleteScriptRequest) ToDict ¶
func (p DeleteScriptRequest) ToDict() map[string]interface{}
type DeleteScriptResult ¶
type DeleteScriptResult struct {
Item *Script `json:"item"`
}
func NewDeleteScriptResultFromDict ¶
func NewDeleteScriptResultFromDict(data map[string]interface{}) DeleteScriptResult
func NewDeleteScriptResultFromJson ¶
func NewDeleteScriptResultFromJson(data string) DeleteScriptResult
func (DeleteScriptResult) Pointer ¶
func (p DeleteScriptResult) Pointer() *DeleteScriptResult
func (DeleteScriptResult) ToDict ¶
func (p DeleteScriptResult) ToDict() map[string]interface{}
type DescribeNamespacesAsyncResult ¶
type DescribeNamespacesAsyncResult struct {
// contains filtered or unexported fields
}
type DescribeNamespacesRequest ¶
type DescribeNamespacesRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
PageToken *string `json:"pageToken"`
Limit *int32 `json:"limit"`
}
func NewDescribeNamespacesRequestFromDict ¶
func NewDescribeNamespacesRequestFromDict(data map[string]interface{}) DescribeNamespacesRequest
func NewDescribeNamespacesRequestFromJson ¶
func NewDescribeNamespacesRequestFromJson(data string) DescribeNamespacesRequest
func (DescribeNamespacesRequest) Pointer ¶
func (p DescribeNamespacesRequest) Pointer() *DescribeNamespacesRequest
func (DescribeNamespacesRequest) ToDict ¶
func (p DescribeNamespacesRequest) ToDict() map[string]interface{}
type DescribeNamespacesResult ¶
type DescribeNamespacesResult struct {
Items []Namespace `json:"items"`
NextPageToken *string `json:"nextPageToken"`
}
func NewDescribeNamespacesResultFromDict ¶
func NewDescribeNamespacesResultFromDict(data map[string]interface{}) DescribeNamespacesResult
func NewDescribeNamespacesResultFromJson ¶
func NewDescribeNamespacesResultFromJson(data string) DescribeNamespacesResult
func (DescribeNamespacesResult) Pointer ¶
func (p DescribeNamespacesResult) Pointer() *DescribeNamespacesResult
func (DescribeNamespacesResult) ToDict ¶
func (p DescribeNamespacesResult) ToDict() map[string]interface{}
type DescribeScriptsAsyncResult ¶
type DescribeScriptsAsyncResult struct {
// contains filtered or unexported fields
}
type DescribeScriptsRequest ¶
type DescribeScriptsRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
PageToken *string `json:"pageToken"`
Limit *int32 `json:"limit"`
}
func NewDescribeScriptsRequestFromDict ¶
func NewDescribeScriptsRequestFromDict(data map[string]interface{}) DescribeScriptsRequest
func NewDescribeScriptsRequestFromJson ¶
func NewDescribeScriptsRequestFromJson(data string) DescribeScriptsRequest
func (DescribeScriptsRequest) Pointer ¶
func (p DescribeScriptsRequest) Pointer() *DescribeScriptsRequest
func (DescribeScriptsRequest) ToDict ¶
func (p DescribeScriptsRequest) ToDict() map[string]interface{}
type DescribeScriptsResult ¶
type DescribeScriptsResult struct {
Items []Script `json:"items"`
NextPageToken *string `json:"nextPageToken"`
}
func NewDescribeScriptsResultFromDict ¶
func NewDescribeScriptsResultFromDict(data map[string]interface{}) DescribeScriptsResult
func NewDescribeScriptsResultFromJson ¶
func NewDescribeScriptsResultFromJson(data string) DescribeScriptsResult
func (DescribeScriptsResult) Pointer ¶
func (p DescribeScriptsResult) Pointer() *DescribeScriptsResult
func (DescribeScriptsResult) ToDict ¶
func (p DescribeScriptsResult) ToDict() map[string]interface{}
type GetNamespaceAsyncResult ¶
type GetNamespaceAsyncResult struct {
// contains filtered or unexported fields
}
type GetNamespaceRequest ¶
type GetNamespaceRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
}
func NewGetNamespaceRequestFromDict ¶
func NewGetNamespaceRequestFromDict(data map[string]interface{}) GetNamespaceRequest
func NewGetNamespaceRequestFromJson ¶
func NewGetNamespaceRequestFromJson(data string) GetNamespaceRequest
func (GetNamespaceRequest) Pointer ¶
func (p GetNamespaceRequest) Pointer() *GetNamespaceRequest
func (GetNamespaceRequest) ToDict ¶
func (p GetNamespaceRequest) ToDict() map[string]interface{}
type GetNamespaceResult ¶
type GetNamespaceResult struct {
Item *Namespace `json:"item"`
}
func NewGetNamespaceResultFromDict ¶
func NewGetNamespaceResultFromDict(data map[string]interface{}) GetNamespaceResult
func NewGetNamespaceResultFromJson ¶
func NewGetNamespaceResultFromJson(data string) GetNamespaceResult
func (GetNamespaceResult) Pointer ¶
func (p GetNamespaceResult) Pointer() *GetNamespaceResult
func (GetNamespaceResult) ToDict ¶
func (p GetNamespaceResult) ToDict() map[string]interface{}
type GetNamespaceStatusAsyncResult ¶
type GetNamespaceStatusAsyncResult struct {
// contains filtered or unexported fields
}
type GetNamespaceStatusRequest ¶
type GetNamespaceStatusRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
}
func NewGetNamespaceStatusRequestFromDict ¶
func NewGetNamespaceStatusRequestFromDict(data map[string]interface{}) GetNamespaceStatusRequest
func NewGetNamespaceStatusRequestFromJson ¶
func NewGetNamespaceStatusRequestFromJson(data string) GetNamespaceStatusRequest
func (GetNamespaceStatusRequest) Pointer ¶
func (p GetNamespaceStatusRequest) Pointer() *GetNamespaceStatusRequest
func (GetNamespaceStatusRequest) ToDict ¶
func (p GetNamespaceStatusRequest) ToDict() map[string]interface{}
type GetNamespaceStatusResult ¶
type GetNamespaceStatusResult struct {
Status *string `json:"status"`
}
func NewGetNamespaceStatusResultFromDict ¶
func NewGetNamespaceStatusResultFromDict(data map[string]interface{}) GetNamespaceStatusResult
func NewGetNamespaceStatusResultFromJson ¶
func NewGetNamespaceStatusResultFromJson(data string) GetNamespaceStatusResult
func (GetNamespaceStatusResult) Pointer ¶
func (p GetNamespaceStatusResult) Pointer() *GetNamespaceStatusResult
func (GetNamespaceStatusResult) ToDict ¶
func (p GetNamespaceStatusResult) ToDict() map[string]interface{}
type GetScriptAsyncResult ¶
type GetScriptAsyncResult struct {
// contains filtered or unexported fields
}
type GetScriptRequest ¶
type GetScriptRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
ScriptName *string `json:"scriptName"`
}
func NewGetScriptRequestFromDict ¶
func NewGetScriptRequestFromDict(data map[string]interface{}) GetScriptRequest
func NewGetScriptRequestFromJson ¶
func NewGetScriptRequestFromJson(data string) GetScriptRequest
func (GetScriptRequest) Pointer ¶
func (p GetScriptRequest) Pointer() *GetScriptRequest
func (GetScriptRequest) ToDict ¶
func (p GetScriptRequest) ToDict() map[string]interface{}
type GetScriptResult ¶
type GetScriptResult struct {
Item *Script `json:"item"`
}
func NewGetScriptResultFromDict ¶
func NewGetScriptResultFromDict(data map[string]interface{}) GetScriptResult
func NewGetScriptResultFromJson ¶
func NewGetScriptResultFromJson(data string) GetScriptResult
func (GetScriptResult) Pointer ¶
func (p GetScriptResult) Pointer() *GetScriptResult
func (GetScriptResult) ToDict ¶
func (p GetScriptResult) ToDict() map[string]interface{}
type GitHubCheckoutSetting ¶
type GitHubCheckoutSetting struct {
ApiKeyId *string `json:"apiKeyId"`
RepositoryName *string `json:"repositoryName"`
SourcePath *string `json:"sourcePath"`
ReferenceType *string `json:"referenceType"`
CommitHash *string `json:"commitHash"`
BranchName *string `json:"branchName"`
TagName *string `json:"tagName"`
}
func CastGitHubCheckoutSettings ¶
func CastGitHubCheckoutSettings(data []interface{}) []GitHubCheckoutSetting
func NewGitHubCheckoutSettingFromDict ¶
func NewGitHubCheckoutSettingFromDict(data map[string]interface{}) GitHubCheckoutSetting
func NewGitHubCheckoutSettingFromJson ¶
func NewGitHubCheckoutSettingFromJson(data string) GitHubCheckoutSetting
func (GitHubCheckoutSetting) Pointer ¶
func (p GitHubCheckoutSetting) Pointer() *GitHubCheckoutSetting
func (GitHubCheckoutSetting) ToDict ¶
func (p GitHubCheckoutSetting) ToDict() map[string]interface{}
type Gs2ScriptRestClient ¶
type Gs2ScriptRestClient struct {
Session *core.Gs2RestSession
}
func (Gs2ScriptRestClient) CreateAuthorizedHeaders ¶
func (p Gs2ScriptRestClient) CreateAuthorizedHeaders() map[string]string
func (Gs2ScriptRestClient) CreateNamespace ¶
func (p Gs2ScriptRestClient) CreateNamespace( request *CreateNamespaceRequest, ) (*CreateNamespaceResult, error)
func (Gs2ScriptRestClient) CreateNamespaceAsync ¶
func (p Gs2ScriptRestClient) CreateNamespaceAsync( request *CreateNamespaceRequest, callback chan<- CreateNamespaceAsyncResult, )
func (Gs2ScriptRestClient) CreateScript ¶
func (p Gs2ScriptRestClient) CreateScript( request *CreateScriptRequest, ) (*CreateScriptResult, error)
func (Gs2ScriptRestClient) CreateScriptAsync ¶
func (p Gs2ScriptRestClient) CreateScriptAsync( request *CreateScriptRequest, callback chan<- CreateScriptAsyncResult, )
func (Gs2ScriptRestClient) CreateScriptFromGitHub ¶
func (p Gs2ScriptRestClient) CreateScriptFromGitHub( request *CreateScriptFromGitHubRequest, ) (*CreateScriptFromGitHubResult, error)
func (Gs2ScriptRestClient) CreateScriptFromGitHubAsync ¶
func (p Gs2ScriptRestClient) CreateScriptFromGitHubAsync( request *CreateScriptFromGitHubRequest, callback chan<- CreateScriptFromGitHubAsyncResult, )
func (Gs2ScriptRestClient) DebugInvoke ¶
func (p Gs2ScriptRestClient) DebugInvoke( request *DebugInvokeRequest, ) (*DebugInvokeResult, error)
func (Gs2ScriptRestClient) DebugInvokeAsync ¶
func (p Gs2ScriptRestClient) DebugInvokeAsync( request *DebugInvokeRequest, callback chan<- DebugInvokeAsyncResult, )
func (Gs2ScriptRestClient) DeleteNamespace ¶
func (p Gs2ScriptRestClient) DeleteNamespace( request *DeleteNamespaceRequest, ) (*DeleteNamespaceResult, error)
func (Gs2ScriptRestClient) DeleteNamespaceAsync ¶
func (p Gs2ScriptRestClient) DeleteNamespaceAsync( request *DeleteNamespaceRequest, callback chan<- DeleteNamespaceAsyncResult, )
func (Gs2ScriptRestClient) DeleteScript ¶
func (p Gs2ScriptRestClient) DeleteScript( request *DeleteScriptRequest, ) (*DeleteScriptResult, error)
func (Gs2ScriptRestClient) DeleteScriptAsync ¶
func (p Gs2ScriptRestClient) DeleteScriptAsync( request *DeleteScriptRequest, callback chan<- DeleteScriptAsyncResult, )
func (Gs2ScriptRestClient) DescribeNamespaces ¶
func (p Gs2ScriptRestClient) DescribeNamespaces( request *DescribeNamespacesRequest, ) (*DescribeNamespacesResult, error)
func (Gs2ScriptRestClient) DescribeNamespacesAsync ¶
func (p Gs2ScriptRestClient) DescribeNamespacesAsync( request *DescribeNamespacesRequest, callback chan<- DescribeNamespacesAsyncResult, )
func (Gs2ScriptRestClient) DescribeScripts ¶
func (p Gs2ScriptRestClient) DescribeScripts( request *DescribeScriptsRequest, ) (*DescribeScriptsResult, error)
func (Gs2ScriptRestClient) DescribeScriptsAsync ¶
func (p Gs2ScriptRestClient) DescribeScriptsAsync( request *DescribeScriptsRequest, callback chan<- DescribeScriptsAsyncResult, )
func (Gs2ScriptRestClient) GetNamespace ¶
func (p Gs2ScriptRestClient) GetNamespace( request *GetNamespaceRequest, ) (*GetNamespaceResult, error)
func (Gs2ScriptRestClient) GetNamespaceAsync ¶
func (p Gs2ScriptRestClient) GetNamespaceAsync( request *GetNamespaceRequest, callback chan<- GetNamespaceAsyncResult, )
func (Gs2ScriptRestClient) GetNamespaceStatus ¶
func (p Gs2ScriptRestClient) GetNamespaceStatus( request *GetNamespaceStatusRequest, ) (*GetNamespaceStatusResult, error)
func (Gs2ScriptRestClient) GetNamespaceStatusAsync ¶
func (p Gs2ScriptRestClient) GetNamespaceStatusAsync( request *GetNamespaceStatusRequest, callback chan<- GetNamespaceStatusAsyncResult, )
func (Gs2ScriptRestClient) GetScript ¶
func (p Gs2ScriptRestClient) GetScript( request *GetScriptRequest, ) (*GetScriptResult, error)
func (Gs2ScriptRestClient) GetScriptAsync ¶
func (p Gs2ScriptRestClient) GetScriptAsync( request *GetScriptRequest, callback chan<- GetScriptAsyncResult, )
func (Gs2ScriptRestClient) InvokeScript ¶
func (p Gs2ScriptRestClient) InvokeScript( request *InvokeScriptRequest, ) (*InvokeScriptResult, error)
func (Gs2ScriptRestClient) InvokeScriptAsync ¶
func (p Gs2ScriptRestClient) InvokeScriptAsync( request *InvokeScriptRequest, callback chan<- InvokeScriptAsyncResult, )
func (Gs2ScriptRestClient) UpdateNamespace ¶
func (p Gs2ScriptRestClient) UpdateNamespace( request *UpdateNamespaceRequest, ) (*UpdateNamespaceResult, error)
func (Gs2ScriptRestClient) UpdateNamespaceAsync ¶
func (p Gs2ScriptRestClient) UpdateNamespaceAsync( request *UpdateNamespaceRequest, callback chan<- UpdateNamespaceAsyncResult, )
func (Gs2ScriptRestClient) UpdateScript ¶
func (p Gs2ScriptRestClient) UpdateScript( request *UpdateScriptRequest, ) (*UpdateScriptResult, error)
func (Gs2ScriptRestClient) UpdateScriptAsync ¶
func (p Gs2ScriptRestClient) UpdateScriptAsync( request *UpdateScriptRequest, callback chan<- UpdateScriptAsyncResult, )
func (Gs2ScriptRestClient) UpdateScriptFromGitHub ¶
func (p Gs2ScriptRestClient) UpdateScriptFromGitHub( request *UpdateScriptFromGitHubRequest, ) (*UpdateScriptFromGitHubResult, error)
func (Gs2ScriptRestClient) UpdateScriptFromGitHubAsync ¶
func (p Gs2ScriptRestClient) UpdateScriptFromGitHubAsync( request *UpdateScriptFromGitHubRequest, callback chan<- UpdateScriptFromGitHubAsyncResult, )
type Gs2ScriptWebSocketClient ¶
type Gs2ScriptWebSocketClient struct {
Session *core.Gs2WebSocketSession
}
func (Gs2ScriptWebSocketClient) CreateAuthorizedHeaders ¶
func (p Gs2ScriptWebSocketClient) CreateAuthorizedHeaders() map[string]string
func (Gs2ScriptWebSocketClient) CreateNamespace ¶
func (p Gs2ScriptWebSocketClient) CreateNamespace( request *CreateNamespaceRequest, ) (*CreateNamespaceResult, error)
func (Gs2ScriptWebSocketClient) CreateNamespaceAsync ¶
func (p Gs2ScriptWebSocketClient) CreateNamespaceAsync( request *CreateNamespaceRequest, callback chan<- CreateNamespaceAsyncResult, )
func (Gs2ScriptWebSocketClient) CreateScript ¶
func (p Gs2ScriptWebSocketClient) CreateScript( request *CreateScriptRequest, ) (*CreateScriptResult, error)
func (Gs2ScriptWebSocketClient) CreateScriptAsync ¶
func (p Gs2ScriptWebSocketClient) CreateScriptAsync( request *CreateScriptRequest, callback chan<- CreateScriptAsyncResult, )
func (Gs2ScriptWebSocketClient) CreateScriptFromGitHub ¶
func (p Gs2ScriptWebSocketClient) CreateScriptFromGitHub( request *CreateScriptFromGitHubRequest, ) (*CreateScriptFromGitHubResult, error)
func (Gs2ScriptWebSocketClient) CreateScriptFromGitHubAsync ¶
func (p Gs2ScriptWebSocketClient) CreateScriptFromGitHubAsync( request *CreateScriptFromGitHubRequest, callback chan<- CreateScriptFromGitHubAsyncResult, )
func (Gs2ScriptWebSocketClient) DebugInvoke ¶
func (p Gs2ScriptWebSocketClient) DebugInvoke( request *DebugInvokeRequest, ) (*DebugInvokeResult, error)
func (Gs2ScriptWebSocketClient) DebugInvokeAsync ¶
func (p Gs2ScriptWebSocketClient) DebugInvokeAsync( request *DebugInvokeRequest, callback chan<- DebugInvokeAsyncResult, )
func (Gs2ScriptWebSocketClient) DeleteNamespace ¶
func (p Gs2ScriptWebSocketClient) DeleteNamespace( request *DeleteNamespaceRequest, ) (*DeleteNamespaceResult, error)
func (Gs2ScriptWebSocketClient) DeleteNamespaceAsync ¶
func (p Gs2ScriptWebSocketClient) DeleteNamespaceAsync( request *DeleteNamespaceRequest, callback chan<- DeleteNamespaceAsyncResult, )
func (Gs2ScriptWebSocketClient) DeleteScript ¶
func (p Gs2ScriptWebSocketClient) DeleteScript( request *DeleteScriptRequest, ) (*DeleteScriptResult, error)
func (Gs2ScriptWebSocketClient) DeleteScriptAsync ¶
func (p Gs2ScriptWebSocketClient) DeleteScriptAsync( request *DeleteScriptRequest, callback chan<- DeleteScriptAsyncResult, )
func (Gs2ScriptWebSocketClient) DescribeNamespaces ¶
func (p Gs2ScriptWebSocketClient) DescribeNamespaces( request *DescribeNamespacesRequest, ) (*DescribeNamespacesResult, error)
func (Gs2ScriptWebSocketClient) DescribeNamespacesAsync ¶
func (p Gs2ScriptWebSocketClient) DescribeNamespacesAsync( request *DescribeNamespacesRequest, callback chan<- DescribeNamespacesAsyncResult, )
func (Gs2ScriptWebSocketClient) DescribeScripts ¶
func (p Gs2ScriptWebSocketClient) DescribeScripts( request *DescribeScriptsRequest, ) (*DescribeScriptsResult, error)
func (Gs2ScriptWebSocketClient) DescribeScriptsAsync ¶
func (p Gs2ScriptWebSocketClient) DescribeScriptsAsync( request *DescribeScriptsRequest, callback chan<- DescribeScriptsAsyncResult, )
func (Gs2ScriptWebSocketClient) GetNamespace ¶
func (p Gs2ScriptWebSocketClient) GetNamespace( request *GetNamespaceRequest, ) (*GetNamespaceResult, error)
func (Gs2ScriptWebSocketClient) GetNamespaceAsync ¶
func (p Gs2ScriptWebSocketClient) GetNamespaceAsync( request *GetNamespaceRequest, callback chan<- GetNamespaceAsyncResult, )
func (Gs2ScriptWebSocketClient) GetNamespaceStatus ¶
func (p Gs2ScriptWebSocketClient) GetNamespaceStatus( request *GetNamespaceStatusRequest, ) (*GetNamespaceStatusResult, error)
func (Gs2ScriptWebSocketClient) GetNamespaceStatusAsync ¶
func (p Gs2ScriptWebSocketClient) GetNamespaceStatusAsync( request *GetNamespaceStatusRequest, callback chan<- GetNamespaceStatusAsyncResult, )
func (Gs2ScriptWebSocketClient) GetScript ¶
func (p Gs2ScriptWebSocketClient) GetScript( request *GetScriptRequest, ) (*GetScriptResult, error)
func (Gs2ScriptWebSocketClient) GetScriptAsync ¶
func (p Gs2ScriptWebSocketClient) GetScriptAsync( request *GetScriptRequest, callback chan<- GetScriptAsyncResult, )
func (Gs2ScriptWebSocketClient) InvokeScript ¶
func (p Gs2ScriptWebSocketClient) InvokeScript( request *InvokeScriptRequest, ) (*InvokeScriptResult, error)
func (Gs2ScriptWebSocketClient) InvokeScriptAsync ¶
func (p Gs2ScriptWebSocketClient) InvokeScriptAsync( request *InvokeScriptRequest, callback chan<- InvokeScriptAsyncResult, )
func (Gs2ScriptWebSocketClient) UpdateNamespace ¶
func (p Gs2ScriptWebSocketClient) UpdateNamespace( request *UpdateNamespaceRequest, ) (*UpdateNamespaceResult, error)
func (Gs2ScriptWebSocketClient) UpdateNamespaceAsync ¶
func (p Gs2ScriptWebSocketClient) UpdateNamespaceAsync( request *UpdateNamespaceRequest, callback chan<- UpdateNamespaceAsyncResult, )
func (Gs2ScriptWebSocketClient) UpdateScript ¶
func (p Gs2ScriptWebSocketClient) UpdateScript( request *UpdateScriptRequest, ) (*UpdateScriptResult, error)
func (Gs2ScriptWebSocketClient) UpdateScriptAsync ¶
func (p Gs2ScriptWebSocketClient) UpdateScriptAsync( request *UpdateScriptRequest, callback chan<- UpdateScriptAsyncResult, )
func (Gs2ScriptWebSocketClient) UpdateScriptFromGitHub ¶
func (p Gs2ScriptWebSocketClient) UpdateScriptFromGitHub( request *UpdateScriptFromGitHubRequest, ) (*UpdateScriptFromGitHubResult, error)
func (Gs2ScriptWebSocketClient) UpdateScriptFromGitHubAsync ¶
func (p Gs2ScriptWebSocketClient) UpdateScriptFromGitHubAsync( request *UpdateScriptFromGitHubRequest, callback chan<- UpdateScriptFromGitHubAsyncResult, )
type InvokeScriptAsyncResult ¶
type InvokeScriptAsyncResult struct {
// contains filtered or unexported fields
}
type InvokeScriptRequest ¶
type InvokeScriptRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
ScriptId *string `json:"scriptId"`
UserId *string `json:"userId"`
Args *string `json:"args"`
RandomStatus *RandomStatus `json:"randomStatus"`
}
func NewInvokeScriptRequestFromDict ¶
func NewInvokeScriptRequestFromDict(data map[string]interface{}) InvokeScriptRequest
func NewInvokeScriptRequestFromJson ¶
func NewInvokeScriptRequestFromJson(data string) InvokeScriptRequest
func (InvokeScriptRequest) Pointer ¶
func (p InvokeScriptRequest) Pointer() *InvokeScriptRequest
func (InvokeScriptRequest) ToDict ¶
func (p InvokeScriptRequest) ToDict() map[string]interface{}
type InvokeScriptResult ¶
type InvokeScriptResult struct {
Code *int32 `json:"code"`
Result *string `json:"result"`
Transaction *Transaction `json:"transaction"`
RandomStatus *RandomStatus `json:"randomStatus"`
ExecuteTime *int32 `json:"executeTime"`
Charged *int32 `json:"charged"`
Output []*string `json:"output"`
}
func NewInvokeScriptResultFromDict ¶
func NewInvokeScriptResultFromDict(data map[string]interface{}) InvokeScriptResult
func NewInvokeScriptResultFromJson ¶
func NewInvokeScriptResultFromJson(data string) InvokeScriptResult
func (InvokeScriptResult) Pointer ¶
func (p InvokeScriptResult) Pointer() *InvokeScriptResult
func (InvokeScriptResult) ToDict ¶
func (p InvokeScriptResult) ToDict() map[string]interface{}
type LogSetting ¶
type LogSetting struct {
LoggingNamespaceId *string `json:"loggingNamespaceId"`
}
func CastLogSettings ¶
func CastLogSettings(data []interface{}) []LogSetting
func NewLogSettingFromDict ¶
func NewLogSettingFromDict(data map[string]interface{}) LogSetting
func NewLogSettingFromJson ¶
func NewLogSettingFromJson(data string) LogSetting
func (LogSetting) Pointer ¶
func (p LogSetting) Pointer() *LogSetting
func (LogSetting) ToDict ¶
func (p LogSetting) ToDict() map[string]interface{}
type Namespace ¶
type Namespace struct {
NamespaceId *string `json:"namespaceId"`
Name *string `json:"name"`
Description *string `json:"description"`
TransactionSetting *TransactionSetting `json:"transactionSetting"`
LogSetting *LogSetting `json:"logSetting"`
CreatedAt *int64 `json:"createdAt"`
UpdatedAt *int64 `json:"updatedAt"`
Revision *int64 `json:"revision"`
}
func CastNamespaces ¶
func CastNamespaces(data []interface{}) []Namespace
func NewNamespaceFromDict ¶
func NewNamespaceFromJson ¶
type RandomStatus ¶ added in v1.2.189
type RandomStatus struct {
Seed *int64 `json:"seed"`
Used []RandomUsed `json:"used"`
}
func CastRandomStatuses ¶ added in v1.2.189
func CastRandomStatuses(data []interface{}) []RandomStatus
func NewRandomStatusFromDict ¶ added in v1.2.189
func NewRandomStatusFromDict(data map[string]interface{}) RandomStatus
func NewRandomStatusFromJson ¶ added in v1.2.189
func NewRandomStatusFromJson(data string) RandomStatus
func (RandomStatus) Pointer ¶ added in v1.2.189
func (p RandomStatus) Pointer() *RandomStatus
func (RandomStatus) ToDict ¶ added in v1.2.189
func (p RandomStatus) ToDict() map[string]interface{}
type RandomUsed ¶ added in v1.2.189
func CastRandomUseds ¶ added in v1.2.189
func CastRandomUseds(data []interface{}) []RandomUsed
func NewRandomUsedFromDict ¶ added in v1.2.189
func NewRandomUsedFromDict(data map[string]interface{}) RandomUsed
func NewRandomUsedFromJson ¶ added in v1.2.189
func NewRandomUsedFromJson(data string) RandomUsed
func (RandomUsed) Pointer ¶ added in v1.2.189
func (p RandomUsed) Pointer() *RandomUsed
func (RandomUsed) ToDict ¶ added in v1.2.189
func (p RandomUsed) ToDict() map[string]interface{}
type Script ¶
type Script struct {
ScriptId *string `json:"scriptId"`
Name *string `json:"name"`
Description *string `json:"description"`
Script *string `json:"script"`
CreatedAt *int64 `json:"createdAt"`
UpdatedAt *int64 `json:"updatedAt"`
Revision *int64 `json:"revision"`
}
func CastScripts ¶
func CastScripts(data []interface{}) []Script
func NewScriptFromDict ¶
func NewScriptFromJson ¶
type Transaction ¶ added in v1.2.197
type Transaction struct {
TransactionId *string `json:"transactionId"`
ConsumeActions []ConsumeAction `json:"consumeActions"`
AcquireActions []AcquireAction `json:"acquireActions"`
}
func CastTransactions ¶ added in v1.2.197
func CastTransactions(data []interface{}) []Transaction
func NewTransactionFromDict ¶ added in v1.2.197
func NewTransactionFromDict(data map[string]interface{}) Transaction
func NewTransactionFromJson ¶ added in v1.2.197
func NewTransactionFromJson(data string) Transaction
func (Transaction) Pointer ¶ added in v1.2.197
func (p Transaction) Pointer() *Transaction
func (Transaction) ToDict ¶ added in v1.2.197
func (p Transaction) ToDict() map[string]interface{}
type TransactionSetting ¶ added in v1.2.211
type TransactionSetting struct {
EnableAutoRun *bool `json:"enableAutoRun"`
DistributorNamespaceId *string `json:"distributorNamespaceId"`
KeyId *string `json:"keyId"`
QueueNamespaceId *string `json:"queueNamespaceId"`
}
func CastTransactionSettings ¶ added in v1.2.211
func CastTransactionSettings(data []interface{}) []TransactionSetting
func NewTransactionSettingFromDict ¶ added in v1.2.211
func NewTransactionSettingFromDict(data map[string]interface{}) TransactionSetting
func NewTransactionSettingFromJson ¶ added in v1.2.211
func NewTransactionSettingFromJson(data string) TransactionSetting
func (TransactionSetting) Pointer ¶ added in v1.2.211
func (p TransactionSetting) Pointer() *TransactionSetting
func (TransactionSetting) ToDict ¶ added in v1.2.211
func (p TransactionSetting) ToDict() map[string]interface{}
type UpdateNamespaceAsyncResult ¶
type UpdateNamespaceAsyncResult struct {
// contains filtered or unexported fields
}
type UpdateNamespaceRequest ¶
type UpdateNamespaceRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
Description *string `json:"description"`
TransactionSetting *TransactionSetting `json:"transactionSetting"`
LogSetting *LogSetting `json:"logSetting"`
}
func NewUpdateNamespaceRequestFromDict ¶
func NewUpdateNamespaceRequestFromDict(data map[string]interface{}) UpdateNamespaceRequest
func NewUpdateNamespaceRequestFromJson ¶
func NewUpdateNamespaceRequestFromJson(data string) UpdateNamespaceRequest
func (UpdateNamespaceRequest) Pointer ¶
func (p UpdateNamespaceRequest) Pointer() *UpdateNamespaceRequest
func (UpdateNamespaceRequest) ToDict ¶
func (p UpdateNamespaceRequest) ToDict() map[string]interface{}
type UpdateNamespaceResult ¶
type UpdateNamespaceResult struct {
Item *Namespace `json:"item"`
}
func NewUpdateNamespaceResultFromDict ¶
func NewUpdateNamespaceResultFromDict(data map[string]interface{}) UpdateNamespaceResult
func NewUpdateNamespaceResultFromJson ¶
func NewUpdateNamespaceResultFromJson(data string) UpdateNamespaceResult
func (UpdateNamespaceResult) Pointer ¶
func (p UpdateNamespaceResult) Pointer() *UpdateNamespaceResult
func (UpdateNamespaceResult) ToDict ¶
func (p UpdateNamespaceResult) ToDict() map[string]interface{}
type UpdateScriptAsyncResult ¶
type UpdateScriptAsyncResult struct {
// contains filtered or unexported fields
}
type UpdateScriptFromGitHubAsyncResult ¶
type UpdateScriptFromGitHubAsyncResult struct {
// contains filtered or unexported fields
}
type UpdateScriptFromGitHubRequest ¶
type UpdateScriptFromGitHubRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
ScriptName *string `json:"scriptName"`
Description *string `json:"description"`
CheckoutSetting *GitHubCheckoutSetting `json:"checkoutSetting"`
}
func NewUpdateScriptFromGitHubRequestFromDict ¶
func NewUpdateScriptFromGitHubRequestFromDict(data map[string]interface{}) UpdateScriptFromGitHubRequest
func NewUpdateScriptFromGitHubRequestFromJson ¶
func NewUpdateScriptFromGitHubRequestFromJson(data string) UpdateScriptFromGitHubRequest
func (UpdateScriptFromGitHubRequest) Pointer ¶
func (p UpdateScriptFromGitHubRequest) Pointer() *UpdateScriptFromGitHubRequest
func (UpdateScriptFromGitHubRequest) ToDict ¶
func (p UpdateScriptFromGitHubRequest) ToDict() map[string]interface{}
type UpdateScriptFromGitHubResult ¶
type UpdateScriptFromGitHubResult struct {
Item *Script `json:"item"`
}
func NewUpdateScriptFromGitHubResultFromDict ¶
func NewUpdateScriptFromGitHubResultFromDict(data map[string]interface{}) UpdateScriptFromGitHubResult
func NewUpdateScriptFromGitHubResultFromJson ¶
func NewUpdateScriptFromGitHubResultFromJson(data string) UpdateScriptFromGitHubResult
func (UpdateScriptFromGitHubResult) Pointer ¶
func (p UpdateScriptFromGitHubResult) Pointer() *UpdateScriptFromGitHubResult
func (UpdateScriptFromGitHubResult) ToDict ¶
func (p UpdateScriptFromGitHubResult) ToDict() map[string]interface{}
type UpdateScriptRequest ¶
type UpdateScriptRequest struct {
RequestId *string `json:"requestId"`
ContextStack *string `json:"contextStack"`
NamespaceName *string `json:"namespaceName"`
ScriptName *string `json:"scriptName"`
Description *string `json:"description"`
Script *string `json:"script"`
}
func NewUpdateScriptRequestFromDict ¶
func NewUpdateScriptRequestFromDict(data map[string]interface{}) UpdateScriptRequest
func NewUpdateScriptRequestFromJson ¶
func NewUpdateScriptRequestFromJson(data string) UpdateScriptRequest
func (UpdateScriptRequest) Pointer ¶
func (p UpdateScriptRequest) Pointer() *UpdateScriptRequest
func (UpdateScriptRequest) ToDict ¶
func (p UpdateScriptRequest) ToDict() map[string]interface{}
type UpdateScriptResult ¶
type UpdateScriptResult struct {
Item *Script `json:"item"`
}
func NewUpdateScriptResultFromDict ¶
func NewUpdateScriptResultFromDict(data map[string]interface{}) UpdateScriptResult
func NewUpdateScriptResultFromJson ¶
func NewUpdateScriptResultFromJson(data string) UpdateScriptResult
func (UpdateScriptResult) Pointer ¶
func (p UpdateScriptResult) Pointer() *UpdateScriptResult
func (UpdateScriptResult) ToDict ¶
func (p UpdateScriptResult) ToDict() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.