Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plan ¶
type Plan = buildpackplan.Plan
Plan represents a contractual buildpack plan.
func ShallowMerge ¶
ShallowMerge merges two Plans together. Declared versions are combined with a comma delimiter and metadata is combined with the values for b taking priority over the values of a when keys are duplicated.
type Plans ¶
type Plans struct {
buildpackplan.Plans
}
Plan represents a contractual buildpack plan.
func (Plans) GetMerged ¶
GetMerged returns a single Plan that is a merged version of all of the Plan's that have a given name. A merge function is used to describe how two entries are merged together. Returns true if any matching Plan's were found, false otherwise.
func (Plans) GetShallowMerged ¶
GetShallowMerged returns a single Plan that is a merged version of all of the Plan's that have a given name. Merging is accomplished with the ShallowMerge function. Returns true if any matching Plan's were found, false otherwise.
type Writer ¶
type Writer = buildpackplan.Writer
Writer is a function write writes the contents of a Plans