store

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 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 EncryptedSecretStore

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

func NewSecretStore

func NewSecretStore(secretStore model.SecretStore) *EncryptedSecretStore

func (*EncryptedSecretStore) EnableEncryption

func (wrapper *EncryptedSecretStore) EnableEncryption() error

func (*EncryptedSecretStore) GlobalSecretFind

func (wrapper *EncryptedSecretStore) GlobalSecretFind(s string) (*model.Secret, error)

func (*EncryptedSecretStore) GlobalSecretList

func (wrapper *EncryptedSecretStore) GlobalSecretList(p *model.ListOptions) ([]*model.Secret, error)

func (*EncryptedSecretStore) MigrateEncryption

func (wrapper *EncryptedSecretStore) MigrateEncryption(newEncryptionService model.EncryptionService) error

func (*EncryptedSecretStore) OrgSecretFind

func (wrapper *EncryptedSecretStore) OrgSecretFind(s int64, s2 string) (*model.Secret, error)

func (*EncryptedSecretStore) OrgSecretList

func (wrapper *EncryptedSecretStore) OrgSecretList(s int64, p *model.ListOptions) ([]*model.Secret, error)

func (*EncryptedSecretStore) SecretCreate

func (wrapper *EncryptedSecretStore) SecretCreate(secret *model.Secret) error

func (*EncryptedSecretStore) SecretDelete

func (wrapper *EncryptedSecretStore) SecretDelete(secret *model.Secret) error

func (*EncryptedSecretStore) SecretFind

func (wrapper *EncryptedSecretStore) SecretFind(repo *model.Repo, s string) (*model.Secret, error)

func (*EncryptedSecretStore) SecretList

func (wrapper *EncryptedSecretStore) SecretList(repo *model.Repo, b bool, p *model.ListOptions) ([]*model.Secret, error)

func (*EncryptedSecretStore) SecretListAll

func (wrapper *EncryptedSecretStore) SecretListAll() ([]*model.Secret, error)

func (*EncryptedSecretStore) SecretUpdate

func (wrapper *EncryptedSecretStore) SecretUpdate(secret *model.Secret) error

func (*EncryptedSecretStore) SetEncryptionService

func (wrapper *EncryptedSecretStore) SetEncryptionService(service model.EncryptionService) error

Jump to

Keyboard shortcuts

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