compiler

package
v0.0.0-...-3fc8308 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConcreteCompiler

func NewConcreteCompiler(
	compressor boshcmd.Compressor,
	blobstore boshblob.Blobstore,
	fs boshsys.FileSystem,
	runner boshcmdrunner.CmdRunner,
	compileDirProvider CompileDirProvider,
	packageApplier packages.Applier,
	packagesBc boshbc.BundleCollection,
) (c concreteCompiler)

Types

type CompileDirProvider

type CompileDirProvider interface {
	CompileDir() string
}

type Compiler

type Compiler interface {
	Compile(pkg Package, deps []boshmodels.Package) (blobID, sha1 string, err error)
}

type Dependencies

type Dependencies map[string]Package

type Package

type Package struct {
	BlobstoreID string `json:"blobstore_id"`
	Name        string
	Sha1        string
	Version     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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