Documentation ¶
Overview ¶
Package project handles project.toml parsing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolvePath ¶ added in v1.198.0
func ResolvePath(descriptor, path string, utils cnbutils.BuildUtils) (string, error)
1. If "path" is a directory, check for "${path}/${descriptor}" 2. If "path" is a file, check for "${PWD}/${descriptor}"
Types ¶
type Descriptor ¶
type Descriptor struct { Exclude *ignore.GitIgnore Include *ignore.GitIgnore EnvVars map[string]interface{} Buildpacks []string PreBuildpacks []string PostBuildpacks []string ProjectID string }
func ParseDescriptor ¶
func ParseDescriptor(descriptorPath string, utils cnbutils.BuildUtils, httpClient piperhttp.Sender) (*Descriptor, error)
Directories ¶
Path | Synopsis |
---|---|
Package metadata handles generation of the project-metadata.toml
|
Package metadata handles generation of the project-metadata.toml |
Source: https://github.com/buildpacks/pack/blob/main/pkg/project/types/types.go
|
Source: https://github.com/buildpacks/pack/blob/main/pkg/project/types/types.go |
Source: https://github.com/buildpacks/pack/blob/main/pkg/project/v01/project.go
|
Source: https://github.com/buildpacks/pack/blob/main/pkg/project/v01/project.go |
Source: https://github.com/buildpacks/pack/blob/main/pkg/project/v02/project.go
|
Source: https://github.com/buildpacks/pack/blob/main/pkg/project/v02/project.go |
Click to show internal directories.
Click to hide internal directories.