cubbyhole

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	Get(ctx context.Context, token string, w io.Writer) error
}

type Service

type Service interface {
	Reader
	Writer
}

func New

func New(client *api.Client, mountPath string) (Service, error)

New instanciates a Vault cubbyhole backend service.

type Writer

type Writer interface {
	Put(ctx context.Context, r io.Reader) (string, error)
}

Jump to

Keyboard shortcuts

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