httpd

package
v0.0.122 Latest Latest
Warning

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

Go to latest
Published: May 7, 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

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

func Detect

func Detect() packit.DetectFunc

Types

type BuildPlanMetadata

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

type Buildpack

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

func ParseBuildpack

func ParseBuildpack(path string) (Buildpack, error)

type BuildpackHTTPD

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

type Clock

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

func NewClock

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

func (Clock) Now

func (c Clock) Now() time.Time

type DependencyService

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

type LogEmitter

type LogEmitter struct {
	scribe.Logger
}

func NewLogEmitter

func NewLogEmitter(output io.Writer) LogEmitter

func (LogEmitter) Candidates

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

func (LogEmitter) Environment

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

func (LogEmitter) SelectedDependency

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

func (LogEmitter) Title

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