Documentation ¶
Index ¶
- func Audit2LogJSONTestSuite(t *testing.T, entityName, entityVersion string, ...)
- func Diag1LogJSONTestSuite(t *testing.T, entityName, entityVersion string, ...)
- func Evt2LogJSONTestSuite(t *testing.T, entityName, entityVersion string, ...)
- func Metric1LogJSONTestSuite(t *testing.T, entityName, entityVersion string, ...)
- func Req2LogJSONTestSuite(t *testing.T, entityName, entityVersion string, ...)
- func Svc1LogJSONTestSuite(t *testing.T, entityName string, entityVersion string, ...)
- func Trc1LogJSONTestSuite(t *testing.T, entityName string, entityVersion string, ...)
- type Audit2TestCase
- type Diag1TestCase
- type Evt2TestCase
- type Metric1TestCase
- type Req2TestCase
- type Svc1TestCase
- type Trc1TestCase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Audit2LogJSONTestSuite ¶ added in v1.13.0
func Diag1LogJSONTestSuite ¶ added in v1.13.0
func Evt2LogJSONTestSuite ¶ added in v1.13.0
func Metric1LogJSONTestSuite ¶ added in v1.13.0
func Req2LogJSONTestSuite ¶ added in v1.13.0
func Svc1LogJSONTestSuite ¶
Types ¶
type Audit2TestCase ¶ added in v1.13.0
type Audit2TestCase struct { Name string UID string SID string TokenID string TraceID string OtherUIDs []string Origin string AuditName string AuditResult audit2log.AuditResultType RequestParams map[string]interface{} ResultParams map[string]interface{} JSONMatcher objmatcher.MapMatcher }
func Audit2TestCases ¶ added in v1.13.0
func Audit2TestCases(entityName, entityVersion string) []Audit2TestCase
func (Audit2TestCase) Params ¶ added in v1.13.0
func (tc Audit2TestCase) Params() []audit2log.Param
type Diag1TestCase ¶ added in v1.13.0
type Diag1TestCase struct { Name string Diagnostic logging.Diagnostic UnsafeParams map[string]interface{} JSONMatcher objmatcher.MapMatcher }
func Diag1TestCases ¶ added in v1.13.0
func Diag1TestCases(entityName, entityVersion string) []Diag1TestCase
type Evt2TestCase ¶ added in v1.13.0
type Evt2TestCase struct { Name string EventName string Values map[string]interface{} UID string SID string TokenID string UnsafeParams map[string]interface{} JSONMatcher objmatcher.MapMatcher }
func Evt2TestCases ¶ added in v1.13.0
func Evt2TestCases(entityName, entityVersion string) []Evt2TestCase
func (Evt2TestCase) Params ¶ added in v1.13.0
func (tc Evt2TestCase) Params() []evt2log.Param
type Metric1TestCase ¶ added in v1.13.0
type Metric1TestCase struct { Name string MetricName string MetricType string Tags map[string]string Values map[string]interface{} UID string SID string TokenID string UnsafeParams map[string]interface{} JSONMatcher objmatcher.MapMatcher }
func Metric1TestCases ¶ added in v1.13.0
func Metric1TestCases(entityName, entityVersion string) []Metric1TestCase
func (Metric1TestCase) Params ¶ added in v1.13.0
func (tc Metric1TestCase) Params() []metric1log.Param
type Req2TestCase ¶ added in v1.13.0
type Req2TestCase struct { Name string ExtraHeaderParams map[string]string ExtraQueryParams []string SafeHeaderParams []string SafeQueryParams []string ForbiddenHeaderParams []string JSONMatcher objmatcher.MapMatcher }
func Req2TestCases ¶ added in v1.13.0
func Req2TestCases(entityName, entityVersion string) []Req2TestCase
type Svc1TestCase ¶ added in v1.12.0
type Svc1TestCase struct { Name string Message string Origin string LogParams []svc1log.Param JSONMatcher objmatcher.MapMatcher }
func Svc1TestCases ¶ added in v1.12.0
func Svc1TestCases(entityName, entityVersion string) []Svc1TestCase
type Trc1TestCase ¶ added in v1.12.0
type Trc1TestCase struct { Name string SpanOptions []wtracing.SpanOption JSONMatcher objmatcher.MapMatcher }
func Trc1TestCases ¶ added in v1.12.0
func Trc1TestCases(entityName string, entityVersion string, clientSpan wtracing.Span) []Trc1TestCase
Click to show internal directories.
Click to hide internal directories.