tables

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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetadataFilename string = "tables.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TableConfig

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

func New

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

func (*TableConfig) Build

func (t *TableConfig) Build(metadata *yaml.MapSlice) error

func (*TableConfig) CreateFiles

func (t *TableConfig) CreateFiles() error

func (*TableConfig) Export

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

func (*TableConfig) Name

func (t *TableConfig) Name() string

func (*TableConfig) Validate

func (t *TableConfig) Validate() error

type V3MetadataTableConfig

type V3MetadataTableConfig struct {
	*TableConfig
}

V3MetadataTableConfig is responsible for exporting and applying "tables" metadata objects in config v2 format on a server with v3 metadata

func NewV3MetadataTableConfig

func NewV3MetadataTableConfig(ec *cli.ExecutionContext, baseDir string) *V3MetadataTableConfig

func (*V3MetadataTableConfig) Export

func (t *V3MetadataTableConfig) Export(md yaml.MapSlice) (map[string][]byte, error)

Jump to

Keyboard shortcuts

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