Documentation ¶
Index ¶
- type V3MetadataV2ConfigVersion
- type Version
- type VersionConfig
- func (a *VersionConfig) BaseDirectory() string
- func (a *VersionConfig) Build(metadata *yaml.MapSlice) metadataobject.ErrParsingMetadataObject
- func (a *VersionConfig) CreateFiles() error
- func (a *VersionConfig) Export(metadata yaml.MapSlice) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
- func (a *VersionConfig) Filename() string
- func (a *VersionConfig) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
- func (a *VersionConfig) Key() string
- func (a *VersionConfig) Validate() error
- func (a *VersionConfig) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type V3MetadataV2ConfigVersion ¶
type V3MetadataV2ConfigVersion struct {
*VersionConfig
}
func NewV3MetadataVersion ¶
func NewV3MetadataVersion(ec *cli.ExecutionContext, baseDir string) *V3MetadataV2ConfigVersion
func (*V3MetadataV2ConfigVersion) Build ¶
func (a *V3MetadataV2ConfigVersion) Build(metadata *yaml.MapSlice) metadataobject.ErrParsingMetadataObject
func (*V3MetadataV2ConfigVersion) Export ¶
func (a *V3MetadataV2ConfigVersion) Export(_ yaml.MapSlice) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
type VersionConfig ¶
type VersionConfig struct {
MetadataDir string
}
func New ¶
func New(ec *cli.ExecutionContext, baseDir string) *VersionConfig
func (*VersionConfig) BaseDirectory ¶
func (a *VersionConfig) BaseDirectory() string
func (*VersionConfig) Build ¶
func (a *VersionConfig) Build(metadata *yaml.MapSlice) metadataobject.ErrParsingMetadataObject
func (*VersionConfig) CreateFiles ¶
func (a *VersionConfig) CreateFiles() error
func (*VersionConfig) Export ¶
func (a *VersionConfig) Export(metadata yaml.MapSlice) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
func (*VersionConfig) Filename ¶
func (a *VersionConfig) Filename() string
func (*VersionConfig) GetFiles ¶
func (a *VersionConfig) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
func (*VersionConfig) Key ¶
func (a *VersionConfig) Key() string
func (*VersionConfig) Validate ¶
func (a *VersionConfig) Validate() error
func (*VersionConfig) WriteDiff ¶
func (a *VersionConfig) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
Click to show internal directories.
Click to hide internal directories.