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