sources

package
v0.0.0-...-0907076 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 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 Fragment

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

func (*Fragment) UnmarshalYAML

func (f *Fragment) UnmarshalYAML(value *yaml.Node) error

type IncludeTagVisitor

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

type Source

type Source struct {
	SourceWithNormalFields `yaml:",inline"`
	Tables                 interface{} `yaml:"tables"`
	Functions              interface{} `yaml:"functions,omitempty"`
}

type SourceConfig

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

func New

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

func (*SourceConfig) Build

func (t *SourceConfig) Build(metadata *goyaml.MapSlice) error

func (*SourceConfig) CreateFiles

func (t *SourceConfig) CreateFiles() error

func (*SourceConfig) Export

func (t *SourceConfig) Export(metadata goyaml.MapSlice) (map[string][]byte, error)

func (*SourceConfig) Name

func (t *SourceConfig) Name() string

func (*SourceConfig) Validate

func (t *SourceConfig) Validate() error

type SourceWithNormalFields

type SourceWithNormalFields struct {
	Name          string      `yaml:"name"`
	Kind          string      `yaml:"kind"`
	Configuration interface{} `yaml:"configuration"`
}

Jump to

Keyboard shortcuts

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