remoteschemas

package
v2.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteSchemaConfig

type RemoteSchemaConfig struct {
	MetadataDir string
	// contains filtered or unexported fields
}

func New

func New(ec *cli.ExecutionContext, baseDir string) *RemoteSchemaConfig

func (*RemoteSchemaConfig) BaseDirectory

func (r *RemoteSchemaConfig) BaseDirectory() string

func (*RemoteSchemaConfig) Build

func (r *RemoteSchemaConfig) Build() (map[string]interface{}, metadataobject.ErrParsingMetadataObject)

func (*RemoteSchemaConfig) CreateFiles

func (r *RemoteSchemaConfig) CreateFiles() error

func (*RemoteSchemaConfig) Export

func (r *RemoteSchemaConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, metadataobject.ErrParsingMetadataObject)

func (*RemoteSchemaConfig) Filename

func (r *RemoteSchemaConfig) Filename() string

func (*RemoteSchemaConfig) GetFiles

func (*RemoteSchemaConfig) Key

func (r *RemoteSchemaConfig) Key() string

func (*RemoteSchemaConfig) Validate

func (r *RemoteSchemaConfig) Validate() error

type SchemaDefinition

type SchemaDefinition struct {
	Schema string `yaml:"schema"`
}

Jump to

Keyboard shortcuts

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