Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidOutputTypes = []string{"json", "yaml", "table"}
Functions ¶
Types ¶
type CmdOptionsVersion ¶
type CmdOptionsVersion struct {
IOStreams *terminal.IOStreams
CliParams *settings.Run
Output string
File string
NoCache bool
Local bool
}
func (*CmdOptionsVersion) GetSolution ¶
func (o *CmdOptionsVersion) GetSolution(ctx context.Context) error
func (*CmdOptionsVersion) GetSolutionWithGetter ¶
GetSolutionWithGetter retrieves a solution using the provided getter implementation. This method allows for dependency injection, making it easier to test with mock implementations. The getter parameter should implement the get.Interface.
func (*CmdOptionsVersion) ListSolutions ¶ added in v0.15.0
func (o *CmdOptionsVersion) ListSolutions(ctx context.Context) error
ListSolutions lists solutions from the local and configured catalogs.
Click to show internal directories.
Click to hide internal directories.