tables

package
v2.11.12 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) BaseDirectory

func (t *TableConfig) BaseDirectory() string

func (*TableConfig) Build

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

func (*TableConfig) CreateFiles

func (t *TableConfig) CreateFiles() error

func (*TableConfig) Export

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

func (*TableConfig) Filename

func (t *TableConfig) Filename() string

func (*TableConfig) GetFiles

func (*TableConfig) Key

func (t *TableConfig) Key() 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 map[string]yaml.Node) (map[string][]byte, metadataobject.ErrParsingMetadataObject)

Jump to

Keyboard shortcuts

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