Documentation ¶
Index ¶
- Constants
- func ApproveJson(received map[string]interface{}, name string, ignored map[string]string) error
- func Compare(path string, ignored map[string]string) (map[string]interface{}, []byte, gojsondiff.Diff, error)
- func LoadData(file string) ([]byte, error)
- func LoadInvalidData(dataType string) ([]byte, error)
- func LoadValidData(dataType string) ([]byte, error)
- func StrConcat(pre string, post string, delimiter string) string
- func TestDocumentedFieldsInEvent(t *testing.T, fieldPaths []string, fn processor.NewProcessor, ...)
- func TestEventAttrsDocumentedInFields(t *testing.T, fieldPaths []string, fn processor.NewProcessor)
- func TestJsonSchemaKeywordLimitation(t *testing.T, fieldPaths []string, schema string, exceptions *set.Set)
- func TestPayloadAttributesInSchema(t *testing.T, name string, undocumentedAttrs *set.Set, schema string)
- func TestProcessRequests(t *testing.T, p processor.Processor, requestInfo []RequestInfo, ...)
- func UnmarshalValidData(file string, data interface{}) error
- type Mapping
- type RequestInfo
- type Schema
Constants ¶
View Source
const ApprovedSuffix = ".approved.json"
View Source
const ReceivedSuffix = ".received.json"
Variables ¶
This section is empty.
Functions ¶
func ApproveJson ¶
func LoadInvalidData ¶
func LoadValidData ¶
func TestEventAttrsDocumentedInFields ¶
func TestEventAttrsDocumentedInFields(t *testing.T, fieldPaths []string, fn processor.NewProcessor)
func TestProcessRequests ¶
func UnmarshalValidData ¶
Types ¶
type RequestInfo ¶
Click to show internal directories.
Click to hide internal directories.