factory

package
v0.0.0-...-17e6b21 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

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