httpd

package
v0.0.114 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const PlanDependencyHTTPD = "httpd"

Variables

This section is empty.

Functions

func Build added in v0.0.97

func Build(dependencies DependencyService, clock Clock, logger LogEmitter) packit.BuildFunc

func Detect added in v0.0.97

func Detect() packit.DetectFunc

Types

type BuildPlanMetadata added in v0.0.97

type BuildPlanMetadata struct {
	VersionSource string `toml:"version-source,omitempty"`
	Launch        bool   `toml:"launch"`
}

type Buildpack added in v0.0.97

type Buildpack struct {
	HTTPD BuildpackHTTPD `yaml:"httpd"`
}

func ParseBuildpack added in v0.0.97

func ParseBuildpack(path string) (Buildpack, error)

type BuildpackHTTPD added in v0.0.97

type BuildpackHTTPD struct {
	Version string `yaml:"version"`
}

type Clock added in v0.0.97

type Clock struct {
	// contains filtered or unexported fields
}

func NewClock added in v0.0.97

func NewClock(now func() time.Time) Clock

func (Clock) Now added in v0.0.97

func (c Clock) Now() time.Time

type DependencyService added in v0.0.97

type DependencyService interface {
	Resolve(path, name, version, stack string) (postal.Dependency, error)
	Install(dependency postal.Dependency, cnbPath, layerPath string) error
}

type LogEmitter added in v0.0.97

type LogEmitter struct {
	scribe.Logger
}

func NewLogEmitter added in v0.0.97

func NewLogEmitter(output io.Writer) LogEmitter

func (LogEmitter) Candidates added in v0.0.97

func (e LogEmitter) Candidates(entries []packit.BuildpackPlanEntry)

func (LogEmitter) Environment added in v0.0.97

func (e LogEmitter) Environment(environment packit.Environment)

func (LogEmitter) SelectedDependency added in v0.0.97

func (e LogEmitter) SelectedDependency(entry packit.BuildpackPlanEntry, version string)

func (LogEmitter) Title added in v0.0.97

func (e LogEmitter) Title(info packit.BuildpackInfo)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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