Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageFactory ¶
type StorageFactory struct {
// contains filtered or unexported fields
}
func NewStorageFactory ¶
func NewStorageFactory(tracer tracing.Tracer) *StorageFactory
func (*StorageFactory) CreateStore ¶
func (f *StorageFactory) CreateStore(storeType StorageType, config interface{}) (storage.PolicyStore, storage.WorkflowStore, error)
type StorageType ¶
type StorageType string
const ( PostgreSQL StorageType = "postgresql" MongoDB StorageType = "mongodb" )
Click to show internal directories.
Click to hide internal directories.