Documentation
¶
Index ¶
Constants ¶
View Source
const Dependency = "httpd"
Dependency is the key used in the build plan by this buildpack
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildpackYAML ¶
type BuildpackYAML struct {
Config Config `yaml:"httpd"`
}
BuildpackYAML defines configuration options allowed to end users
func LoadBuildpackYAML ¶
func LoadBuildpackYAML(appRoot string) (BuildpackYAML, error)
LoadBuildpackYAML reads `buildpack.yml` and HTTPD specific config options in it
type Config ¶
type Config struct {
Version string `yaml:"version"`
}
Config is used by BuildpackYAML and defines HTTPD specific config options available to users
type Contributor ¶
type Contributor struct {
// contains filtered or unexported fields
}
Contributor is responsibile for deciding what this buildpack will contribute during build
func NewContributor ¶
func NewContributor(context build.Build) (c Contributor, willContribute bool, err error)
NewContributor will create a new Contributor object
func (Contributor) Contribute ¶
func (c Contributor) Contribute() error
Contribute will install HTTPD, configure required env variables & set a start command
Click to show internal directories.
Click to hide internal directories.