sources

package
v2.19.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	SourceWithNormalFields `yaml:",inline"`
	Tables                 yaml.Node `yaml:"tables"`
	Functions              yaml.Node `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) BaseDirectory

func (t *SourceConfig) BaseDirectory() string

func (*SourceConfig) Build

func (t *SourceConfig) Build() (map[string]interface{}, error)

func (*SourceConfig) CreateFiles

func (t *SourceConfig) CreateFiles() error

func (*SourceConfig) Export

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

func (*SourceConfig) Filename

func (t *SourceConfig) Filename() string

func (*SourceConfig) GetFiles

func (t *SourceConfig) GetFiles() ([]string, error)

func (*SourceConfig) Key

func (t *SourceConfig) Key() string

func (*SourceConfig) Validate

func (t *SourceConfig) Validate() error

func (*SourceConfig) WriteDiff

func (t *SourceConfig) WriteDiff(opts metadataobject.WriteDiffOpts) error

type SourceWithNormalFields

type SourceWithNormalFields struct {
	Name          string    `yaml:"name"`
	Kind          string    `yaml:"kind"`
	Configuration yaml.Node `yaml:"configuration"`
	QueryTags     yaml.Node `yaml:"query_tags,omitempty"`
	Customization yaml.Node `yaml:"customization,omitempty"`
	HealthCheck   yaml.Node `yaml:"health_check,omitempty"`
}

Jump to

Keyboard shortcuts

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