vault

package
v0.0.0-...-315b7b0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SkipTLSVerification

func SkipTLSVerification(skip bool) interfaces.StoreOption

func WithNamespace

func WithNamespace(namespace string) interfaces.StoreOption

func WithServers

func WithServers(servers ...string) interfaces.StoreOption

func WithToken

func WithToken(token string) interfaces.StoreOption

Types

type Vault

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

func New

func New(options ...interfaces.StoreOption) (*Vault, error)

func (*Vault) Create

func (v *Vault) Create(key string, value interface{}) error

func (*Vault) Delete

func (v *Vault) Delete(key string) error

func (*Vault) List

func (v *Vault) List(params ...interface{}) (interface{}, error)

func (*Vault) Read

func (v *Vault) Read(key string) (interface{}, error)

func (*Vault) Update

func (v *Vault) Update(key string, value interface{}) error

Jump to

Keyboard shortcuts

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