Documentation ¶
Index ¶
- type PostgresStore
- func (s *PostgresStore) CreatePolicy(ctx context.Context, p policy.Policy) error
- func (s *PostgresStore) CreateWorkflow(ctx context.Context, w workflow.Workflow) error
- func (s *PostgresStore) UpdatePolicy(ctx context.Context, policyID string, p policy.Policy) error
- func (s *PostgresStore) UpdateWorkflow(ctx context.Context, workflowID string, w workflow.Workflow) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStore ¶
type PostgresStore struct {
// contains filtered or unexported fields
}
func NewPostgresStore ¶
func NewPostgresStore(db *gorm.DB, tracer tracing.Tracer) *PostgresStore
func (*PostgresStore) CreatePolicy ¶
Policy Store Implementation
func (*PostgresStore) CreateWorkflow ¶
Workflow Store Implementation
func (*PostgresStore) UpdatePolicy ¶
func (*PostgresStore) UpdateWorkflow ¶
Click to show internal directories.
Click to hide internal directories.