Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyStore ¶
type PolicyStore interface { CreatePolicy(ctx context.Context, p policy.Policy) error UpdatePolicy(ctx context.Context, policyID string, p policy.Policy) error DeletePolicy(ctx context.Context, policyID string) error GetPolicy(ctx context.Context, policyID string) (*policy.Policy, error) ListPolicies(ctx context.Context) ([]policy.Policy, error) }
type WorkflowStore ¶
type WorkflowStore interface { CreateWorkflow(ctx context.Context, w workflow.Workflow) error UpdateWorkflow(ctx context.Context, workflowID string, w workflow.Workflow) error DeleteWorkflow(ctx context.Context, workflowID string) error GetWorkflow(ctx context.Context, workflowID string) (*workflow.Workflow, error) ListWorkflows(ctx context.Context) ([]workflow.Workflow, error) }
Click to show internal directories.
Click to hide internal directories.