Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaRegistryClient ¶
type SchemaRegistryClient interface {
GetDefaultCompatibility() (schemaregistry.Compatibility, error)
GetAllSubjects() ([]string, error)
GetLatestSchemaMetadata(subject string) (schemaregistry.SchemaMetadata, error)
GetCompatibility(subject string) (schemaregistry.Compatibility, error)
GetAllVersions(subject string) ([]int, error)
GetSchemaMetadata(subject string, version int) (schemaregistry.SchemaMetadata, error)
GetAllContexts() ([]string, error)
}
type SchemaRegistryService ¶
type SchemaRegistryService struct {
// contains filtered or unexported fields
}
func NewSchemaRegistryService ¶
func NewSchemaRegistryService(client SchemaRegistryClient) *SchemaRegistryService
func (*SchemaRegistryService) GetAllContexts ¶
func (sr *SchemaRegistryService) GetAllContexts() ([]string, error)
func (*SchemaRegistryService) GetAllSubjectsWithVersions ¶
func (sr *SchemaRegistryService) GetAllSubjectsWithVersions() ([]types.Subject, error)
func (*SchemaRegistryService) GetDefaultCompatibility ¶
func (sr *SchemaRegistryService) GetDefaultCompatibility() (schemaregistry.Compatibility, error)
Click to show internal directories.
Click to hide internal directories.