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 ( OldReplicationPrimary ReplicationState OldReplicationSecondary OldReplicationBootstrapping ReplicationDisabled ReplicationState = 0 ReplicationPerformancePrimary ReplicationState = 1 << iota ReplicationPerformanceSecondary ReplicationBootstrapping ReplicationDRPrimary ReplicationDRSecondary )
func (*ReplicationState) AddState ¶ added in v0.8.2
func (r *ReplicationState) AddState(flag ReplicationState)
func (*ReplicationState) ClearState ¶ added in v0.8.2
func (r *ReplicationState) ClearState(flag ReplicationState)
func (ReplicationState) HasState ¶ added in v0.8.2
func (r ReplicationState) HasState(flag ReplicationState) bool
func (ReplicationState) String ¶
func (r ReplicationState) String() string
func (*ReplicationState) ToggleState ¶ added in v0.8.2
func (r *ReplicationState) ToggleState(flag ReplicationState)
Click to show internal directories.
Click to hide internal directories.