httpd

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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