Documentation
¶
Overview ¶
Code generated by internal/tools/commandcontractgen; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildWithRenderer ¶ added in v0.2.0
func IsPresetID ¶
Types ¶
type PlanningHint ¶ added in v0.7.0
type PlanningHint struct {
PresetID string
PrimaryLanguages []string
StarterEnvironmentClasses []string
StarterWitnessKinds []string
}
PlanningHint is the compact, child-owned stack projection used by repository-neutral planners. It intentionally omits path suggestions and rendered commands; callers can request the complete preset report when needed.
func AdmitPlanningHint ¶ added in v0.7.0
func AdmitPlanningHint(raw any) (PlanningHint, error)
AdmitPlanningHint validates a serialized planning hint against the preset owner instead of asking a parent command to duplicate its fields.
func PlanningHintFor ¶ added in v0.7.0
func PlanningHintFor(presetID string) (PlanningHint, bool)
PlanningHintFor returns the bounded stack facts that are useful during adoption planning without duplicating the complete preset contract.
func (PlanningHint) JSONValue ¶ added in v0.7.0
func (hint PlanningHint) JSONValue() map[string]any
Click to show internal directories.
Click to hide internal directories.