Documentation ¶
Index ¶
- func GetMockVaultConfig() *vault.CoreConfig
- func GetServer(core *vault.Core) *httptest.Server
- func RunMockVault(t *testing.T) (*httptest.Server, string, *x509.CertPool, *x509.Certificate, string, string)
- type NoopAudit
- func (n *NoopAudit) GetHash(data string) (string, error)
- func (n *NoopAudit) Invalidate()
- func (n *NoopAudit) LogRequest(a *logical.Auth, r *logical.Request, e error) error
- func (n *NoopAudit) LogResponse(a *logical.Auth, r *logical.Request, re *logical.Response, err error) error
- func (n *NoopAudit) Reload() error
- func (n *NoopAudit) Salt() (*salt.Salt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMockVaultConfig ¶
func GetMockVaultConfig() *vault.CoreConfig
Types ¶
type NoopAudit ¶
type NoopAudit struct { Config *audit.BackendConfig // contains filtered or unexported fields }
func (*NoopAudit) Invalidate ¶
func (n *NoopAudit) Invalidate()
func (*NoopAudit) LogRequest ¶
func (*NoopAudit) LogResponse ¶
Click to show internal directories.
Click to hide internal directories.