database

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretsStoreImpl

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

func ProvideSecretsStore

func ProvideSecretsStore(sqlStore *sqlstore.SQLStore) *SecretsStoreImpl

func (*SecretsStoreImpl) CreateDataKey

func (ss *SecretsStoreImpl) CreateDataKey(ctx context.Context, dataKey secrets.DataKey) error

func (*SecretsStoreImpl) CreateDataKeyWithDBSession

func (ss *SecretsStoreImpl) CreateDataKeyWithDBSession(_ context.Context, dataKey secrets.DataKey, sess *xorm.Session) error

func (*SecretsStoreImpl) DeleteDataKey

func (ss *SecretsStoreImpl) DeleteDataKey(ctx context.Context, name string) error

func (*SecretsStoreImpl) GetAllDataKeys

func (ss *SecretsStoreImpl) GetAllDataKeys(ctx context.Context) ([]*secrets.DataKey, error)

func (*SecretsStoreImpl) GetDataKey

func (ss *SecretsStoreImpl) GetDataKey(ctx context.Context, name string) (*secrets.DataKey, error)

Jump to

Keyboard shortcuts

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