bank-vaults: github.com/banzaicloud/bank-vaults/pkg/kv Index | Files | Directories

package kv

import "github.com/banzaicloud/bank-vaults/pkg/kv"

Index

Package Files

kv.go

type NotFoundError Uses

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

NotFoundError represents an error when a key is not found

func NewNotFoundError Uses

func NewNotFoundError(msg string, args ...interface{}) *NotFoundError

NewNotFoundError creates a new NotFoundError

func (*NotFoundError) Error Uses

func (e *NotFoundError) Error() string

type Service Uses

type Service interface {
    Set(key string, value []byte) error
    Get(key string) ([]byte, error)
}

Service defines a basic key-value store. Implementations of this interface may or may not guarantee consistency or security properties.

type Tester Uses

type Tester struct {
    Service Service
}

func (Tester) Test Uses

func (t Tester) Test(key string) error

Directories

PathSynopsis
alibabakms
alibabaoss
awskms
azurekv
dev
file
gckms
gcs
k8s
s3

Package kv imports 1 packages (graph) and is imported by 11 packages. Updated 2019-05-23. Refresh now. Tools for package owners.