store

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDuplicate = errors.New("project workflow resource already exists")
View Source
var ErrNotFound = errors.New("project workflow resource not found")

Functions

This section is empty.

Types

type MemoryStore

type MemoryStore struct {
	// contains filtered or unexported fields
}

func NewMemoryStore

func NewMemoryStore() *MemoryStore

func (*MemoryStore) CreateWorkflow

func (*MemoryStore) GetPermissionSnapshot

func (store *MemoryStore) GetPermissionSnapshot(_ context.Context, projectID, snapshotID string) (projectworkflow.WorkflowPermissionSnapshot, error)

func (*MemoryStore) GetWorkflow

func (store *MemoryStore) GetWorkflow(_ context.Context, projectID, workflowID string) (projectworkflow.WorkflowDefinition, error)

func (*MemoryStore) ListPermissionSnapshots

func (*MemoryStore) ListWorkflows

func (store *MemoryStore) ListWorkflows(_ context.Context, filter WorkflowFilter) ([]projectworkflow.WorkflowDefinition, error)

func (*MemoryStore) UpdateWorkflow

type WorkflowFilter

type WorkflowFilter = projectworkflow.WorkflowFilter

Jump to

Keyboard shortcuts

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