backend

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigPath            = "config"
	ConfigPathPrefix      = ConfigPath + "/"
	ConfigAuthCodeURLPath = ConfigPathPrefix + "auth_code_url"
)
View Source
const (
	ConfigSelfPathPrefix = ConfigPathPrefix + "self/"
)
View Source
const (
	CredsPathPrefix = "creds/"
)
View Source
const (
	SelfPathPrefix = "self/"
)

Variables

View Source
var (
	ErrNotConfigured = errors.New("not configured")
)

Functions

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

func New

func New(opts Options) *framework.Backend

Types

type Options

type Options struct {
	ProviderRegistry *provider.Registry
	Logger           hclog.Logger
	Clock            clock.Clock
}

Jump to

Keyboard shortcuts

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