Documentation ¶
Index ¶
- Variables
- func GetSchemaContents(schemaName string, registry *registry.Registry) (exists bool, validationError envelope.ValidationError, contents []byte)
- func ValidatePayload(schemaName string, payload envelope.Payload, registry *registry.Registry) (isValid bool, validationError envelope.ValidationError, schema []byte)
- type InvalidMessage
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidPayload = InvalidMessage{
Type: "invalid payload",
Resolution: "publish a valid payload",
}
View Source
var InvalidSchema = InvalidMessage{
Type: "invalid schema",
Resolution: "ensure schema is properly formatted",
}
View Source
var NoSchemaAssociated = InvalidMessage{
Type: "no schema associated",
Resolution: "associate a schema with the event",
}
View Source
var NoSchemaInBackend = InvalidMessage{
Type: "schema not published to cache backend",
Resolution: "publish schema to the cache backend",
}
View Source
var PayloadNotPresent = InvalidMessage{
Type: "payload not present",
Resolution: "publish the event with a payload",
}
View Source
var UnknownSnowplowEventType = InvalidMessage{
Type: "unknown snowplow event type",
Resolution: "event type should adhere to the snowplow tracker protocol",
}
Functions ¶
func GetSchemaContents ¶ added in v0.13.0
Types ¶
type InvalidMessage ¶
Click to show internal directories.
Click to hide internal directories.