Documentation
¶
Index ¶
- type ActivateOffchainWorkflowRequest
- type ActivateOffchainWorkflowResponse
- type Client
- func (c *Client) ActivateWorkflowInRegistry(workflowID string) (OffchainWorkflow, error)
- func (c *Client) CreateServiceContextWithTimeout() (context.Context, context.CancelFunc)
- func (c *Client) DeleteWorkflowInRegistry(workflowID string) (string, error)
- func (c *Client) GetWorkflowByName(workflowName string) (OffchainWorkflow, error)
- func (c *Client) PauseWorkflowInRegistry(workflowID string) (OffchainWorkflow, error)
- func (c *Client) SetServiceTimeout(timeout time.Duration)
- func (c *Client) UpsertWorkflowInRegistry(workflow OffchainWorkflowInput) (OffchainWorkflow, error)
- type DeleteOffchainWorkflowRequest
- type DeleteOffchainWorkflowResponse
- type GetOffchainWorkflowByNameRequest
- type GetOffchainWorkflowByNameResponse
- type OffchainWorkflow
- type OffchainWorkflowInput
- type OffchainWorkflowStatus
- type PauseOffchainWorkflowRequest
- type PauseOffchainWorkflowResponse
- type UpsertOffchainWorkflowRequest
- type UpsertOffchainWorkflowResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateOffchainWorkflowRequest ¶
type ActivateOffchainWorkflowRequest struct {
WorkflowID string `json:"workflowId"`
}
type ActivateOffchainWorkflowResponse ¶
type ActivateOffchainWorkflowResponse struct {
Workflow OffchainWorkflow `json:"workflow"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ActivateWorkflowInRegistry ¶
func (c *Client) ActivateWorkflowInRegistry(workflowID string) (OffchainWorkflow, error)
func (*Client) CreateServiceContextWithTimeout ¶
func (c *Client) CreateServiceContextWithTimeout() (context.Context, context.CancelFunc)
func (*Client) DeleteWorkflowInRegistry ¶
func (*Client) GetWorkflowByName ¶
func (c *Client) GetWorkflowByName(workflowName string) (OffchainWorkflow, error)
func (*Client) PauseWorkflowInRegistry ¶
func (c *Client) PauseWorkflowInRegistry(workflowID string) (OffchainWorkflow, error)
func (*Client) SetServiceTimeout ¶
func (*Client) UpsertWorkflowInRegistry ¶
func (c *Client) UpsertWorkflowInRegistry(workflow OffchainWorkflowInput) (OffchainWorkflow, error)
type DeleteOffchainWorkflowRequest ¶
type DeleteOffchainWorkflowRequest struct {
WorkflowID string `json:"workflowId"`
}
type DeleteOffchainWorkflowResponse ¶
type DeleteOffchainWorkflowResponse struct {
WorkflowID string `json:"workflowId"`
}
type GetOffchainWorkflowByNameRequest ¶
type GetOffchainWorkflowByNameRequest struct {
WorkflowName string `json:"workflowName"`
}
type GetOffchainWorkflowByNameResponse ¶
type GetOffchainWorkflowByNameResponse struct {
Workflow OffchainWorkflow `json:"workflow"`
}
type OffchainWorkflow ¶
type OffchainWorkflow struct {
WorkflowID string `json:"workflowId"`
Owner string `json:"owner"`
CreatedAt string `json:"createdAt"`
Status OffchainWorkflowStatus `json:"status"`
WorkflowName string `json:"workflowName"`
BinaryURL string `json:"binaryUrl"`
ConfigURL string `json:"configUrl"`
Tag string `json:"tag"`
Attributes string `json:"attributes"`
DonFamily string `json:"donFamily"`
OrganizationID string `json:"organizationId"`
}
type OffchainWorkflowInput ¶
type OffchainWorkflowInput struct {
WorkflowID string `json:"workflowId"`
Status OffchainWorkflowStatus `json:"status"`
WorkflowName string `json:"workflowName"`
BinaryURL string `json:"binaryUrl"`
ConfigURL *string `json:"configUrl,omitempty"`
Tag *string `json:"tag,omitempty"`
Attributes *string `json:"attributes,omitempty"`
DonFamily string `json:"donFamily"`
}
type OffchainWorkflowStatus ¶
type OffchainWorkflowStatus string
const ( WorkflowStatusUnspecified OffchainWorkflowStatus = "WORKFLOW_STATUS_UNSPECIFIED" WorkflowStatusActive OffchainWorkflowStatus = "WORKFLOW_STATUS_ACTIVE" WorkflowStatusPaused OffchainWorkflowStatus = "WORKFLOW_STATUS_PAUSED" )
type PauseOffchainWorkflowRequest ¶
type PauseOffchainWorkflowRequest struct {
WorkflowID string `json:"workflowId"`
}
type PauseOffchainWorkflowResponse ¶
type PauseOffchainWorkflowResponse struct {
Workflow OffchainWorkflow `json:"workflow"`
}
type UpsertOffchainWorkflowRequest ¶
type UpsertOffchainWorkflowRequest struct {
Workflow OffchainWorkflowInput `json:"workflow"`
}
type UpsertOffchainWorkflowResponse ¶
type UpsertOffchainWorkflowResponse struct {
Workflow OffchainWorkflow `json:"workflow"`
}
Click to show internal directories.
Click to hide internal directories.