embedx

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigSchema string
View Source
var IdentityExtensionSchema string
View Source
var IdentityMetaSchema string

Functions

func AddSchemaResources

func AddSchemaResources(c interface {
	AddResource(url string, r io.Reader) error
}, opts ...SchemaType) error

AddSchemaResources adds the specified schemas including their dependencies to the compiler. The interface is specified instead of `jsonschema.Compiler` to allow the use of any jsonschema library fork or version.

Types

type Schema

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

type SchemaType

type SchemaType int
const (
	Config SchemaType = iota
	IdentityMeta
	IdentityExtension
)

func (SchemaType) GetSchemaID

func (s SchemaType) GetSchemaID() string

Jump to

Keyboard shortcuts

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