buildpacks

package module
v0.0.0-...-4c89809 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultProperties is a map of all valid buildpacks properties with corresponding default property values
	DefaultProperties = map[string]string{
		"stack": "",
	}

	// GlobalProperties is a map of all valid global buildpacks properties
	GlobalProperties = map[string]bool{
		"stack": true,
	}
)

Functions

func CommandAdd

func CommandAdd(appName string, buildpack string, index int) error

CommandAdd implements buildpacks:add

func CommandClear

func CommandClear(appName string) error

CommandClear implements buildpacks:clear

func CommandList

func CommandList(appName string) (err error)

CommandList implements buildpacks:list

func CommandRemove

func CommandRemove(appName string, buildpack string, index int) (err error)

CommandRemove implements buildpacks:remove

func CommandReport

func CommandReport(appName string, format string, infoFlag string) error

CommandReport displays a buildpacks report for one or more apps

func CommandSet

func CommandSet(appName string, buildpack string, index int) error

CommandSet implements buildpacks:set

func CommandSetProperty

func CommandSetProperty(appName string, property string, value string) error

CommandSetProperty implements buildpacks:set-property

func ReportSingleApp

func ReportSingleApp(appName string, format string, infoFlag string) error

ReportSingleApp is an internal function that displays the buildpacks report for one or more apps

func TriggerBuildpackStackName

func TriggerBuildpackStackName(appName string) error

TriggerBuildpackStackName echos the stack name for the app

func TriggerInstall

func TriggerInstall() error

TriggerInstall runs the install step for the buildpacks plugin

func TriggerPostAppCloneSetup

func TriggerPostAppCloneSetup(oldAppName string, newAppName string) error

TriggerPostAppCloneSetup creates new buildpacks files

func TriggerPostAppRenameSetup

func TriggerPostAppRenameSetup(oldAppName string, newAppName string) error

TriggerPostAppRenameSetup renames buildpacks files

func TriggerPostDelete

func TriggerPostDelete(appName string) error

TriggerPostDelete destroys the buildpacks property for a given app container

func TriggerPostExtract

func TriggerPostExtract(appName string, sourceWorkDir string) error

TriggerPostExtract writes a .buildpacks file into the app

Types

This section is empty.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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