node

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Dependency = "node"
View Source
const VersionSource = "version-source"

Variables

This section is empty.

Functions

func PriorityPlanMerge added in v0.0.29

func PriorityPlanMerge(a, b buildpackplan.Plan) (buildpackplan.Plan, error)

Types

type BuildpackYAML

type BuildpackYAML struct {
	Config Config `yaml:"nodejs"`
}

func LoadBuildpackYAML

func LoadBuildpackYAML(appRoot string) (BuildpackYAML, error)

type Config

type Config struct {
	OptimizeMemory bool   `yaml:"optimize-memory"`
	Version        string `yaml:"version"`
}

type Contributor

type Contributor struct {
	BuildpackYAML BuildpackYAML
	// contains filtered or unexported fields
}

func NewContributor

func NewContributor(context build.Build) (Contributor, bool, error)

func (Contributor) Contribute

func (c Contributor) Contribute() error

func (Contributor) GetLayer

func (c Contributor) GetLayer() layers.DependencyLayer

Jump to

Keyboard shortcuts

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