migrator

package
v0.0.0-kmdagger1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretsMigrator

type SecretsMigrator struct {
	// contains filtered or unexported fields
}

func ProvideSecretsMigrator

func ProvideSecretsMigrator(
	encryptionSrv encryption.Internal,
	service *manager.SecretsService,
	sqlStore db.DB,
	settings setting.Provider,
	features featuremgmt.FeatureToggles,
) *SecretsMigrator

func (*SecretsMigrator) ReEncryptSecrets

func (m *SecretsMigrator) ReEncryptSecrets(ctx context.Context) (bool, error)

func (*SecretsMigrator) RollBackSecrets

func (m *SecretsMigrator) RollBackSecrets(ctx context.Context) (bool, error)

Jump to

Keyboard shortcuts

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