vault: github.com/hashicorp/vault/physical/couchdb Index | Files

package couchdb

import "github.com/hashicorp/vault/physical/couchdb"

Index

Package Files

couchdb.go

func NewCouchDBBackend Uses

func NewCouchDBBackend(conf map[string]string, logger log.Logger) (physical.Backend, error)

func NewTransactionalCouchDBBackend Uses

func NewTransactionalCouchDBBackend(conf map[string]string, logger log.Logger) (physical.Backend, error)

type CouchDBBackend Uses

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

CouchDBBackend allows the management of couchdb users

func (*CouchDBBackend) Delete Uses

func (m *CouchDBBackend) Delete(ctx context.Context, key string) error

Delete is used to permanently delete an entry

func (*CouchDBBackend) DeleteInternal Uses

func (m *CouchDBBackend) DeleteInternal(ctx context.Context, key string) error

DeleteInternal is used to permanently delete an entry

func (*CouchDBBackend) Get Uses

func (m *CouchDBBackend) Get(ctx context.Context, key string) (*physical.Entry, error)

Get is used to fetch an entry

func (*CouchDBBackend) GetInternal Uses

func (m *CouchDBBackend) GetInternal(ctx context.Context, key string) (*physical.Entry, error)

GetInternal is used to fetch an entry

func (*CouchDBBackend) List Uses

func (m *CouchDBBackend) List(ctx context.Context, prefix string) ([]string, error)

List is used to list all the keys under a given prefix

func (*CouchDBBackend) Put Uses

func (m *CouchDBBackend) Put(ctx context.Context, entry *physical.Entry) error

Put is used to insert or update an entry

func (*CouchDBBackend) PutInternal Uses

func (m *CouchDBBackend) PutInternal(ctx context.Context, entry *physical.Entry) error

PutInternal is used to insert or update an entry

type TransactionalCouchDBBackend Uses

type TransactionalCouchDBBackend struct {
    CouchDBBackend
}

TransactionalCouchDBBackend creates a couchdb backend that forces all operations to happen in serial

Package couchdb imports 16 packages (graph) and is imported by 3 packages. Updated 2019-05-09. Refresh now. Tools for package owners.