relocated

package
v0.9.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

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

func BundleFromFile

func BundleFromFile(filename string) (*Bundle, error)

BundleFromFile creates a relocated bundle based on the bundle file and relocation map.

func FromBundle

func FromBundle(bndl *bundle.Bundle) *Bundle

FromBundle returns a RelocatedBundle with an empty relocation map.

func (*Bundle) Store

func (b *Bundle) 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