Documentation
¶
Index ¶
- Constants
- func Exit(err error)
- func FailCode(code int, action ...string) error
- func FailErr(err error, action ...string) error
- func FailErrCode(err error, code int, action ...string) error
- func InputDropletPath(path *string)
- func InputMetadataPath(path *string)
- func InputSlugPath(path *string)
- func InputStackName(image *string)
- func InputUseDaemon(use *bool)
- func InputUseHelpers(use *bool)
- func Run(name string, arg ...string) (string, error)
- type AppMetadata
- type BuildMetadata
- type BuildpackMetadata
- type ErrorFail
- type RunImageMetadata
Constants ¶
View Source
const ( EnvAppDir = "PACK_APP_DIR" EnvAppZip = "PACK_APP_ZIP" EnvAppName = "PACK_APP_NAME" EnvAppURI = "PACK_APP_URI" EnvAppDisk = "PACK_APP_DISK" EnvAppMemory = "PACK_APP_MEM" EnvAppFds = "PACK_APP_FDS" EnvDropletPath = "PACK_DROPLET_PATH" EnvSlugPath = "PACK_SLUG_PATH" EnvMetadataPath = "PACK_METADATA_PATH" EnvStackName = "PACK_STACK_NAME" EnvUseDaemon = "PACK_USE_DAEMON" EnvUseHelpers = "PACK_USE_HELPERS" )
View Source
const ( BuildLabel = "sh.packs.build" BuildpackLabel = "sh.packs.buildpacks" )
View Source
const ( CodeFailed = 1 CodeInvalidArgs = iota + 2 CodeInvalidEnv CodeNotFound CodeFailedDetect CodeFailedBuild CodeFailedLaunch CodeFailedUpdate )
Variables ¶
This section is empty.
Functions ¶
func InputDropletPath ¶
func InputDropletPath(path *string)
func InputMetadataPath ¶
func InputMetadataPath(path *string)
func InputSlugPath ¶
func InputSlugPath(path *string)
func InputStackName ¶
func InputStackName(image *string)
func InputUseDaemon ¶
func InputUseDaemon(use *bool)
func InputUseHelpers ¶
func InputUseHelpers(use *bool)
Types ¶
type AppMetadata ¶
type BuildMetadata ¶
type BuildMetadata struct { App AppMetadata `json:"app"` Buildpacks []BuildpackMetadata `json:"buildpacks"` RunImage RunImageMetadata `json:"runimage"` }
type BuildpackMetadata ¶
type RunImageMetadata ¶
Click to show internal directories.
Click to hide internal directories.