Documentation
¶
Index ¶
- type Client
- func (c *Client) Diff(ctx context.Context, input TargetOperationInput) (responses.Diff, error)
- func (c *Client) Exec(ctx context.Context, input TargetOperationInput) (responses.Exec, error)
- func (c *Client) ExecuteWorkflow(ctx context.Context, input requests.CreateWorkflow) (responses.ExecuteWorkflow, error)
- func (c *Client) GetLogs(ctx context.Context, workflowName string) (responses.GetLogs, error)
- func (c *Client) GetWorkflowStatus(ctx context.Context, workflowName string) (responses.GetWorkflowStatus, error)
- func (c *Client) GetWorkflows(ctx context.Context, project, target string) (responses.GetWorkflows, error)
- func (c *Client) StreamLogs(ctx context.Context, w io.Writer, workflowName string) error
- func (c *Client) Sync(ctx context.Context, input TargetOperationInput) (responses.Sync, error)
- type TargetOperationInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an API client.
func (*Client) ExecuteWorkflow ¶
func (c *Client) ExecuteWorkflow(ctx context.Context, input requests.CreateWorkflow) (responses.ExecuteWorkflow, error)
ExecuteWorkflow submits a workflow execution request.
func (*Client) GetWorkflowStatus ¶
func (c *Client) GetWorkflowStatus(ctx context.Context, workflowName string) (responses.GetWorkflowStatus, error)
GetWorkflowStatus gets the status of a workflow.
func (*Client) GetWorkflows ¶
func (c *Client) GetWorkflows(ctx context.Context, project, target string) (responses.GetWorkflows, error)
GetWorkflows gets the list of workflows for a project and target.
func (*Client) StreamLogs ¶
StreamLogs streams the logs of a workflow starting after loggedBytes.
Click to show internal directories.
Click to hide internal directories.