image

package
v0.9.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	BundleFilename        = "bundle.json"
	RelocationMapFilename = "relocation-map.json"
)

Variables

This section is empty.

Functions

func BundleJSON

func BundleJSON(bundlePath string) (*bundle.Bundle, error)

func RelocationMapJSON

func RelocationMapJSON(relocationMapPath string) (relocation.ImageRelocationMap, error)

Types

type AppImage

type AppImage struct {
	*bundle.Bundle
	RelocationMap relocation.ImageRelocationMap
}

func FromBundle

func FromBundle(bndl *bundle.Bundle) *AppImage

FromBundle returns a RelocatedBundle with an empty relocation map.

func FromFile

func FromFile(filename string) (*AppImage, error)

FromFile creates a app image based on the bundle file and relocation map.

func (*AppImage) RelocatedImages

func (b *AppImage) RelocatedImages() map[string]bundle.Image

func (*AppImage) Store

func (b *AppImage) Store(dir string) error

Store a bundle with the relocation map as json files.

Jump to

Keyboard shortcuts

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