mem

package
v0.0.0-...-a5a05a9 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapshotStore

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

func (*SnapshotStore) Delete

func (s *SnapshotStore) Delete(flowId string)

func (*SnapshotStore) GetFlow

func (s *SnapshotStore) GetFlow(flowId string) *state.FlowInfo

func (*SnapshotStore) GetFlows

func (s *SnapshotStore) GetFlows() []*state.FlowInfo

func (*SnapshotStore) GetSnapshot

func (s *SnapshotStore) GetSnapshot(flowId string) *state.Snapshot

func (*SnapshotStore) GetStatus

func (s *SnapshotStore) GetStatus(flowId string) int

func (*SnapshotStore) SaveSnapshot

func (s *SnapshotStore) SaveSnapshot(snapshot *state.Snapshot) error

type StepStore

type StepStore struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewStore

func NewStore() *StepStore

func (*StepStore) Delete

func (s *StepStore) Delete(flowId string)

func (*StepStore) GetFailedFlows

func (s *StepStore) GetFailedFlows(metadata *metadata.Metadata) ([]*state.FlowInfo, error)

func (*StepStore) GetFlow

func (s *StepStore) GetFlow(flowid string, fmetadata *metadata.Metadata) (*state.FlowInfo, error)

func (*StepStore) GetFlows

func (s *StepStore) GetFlows(metadata *metadata.Metadata) ([]*state.FlowInfo, error)

func (*StepStore) GetSnapshot

func (s *StepStore) GetSnapshot(flowId string) *state.Snapshot

func (*StepStore) GetStatus

func (s *StepStore) GetStatus(flowId string) int

func (*StepStore) GetSteps

func (s *StepStore) GetSteps(flowId string) ([]*state.Step, error)

func (*StepStore) GetStepsNoData

func (s *StepStore) GetStepsNoData(flowId string) ([]map[string]string, error)

func (*StepStore) RecordEnd

func (s *StepStore) RecordEnd(flowState *state.FlowState) error

func (*StepStore) RecordStart

func (s *StepStore) RecordStart(flowState *state.FlowState) error

func (*StepStore) SaveSnapshot

func (s *StepStore) SaveSnapshot(snapshot *state.Snapshot) error

func (*StepStore) SaveStep

func (s *StepStore) SaveStep(step *state.Step) error

Jump to

Keyboard shortcuts

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