jsonschema

package
v2.13.15 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchEntities

func MatchEntities(data []*sdk.EntityData, schemaFileByJobByType map[string]EventTypeToSchemaFilename, schemasDir string) error

MatchEntities matches metric sets of entities against a set of JSON schema for each event type.

func MatchIntegration

func MatchIntegration(o *sdk.IntegrationProtocol2) error

MatchIntegration matches an integration against a JSON schema defined for an Infrastructure Integration.

Types

type ErrMatch

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

ErrMatch is the error that Match function returns

func (ErrMatch) Error

func (errMatch ErrMatch) Error() string

type EventTypeToSchemaFilename

type EventTypeToSchemaFilename map[string]string

EventTypeToSchemaFilename maps event types with their json schema.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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