manifest

package
v6.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 391

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompiledPackageRef

type CompiledPackageRef struct {
	Name          string   `yaml:"name"`
	Version       string   `yaml:"version"` // todo deprecate
	Fingerprint   string   `yaml:"fingerprint"`
	SHA1          string   `yaml:"sha1"`
	OSVersionSlug string   `yaml:"stemcell"`
	Dependencies  []string `yaml:"dependencies"`
}

type JobRef

type JobRef struct {
	Name        string   `yaml:"name"`
	Version     string   `yaml:"version"` // todo deprecate
	Fingerprint string   `yaml:"fingerprint"`
	SHA1        string   `yaml:"sha1"`
	Packages    []string `yaml:"packages"`
}

type LicenseRef

type LicenseRef struct {
	Version     string `yaml:"version"` // todo deprecate
	Fingerprint string `yaml:"fingerprint"`
	SHA1        string `yaml:"sha1"`
}

type Manifest

type Manifest struct {
	Name    string `yaml:"name"`
	Version string `yaml:"version"`

	CommitHash         string `yaml:"commit_hash"`
	UncommittedChanges bool   `yaml:"uncommitted_changes"`

	Jobs         []JobRef             `yaml:"jobs,omitempty"`
	Packages     []PackageRef         `yaml:"packages,omitempty"`
	CompiledPkgs []CompiledPackageRef `yaml:"compiled_packages,omitempty"`
	License      *LicenseRef          `yaml:"license,omitempty"`
}

func NewManifestFromPath added in v0.0.133

func NewManifestFromPath(path string, fs boshsys.FileSystem) (Manifest, error)

type PackageRef

type PackageRef struct {
	Name         string   `yaml:"name"`
	Version      string   `yaml:"version"` // todo deprecate
	Fingerprint  string   `yaml:"fingerprint"`
	SHA1         string   `yaml:"sha1"`
	Dependencies []string `yaml:"dependencies"`
}

type ReleaseRef

type ReleaseRef struct {
	Name string
	URL  string
	SHA1 string
}

func (ReleaseRef) Description

func (r ReleaseRef) Description() string

func (ReleaseRef) GetSHA1

func (r ReleaseRef) GetSHA1() string

func (ReleaseRef) GetURL

func (r ReleaseRef) GetURL() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL