Documentation ¶
Index ¶
- type Client
- func (x *Client) Close() error
- func (x *Client) GetAlert(ctx context.Context, id types.AlertID) (*model.Alert, error)
- func (x *Client) GetAttrs(ctx context.Context, ns types.Namespace) (model.Attributes, error)
- func (x *Client) GetWorkflow(ctx context.Context, id types.WorkflowID) (*model.WorkflowRecord, error)
- func (x *Client) GetWorkflows(ctx context.Context, offset, limit int) ([]model.WorkflowRecord, error)
- func (x *Client) Lock(ctx context.Context, ns types.Namespace, timeout time.Time) error
- func (x *Client) PutAlert(ctx context.Context, alert model.Alert) error
- func (x *Client) PutAttrs(ctx context.Context, ns types.Namespace, attrs model.Attributes) error
- func (x *Client) PutWorkflow(ctx context.Context, workflow model.WorkflowRecord) error
- func (x *Client) Unlock(ctx context.Context, ns types.Namespace) error
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
}
func (*Client) GetWorkflow ¶
func (x *Client) GetWorkflow(ctx context.Context, id types.WorkflowID) (*model.WorkflowRecord, error)
func (*Client) GetWorkflows ¶
func (*Client) PutWorkflow ¶
Click to show internal directories.
Click to hide internal directories.