Documentation ¶
Overview ¶
Package project handles project.toml parsing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolvePath ¶
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 ProjectID string }
func ParseDescriptor ¶
func ParseDescriptor(descriptorPath string, utils cnbutils.BuildUtils, httpClient piperhttp.Sender) (*Descriptor, error)
Click to show internal directories.
Click to hide internal directories.