Documentation ¶
Index ¶
- type TableConfig
- func (t *TableConfig) BaseDirectory() string
- func (t *TableConfig) Build() (map[string]interface{}, error)
- func (t *TableConfig) CreateFiles() error
- func (t *TableConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, error)
- func (t *TableConfig) Filename() string
- func (t *TableConfig) GetFiles() ([]string, error)
- func (t *TableConfig) Key() string
- func (t *TableConfig) Validate() error
- func (t *TableConfig) WriteDiff(opts metadataobject.WriteDiffOpts) error
- type V3MetadataTableConfig
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
Click to show internal directories.
Click to hide internal directories.