Documentation ¶
Index ¶
Constants ¶
View Source
const StatusCodeUndetectedNoError = 20
All buildpacks groups have failed to detect w/o error. See https://buildpacks.io/docs/concepts/components/lifecycle/detect/#exit-codes
Variables ¶
View Source
var Version semver.Version = semver.MustParse("0.30.0")
Version is the minimum version of pack that we require (and the one we fetch when we fetch pack on behalf of a user).
Functions ¶
This section is empty.
Types ¶
type Cli ¶
type Cli struct {
// contains filtered or unexported fields
}
func NewCli ¶
func NewCli( ctx context.Context, console input.Console, commandRunner exec.CommandRunner, ) (*Cli, error)
NewCli creates a new PackCli. azd manages its own copy of the pack CLI, stored in `$AZD_CONFIG_DIR/bin`. If pack is not present at this location, or if it is present but is older than the minimum supported version, it is downloaded.
func NewPackCliWithPath ¶
func NewPackCliWithPath( commandRunner exec.CommandRunner, cliPath string, ) *Cli
type StatusCodeError ¶
type StatusCodeError struct { Err error // See all available status codes https://buildpacks.io/docs/concepts/components/lifecycle/create/ Code int }
StatusCodeError is a status code error provided by pack CLI.
func (*StatusCodeError) Error ¶
func (s *StatusCodeError) Error() string
func (*StatusCodeError) Unwrap ¶
func (s *StatusCodeError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.