manifest

package
v0.0.0-...-1686c67 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSymbol

func AddSymbol(p *manifest.ManifestSizePkg, file string, sym string, area string,
	symSz uint32)

func CreateManifest

func CreateManifest(opts ManifestCreateOpts) (manifest.Manifest, error)

Types

type ManifestCreateOpts

type ManifestCreateOpts struct {
	TgtBldr    *builder.TargetBuilder
	LoaderHash []byte
	AppHash    []byte
	Version    image.ImageVersion
	BuildID    string
	Syscfg     map[string]string
}

func OptsForImage

func OptsForImage(t *builder.TargetBuilder, ver image.ImageVersion,
	appHash []byte, loaderHash []byte) (ManifestCreateOpts, error)

func OptsForNonImage

func OptsForNonImage(t *builder.TargetBuilder) (ManifestCreateOpts, error)

type ManifestSizeCollector

type ManifestSizeCollector struct {
	Pkgs []*manifest.ManifestSizePkg
}

func ManifestPkgSizes

func ManifestPkgSizes(b *builder.Builder) (ManifestSizeCollector, error)

func (*ManifestSizeCollector) AddPkg

type RepoManager

type RepoManager struct {
	// contains filtered or unexported fields
}

func NewRepoManager

func NewRepoManager() *RepoManager

func (*RepoManager) AllRepos

func (r *RepoManager) AllRepos() []*manifest.ManifestRepo

func (*RepoManager) GetManifestPkg

func (r *RepoManager) GetManifestPkg(
	lpkg *pkg.LocalPackage) *manifest.ManifestPkg

Jump to

Keyboard shortcuts

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