tables

package
v2.44.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 8 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{}, error)

func (*TableConfig) CreateFiles

func (t *TableConfig) CreateFiles() error

func (*TableConfig) Export

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

func (*TableConfig) Filename

func (t *TableConfig) Filename() string

func (*TableConfig) GetFiles

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

func (*TableConfig) Key

func (t *TableConfig) Key() string

func (*TableConfig) Validate

func (t *TableConfig) Validate() error

func (*TableConfig) WriteDiff

func (t *TableConfig) WriteDiff(opts metadataobject.WriteDiffOpts) 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, error)

Jump to

Keyboard shortcuts

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