Documentation ¶
Index ¶
- Variables
- func CommandAdd(appName string, buildpack string, index int) error
- func CommandClear(appName string) error
- func CommandList(appName string) (err error)
- func CommandRemove(appName string, buildpack string, index int) (err error)
- func CommandReport(appName string, format string, infoFlag string) error
- func CommandSet(appName string, buildpack string, index int) error
- func CommandSetProperty(appName string, property string, value string) error
- func ReportSingleApp(appName string, format string, infoFlag string) error
- func TriggerBuildpackStackName(appName string) error
- func TriggerInstall() error
- func TriggerPostAppCloneSetup(oldAppName string, newAppName string) error
- func TriggerPostAppRenameSetup(oldAppName string, newAppName string) error
- func TriggerPostDelete(appName string) error
- func TriggerPostExtract(appName string, sourceWorkDir string) error
Constants ¶
This section is empty.
Variables ¶
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 ¶
CommandAdd implements buildpacks:add
func CommandClear ¶
CommandClear implements buildpacks:clear
func CommandList ¶
CommandList implements buildpacks:list
func CommandRemove ¶
CommandRemove implements buildpacks:remove
func CommandReport ¶
CommandReport displays a buildpacks report for one or more apps
func CommandSet ¶
CommandSet implements buildpacks:set
func CommandSetProperty ¶
CommandSetProperty implements buildpacks:set-property
func ReportSingleApp ¶
ReportSingleApp is an internal function that displays the buildpacks report for one or more apps
func TriggerBuildpackStackName ¶
TriggerBuildpackStackName echos the stack name for the app
func TriggerInstall ¶
func TriggerInstall() error
TriggerInstall runs the install step for the buildpacks plugin
func TriggerPostAppCloneSetup ¶
TriggerPostAppCloneSetup creates new buildpacks files
func TriggerPostAppRenameSetup ¶
TriggerPostAppRenameSetup renames buildpacks files
func TriggerPostDelete ¶
TriggerPostDelete destroys the buildpacks property for a given app container
func TriggerPostExtract ¶
TriggerPostExtract writes a .buildpacks file into the app
Types ¶
This section is empty.