store

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type LadybugStore

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

func NewBootstrappedLadybugStore

func NewBootstrappedLadybugStore(ctx context.Context, graph ladybug.Graph) (*LadybugStore, error)

func NewLadybugStore

func NewLadybugStore(graph ladybug.Graph) *LadybugStore

func (*LadybugStore) CreateChainRun

func (*LadybugStore) FindChainRunByWorkPlan

func (store *LadybugStore) FindChainRunByWorkPlan(ctx context.Context, projectID, workPlanID string) (projectworkflowchain.ChainRun, error)

func (*LadybugStore) GetChainRun

func (store *LadybugStore) GetChainRun(ctx context.Context, projectID, chainRunID string) (projectworkflowchain.ChainRun, error)

func (*LadybugStore) ListChainRuns

func (*LadybugStore) UpdateChainRun

type MemoryStore

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

func NewMemoryStore

func NewMemoryStore() *MemoryStore

func (*MemoryStore) CreateChainRun

func (*MemoryStore) FindChainRunByWorkPlan

func (store *MemoryStore) FindChainRunByWorkPlan(_ context.Context, projectID, workPlanID string) (projectworkflowchain.ChainRun, error)

func (*MemoryStore) GetChainRun

func (store *MemoryStore) GetChainRun(_ context.Context, projectID, chainRunID string) (projectworkflowchain.ChainRun, error)

func (*MemoryStore) ListChainRuns

func (*MemoryStore) UpdateChainRun

Jump to

Keyboard shortcuts

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