vaultmock

package module
v0.0.0-...-348b994 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMockVaultConfig

func GetMockVaultConfig() *vault.CoreConfig

func GetServer

func GetServer(core *vault.Core) *httptest.Server

Types

type NoopAudit

type NoopAudit struct {
	Config *audit.BackendConfig
	// contains filtered or unexported fields
}

func (*NoopAudit) GetHash

func (n *NoopAudit) GetHash(data string) (string, error)

func (*NoopAudit) Invalidate

func (n *NoopAudit) Invalidate()

func (*NoopAudit) LogRequest

func (n *NoopAudit) LogRequest(a *logical.Auth, r *logical.Request, e error) error

func (*NoopAudit) LogResponse

func (n *NoopAudit) LogResponse(a *logical.Auth, r *logical.Request, re *logical.Response, err error) error

func (*NoopAudit) Reload

func (n *NoopAudit) Reload() error

func (*NoopAudit) Salt

func (n *NoopAudit) Salt() (*salt.Salt, error)

Jump to

Keyboard shortcuts

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