httpd

package
v0.0.50 Latest Latest
Warning

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

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

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

Jump to

Keyboard shortcuts

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