remoteschemas

package
v2.36.8 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 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{}, error)

func (*RemoteSchemaConfig) CreateFiles

func (r *RemoteSchemaConfig) CreateFiles() error

func (*RemoteSchemaConfig) Export

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

func (*RemoteSchemaConfig) Filename

func (r *RemoteSchemaConfig) Filename() string

func (*RemoteSchemaConfig) GetFiles

func (r *RemoteSchemaConfig) GetFiles() ([]string, error)

func (*RemoteSchemaConfig) Key

func (r *RemoteSchemaConfig) Key() string

func (*RemoteSchemaConfig) Validate

func (r *RemoteSchemaConfig) Validate() error

func (*RemoteSchemaConfig) WriteDiff

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