vault

package
v0.0.0-...-98b28bd Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func New

func New(endpoints []string, timeout time.Duration, apolloService string) (*DB, error)

func (*DB) Close

func (db *DB) Close()

func (*DB) SSecrets

func (db *DB) SSecrets() storage.SSecrets

type SSecrets

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

func (*SSecrets) List

func (s *SSecrets) List(ctx context.Context, key, user string) (error, map[string]string)

func (*SSecrets) Mutate

func (s *SSecrets) Mutate(ctx context.Context, key, user string, req map[string]interface{}) (error, string)

Jump to

Keyboard shortcuts

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