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
}
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.
Click to show internal directories.
Click to hide internal directories.