Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (c *ManifestSizeCollector) AddPkg(pkg string) *manifest.ManifestSizePkg
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
Click to show internal directories.
Click to hide internal directories.