Documentation
¶
Index ¶
Constants ¶
View Source
const BuildpackYAMLSource = "buildpack.yml"
View Source
const Dependency = "node"
View Source
const NvmrcSource = ".nvmrc"
View Source
const PackageJsonSource = "package.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildpackYAML ¶
type BuildpackYAML struct {
Config Config `yaml:"nodejs"`
}
func LoadBuildpackYAML ¶
func LoadBuildpackYAML(appRoot string) (BuildpackYAML, error)
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
Click to show internal directories.
Click to hide internal directories.