Documentation
¶
Index ¶
Constants ¶
View Source
const ( Memory = "Memory" File = "File" DynamoDB = "dynamodb" CosmosDB = "cosmosdb" RestServer = "REST" Postgres = "Postgres" StoreType = "FLOGO_STATEFUL_STORE_TYPE" )
Variables ¶
This section is empty.
Functions ¶
func InitStorage ¶
Types ¶
type Persistence ¶
type Store ¶
type Store interface { GetStatus(flowId string) int GetFlow(flowId string, metadata *metadata.Metadata) (*state.FlowInfo, error) GetFlows(metadata *metadata.Metadata) ([]*state.FlowInfo, error) GetFailedFlows(metadata *metadata.Metadata) ([]*state.FlowInfo, error) SaveStep(step *state.Step) error GetSteps(flowId string) ([]*state.Step, error) GetStepsNoData(flowId string) ([]map[string]string, error) Delete(flowId string) SaveSnapshot(snapshot *state.Snapshot) error GetSnapshot(flowId string) *state.Snapshot RecordStart(step *state.FlowState) error RecordEnd(step *state.FlowState) error }
func RegistedStore ¶
func RegistedStore() Store
Click to show internal directories.
Click to hide internal directories.