Versions in this module Expand all Collapse all v0 v0.1.0 Sep 30, 2024retracted Changes in this version + func MakeTestPluginDir(t testing.T) (string, func(t testing.T)) + func NewMockBuiltinRegistry() *mockBuiltinRegistry + func NoopAuditFactory(records **[][]byte) audit.Factory + func RetryUntil(t testing.T, timeout time.Duration, f func() error) + type NoopAudit struct + Config *audit.BackendConfig + Req []*logical.Request + ReqAuth []*logical.Auth + ReqErr error + ReqErrs []error + ReqHeaders []map[string][]string + ReqNonHMACKeys []string + Resp []*logical.Response + RespAuth []*logical.Auth + RespErr error + RespErrs []error + RespNonHMACKeys [][]string + RespReq []*logical.Request + RespReqNonHMACKeys [][]string + func NewNoopAudit(config map[string]string) (*NoopAudit, error) + func TestNoopAudit(t testing.T, config map[string]string) *NoopAudit + func (n *NoopAudit) GetHash(ctx context.Context, data string) (string, error) + func (n *NoopAudit) Invalidate(ctx context.Context) + func (n *NoopAudit) LogRequest(ctx context.Context, in *logical.LogInput) error + func (n *NoopAudit) LogResponse(ctx context.Context, in *logical.LogInput) error + func (n *NoopAudit) LogTestMessage(ctx context.Context, in *logical.LogInput, config map[string]string) error + func (n *NoopAudit) Reload(ctx context.Context) error + func (n *NoopAudit) Salt(ctx context.Context) (*salt.Salt, error) + type TestLogger struct + File *os.File + Path string + func NewTestLogger(t testing.T) *TestLogger + func (tl *TestLogger) StopLogging()