consts

package
v0.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2017 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExpirationRestoreWorkerCount specifies the numer of workers to use while
	// restoring leases into the expiration manager
	ExpirationRestoreWorkerCount = 64
)

Variables

View Source
var (
	// ErrSealed is returned if an operation is performed on a sealed barrier.
	// No operation is expected to succeed before unsealing
	ErrSealed = errors.New("Vault is sealed")

	// ErrStandby is returned if an operation is performed on a standby Vault.
	// No operation is expected to succeed until active.
	ErrStandby = errors.New("Vault is in standby mode")

	// Used when .. is used in a path
	ErrPathContainsParentReferences = errors.New("path cannot contain parent references")
)

Functions

This section is empty.

Types

type ReplicationState

type ReplicationState uint32
const (
	ReplicationDisabled ReplicationState = iota
	ReplicationPrimary
	ReplicationSecondary
)

func (ReplicationState) String

func (r ReplicationState) String() string

Jump to

Keyboard shortcuts

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