Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewManifest ¶
func NewManifest(basePath string, data generic.Map) (m *Manifest, errs ManifestErrors)
Types ¶
type Manifest ¶
func NewEmptyManifest ¶
func NewEmptyManifest() (m *Manifest)
type ManifestDiskRepository ¶
type ManifestDiskRepository struct{}
func (ManifestDiskRepository) ReadManifest ¶
func (repo ManifestDiskRepository) ReadManifest(inputPath string) (m *Manifest, manifestPath string, errs ManifestErrors)
type ManifestErrors ¶
type ManifestErrors []error
func (ManifestErrors) Empty ¶
func (errs ManifestErrors) Empty() bool
func (ManifestErrors) Error ¶
func (errs ManifestErrors) Error() (errorMessage string)
func (ManifestErrors) String ¶
func (errs ManifestErrors) String() string
type ManifestRepository ¶
type ManifestRepository interface {
ReadManifest(string) (manifest *Manifest, path string, errors ManifestErrors)
}
func NewManifestDiskRepository ¶
func NewManifestDiskRepository() (repo ManifestRepository)
Click to show internal directories.
Click to hide internal directories.