Help us shape the future of Go! Take the 2026 Go Developer Survey

manifest

package
v7.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 1

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"`
	NoCompression bool                 `yaml:"no_compression"`
}

func NewManifestFromPath

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