Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallComponenets ¶
func InstallComponenets(ps []InstallParam) error
func PrintComponents ¶
func PrintComponents(ps []InstallParam) error
PrintComponents prints parsed InstallParams in a human-readable format Highlights: explicit flags, normalized versions, and consistent spacing
Types ¶
type InstallParam ¶
type InstallParam struct {
IsLatest bool
IsBaseline bool
Component string
Version string // Normalized version (x.y.z, no v-prefix); empty if IsLatest/IsBaseline is true
}
func ParseParam ¶
func ParseParam(args []string) ([]InstallParam, error)
Click to show internal directories.
Click to hide internal directories.