akv

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New(client akv.SecretClient, logger log.Logger) *Store

func (*Store) Delete

func (s *Store) Delete(ctx context.Context, id string) error

func (*Store) Destroy

func (s *Store) Destroy(ctx context.Context, id string) error

func (*Store) Get

func (s *Store) Get(ctx context.Context, id, version string) (*entities.Secret, error)

func (*Store) GetDeleted

func (s *Store) GetDeleted(ctx context.Context, id string) (*entities.Secret, error)

func (*Store) Info

func (s *Store) Info(context.Context) (*entities.Store, error)

func (*Store) List

func (s *Store) List(ctx context.Context, _, _ uint64) ([]string, error)

func (*Store) ListDeleted

func (s *Store) ListDeleted(ctx context.Context, _, _ uint64) ([]string, error)

func (*Store) Restore

func (s *Store) Restore(ctx context.Context, id string) error

func (*Store) Set

func (s *Store) Set(ctx context.Context, id, value string, attr *entities.Attributes) (*entities.Secret, error)

Jump to

Keyboard shortcuts

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