Documentation ¶
Index ¶
- func NewSQLconfigFromDatastoreSpec(spec *v1alpha1.TemporalDatastoreSpec) *config.SQL
- type Manager
- func (m *Manager) RunDefaultStoreUpdateTask(ctx context.Context, cluster *v1alpha1.TemporalCluster, ...) error
- func (m *Manager) RunStoreSetupTask(ctx context.Context, cluster *v1alpha1.TemporalCluster, ...) error
- func (m *Manager) RunVisibilityStoreUpdateTask(ctx context.Context, cluster *v1alpha1.TemporalCluster, ...) error
- type Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSQLconfigFromDatastoreSpec ¶
func NewSQLconfigFromDatastoreSpec(spec *v1alpha1.TemporalDatastoreSpec) *config.SQL
NewSQLconfigFromDatastoreSpec creates a new instance of a temporal SQL config from the provided TemporalDatastoreSpec.
Types ¶
type Manager ¶
Manager handler persistence receonciliation.
func NewManager ¶
NewManager creates a new instance of the persistence manager.
func (*Manager) RunDefaultStoreUpdateTask ¶ added in v0.0.2
func (m *Manager) RunDefaultStoreUpdateTask(ctx context.Context, cluster *v1alpha1.TemporalCluster, store *v1alpha1.TemporalDatastoreSpec, version semver.Version) error
RunDefaultStoreUpdateTask runs the update schema task on the provided cluster's default store.
func (*Manager) RunStoreSetupTask ¶ added in v0.0.2
func (m *Manager) RunStoreSetupTask(ctx context.Context, cluster *v1alpha1.TemporalCluster, store *v1alpha1.TemporalDatastoreSpec) error
RunStoreSetupTask runs the setup schema task on the provided cluster's store.
func (*Manager) RunVisibilityStoreUpdateTask ¶ added in v0.0.2
func (m *Manager) RunVisibilityStoreUpdateTask(ctx context.Context, cluster *v1alpha1.TemporalCluster, store *v1alpha1.TemporalDatastoreSpec, version semver.Version) error
RunVisibilityStoreUpdateTask runs the update schema task on the provided cluster's visibility store.
Click to show internal directories.
Click to hide internal directories.