vault: Index | Files

package manta

import ""


Package Files


func NewMantaBackend Uses

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

type MantaBackend Uses

type MantaBackend struct {
    // contains filtered or unexported fields

func (*MantaBackend) Delete Uses

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

Delete is used to permanently delete an entry

func (*MantaBackend) Get Uses

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

Get is used to fetch an entry

func (*MantaBackend) List Uses

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

List is used to list all the keys under a given prefix, up to the next prefix.

func (*MantaBackend) Put Uses

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

Put is used to insert or update an entry

Package manta imports 18 packages (graph) and is imported by 4 packages. Updated 2019-04-20. Refresh now. Tools for package owners.