sql

package
v0.0.0-...-b180f38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (s *PostgresStore) CreatePolicy(ctx context.Context, p policy.Policy) error

Policy Store Implementation

func (*PostgresStore) CreateWorkflow

func (s *PostgresStore) CreateWorkflow(ctx context.Context, w workflow.Workflow) error

Workflow Store Implementation

func (*PostgresStore) UpdatePolicy

func (s *PostgresStore) UpdatePolicy(ctx context.Context, policyID string, p policy.Policy) error

func (*PostgresStore) UpdateWorkflow

func (s *PostgresStore) UpdateWorkflow(ctx context.Context, workflowID string, w workflow.Workflow) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL