compiler

package
v2.268.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const PackagingScriptName = "packaging"

Variables

This section is empty.

Functions

This section is empty.

Types

type CompileDirProvider

type CompileDirProvider interface {
	CompileDir() string
}

type Compiler

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

func NewConcreteCompiler

func NewConcreteCompiler(
	compressor boshcmd.Compressor,
	blobstore blobstore_delegator.BlobstoreDelegator,
	fs boshsys.FileSystem,
	runner boshcmdrunner.CmdRunner,
	compileDirProvider CompileDirProvider,
	packageApplier packages.Applier,
	packagesBc boshbc.BundleCollection,
) Compiler

type Dependencies

type Dependencies map[string]Package

type Package

type Package struct {
	BlobstoreID         string `json:"blobstore_id"`
	Name                string
	PackageGetSignedURL string `json:"package_get_signed_url"`
	UploadSignedURL     string `json:"upload_signed_url"`
	Sha1                boshcrypto.MultipleDigest
	Headers             map[string]string `json:"headers"`
	Version             string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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