Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitMetadata ¶ added in v0.28.0
func GitMetadata(appPath string) *files.ProjectSource
func NewDescriptor ¶
Types ¶
type Buildpacks ¶
type Buildpacks struct {
Include []string `toml:"include"`
Exclude []string `toml:"exclude"`
Group []Buildpack `toml:"group"`
Env Env `toml:"env"`
Build Build `toml:"build"`
Builder string `toml:"builder"`
Pre GroupAddition `toml:"pre"`
Post GroupAddition `toml:"post"`
}
type Descriptor ¶
type Env
deprecated
type Env struct {
Build []EnvVar `toml:"build"`
}
Deprecated: use `[[io.buildpacks.build.env]]` instead. see https://github.com/buildpacks/pack/pull/1479
type GroupAddition ¶ added in v0.40.0
type GroupAddition struct {
Buildpacks []Buildpack `toml:"group"`
}
type IO ¶
type IO struct {
Buildpacks Buildpacks `toml:"buildpacks"`
}
type Project ¶
type Project struct {
SchemaVersion string `toml:"schema-version"`
ID string `toml:"id"`
Name string `toml:"name"`
Version string `toml:"version"`
Authors []string `toml:"authors"`
Licenses []types.License `toml:"licenses"`
DocumentationURL string `toml:"documentation-url"`
SourceURL string `toml:"source-url"`
Metadata map[string]interface{} `toml:"metadata"`
}
Click to show internal directories.
Click to hide internal directories.