backend

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigPath       = "config"
	ConfigPathPrefix = ConfigPath + "/"
)
View Source
const (
	AuthCodeURLPath = "auth-code-url"
)
View Source
const (
	CredsPathPrefix = "creds/"
)
View Source
const (
	STSPathPrefix = "sts/"
)
View Source
const (
	SelfPathPrefix = "self/"
)
View Source
const (
	ServersPathPrefix = "servers/"
)

Variables

View Source
var (
	ErrMissingServerField = errors.New("missing server (consider configuring a default server)")
	ErrNoSuchServer       = errors.New("server configuration does not exist (was it deleted?)")
)

Functions

func Factory

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

func New

func New(opts Options) (logical.Backend, error)

Types

type Options

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

Jump to

Keyboard shortcuts

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