store

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("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) CreateAssessment

func (*LadybugStore) GetAssessment

func (store *LadybugStore) GetAssessment(ctx context.Context, projectID string, claimID string) (projectconfidence.ConfidenceAssessment, error)

func (*LadybugStore) ListAssessments

type MemoryStore

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

func NewMemoryStore

func NewMemoryStore() *MemoryStore

func (*MemoryStore) GetAssessment

func (store *MemoryStore) GetAssessment(_ context.Context, projectID string, claimID string) (projectconfidence.ConfidenceAssessment, error)

func (*MemoryStore) ListAssessments

type Store

type Store = projectconfidence.Store

Jump to

Keyboard shortcuts

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