Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PersistTypeSLS is the SLS persister. PersistTypeSLS string = "sls" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistWorkflowRecord ¶ added in v0.4.0
type PersistWorkflowRecord interface {
Store(ctx monitorContext.Context, run *v1alpha1.WorkflowRun) error
}
PersistWorkflowRecord is the interface for record persist
func NewPersister ¶
func NewPersister(config map[string][]byte, persistType string) (PersistWorkflowRecord, error)
NewPersister is a factory method for creating a persister.
Click to show internal directories.
Click to hide internal directories.