Documentation ¶
Overview ¶
Package manifest represents internal structure of a release.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencyName ¶
type DependencyName string
type Manifest ¶
type Manifest struct {
Release Release
}
func NewManifestFromBytes ¶
NewManifestFromBytes returns manifest built from given bytes.
func NewManifestFromPath ¶
func NewManifestFromPath(path string, fs boshsys.FileSystem) (Manifest, error)
NewManifestFromPath returns manifest read from the file system.
type Package ¶
type Package struct { Name string `yaml:"name"` // bosh_cli uses fingerprint as package version VersionRaw string `yaml:"version"` Version string FingerprintRaw string `yaml:"fingerprint"` Fingerprint string SHA1Raw string `yaml:"sha1"` SHA1 string DependencyNames []DependencyName `yaml:"dependencies"` }
func (Package) DependencyName ¶
func (p Package) DependencyName() DependencyName
type SyntaxValidator ¶
type SyntaxValidator struct {
// contains filtered or unexported fields
}
SyntaxValidator parses and saves all manifest values to determine their syntactic validity. Determining if individual values make sense in a greater context (within a full release) is outside of scope.
func NewSyntaxValidator ¶
func NewSyntaxValidator(manifest *Manifest) SyntaxValidator
func (SyntaxValidator) Validate ¶
func (v SyntaxValidator) Validate() error
Click to show internal directories.
Click to hide internal directories.