schemas

package
v0.0.0-...-f8652d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedAvroSchema

type ParsedAvroSchema struct {
	// contains filtered or unexported fields
}

func (*ParsedAvroSchema) IsBackwardsCompatible

func (s *ParsedAvroSchema) IsBackwardsCompatible(previousSchema ParsedSchema) (bool, error)

type ParsedJSONSchema

type ParsedJSONSchema struct {
	// contains filtered or unexported fields
}

func (*ParsedJSONSchema) IsBackwardsCompatible

func (s *ParsedJSONSchema) IsBackwardsCompatible(previousSchema ParsedSchema) (bool, error)

type ParsedSchema

type ParsedSchema interface {
	IsBackwardsCompatible(previousSchema ParsedSchema) (bool, error)
}

func ParseSchema

func ParseSchema(rawSchema string, schemaType SchemaType, rawReferences []string, rawReferenceNames []string) (ParsedSchema, error)

type SchemaType

type SchemaType string
const (
	SchemaTypeAvro     SchemaType = "AVRO"
	SchemaTypeJSON     SchemaType = "JSON"
	SchemaTypeProtobuf SchemaType = "PROTOBUF"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL