Documentation ¶
Index ¶
- type MetadataObject
- func (o *MetadataObject) BaseDirectory() string
- func (o *MetadataObject) Build() (map[string]interface{}, metadataobject.ErrParsingMetadataObject)
- func (o *MetadataObject) CreateFiles() error
- func (o *MetadataObject) Export(metadata map[string]yaml.Node) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
- func (o *MetadataObject) Filename() string
- func (o *MetadataObject) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
- func (o *MetadataObject) Key() string
- func (o *MetadataObject) Validate() error
- func (o *MetadataObject) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataObject ¶
type MetadataObject struct { MetadataDir string // contains filtered or unexported fields }
func New ¶
func New(ec *cli.ExecutionContext, baseDir string) *MetadataObject
func (*MetadataObject) BaseDirectory ¶
func (o *MetadataObject) BaseDirectory() string
func (*MetadataObject) Build ¶
func (o *MetadataObject) Build() (map[string]interface{}, metadataobject.ErrParsingMetadataObject)
func (*MetadataObject) CreateFiles ¶
func (o *MetadataObject) CreateFiles() error
func (*MetadataObject) Export ¶
func (o *MetadataObject) Export(metadata map[string]yaml.Node) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
func (*MetadataObject) Filename ¶
func (o *MetadataObject) Filename() string
func (*MetadataObject) GetFiles ¶
func (o *MetadataObject) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
func (*MetadataObject) Key ¶
func (o *MetadataObject) Key() string
func (*MetadataObject) Validate ¶
func (o *MetadataObject) Validate() error
func (*MetadataObject) WriteDiff ¶
func (o *MetadataObject) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
Click to show internal directories.
Click to hide internal directories.