Documentation ¶
Index ¶
Constants ¶
View Source
const OdoReleasesPage = "https://github.com/openshift/odo/releases"
OdoReleasesPage is the GitHub page where we do all our releases
View Source
const RecommendedCommandName = "version"
RecommendedCommandName is the recommended version command name
Variables ¶
This section is empty.
Functions ¶
func GetLatestReleaseInfo ¶
func GetLatestReleaseInfo(info chan<- string)
GetLatestReleaseInfo Gets information about the latest release
func NewCmdVersion ¶
NewCmdVersion implements the version odo command
Types ¶
type VersionOptions ¶ added in v0.0.18
type VersionOptions struct {
// contains filtered or unexported fields
}
VersionOptions encapsulates all options for odo version command
func NewVersionOptions ¶ added in v0.0.18
func NewVersionOptions() *VersionOptions
NewVersionOptions creates a new VersionOptions instance
func (*VersionOptions) Complete ¶ added in v0.0.18
Complete completes VersionOptions after they have been created
func (*VersionOptions) Run ¶ added in v0.0.18
func (o *VersionOptions) Run() (err error)
Run contains the logic for the odo service create command
func (*VersionOptions) Validate ¶ added in v0.0.18
func (o *VersionOptions) Validate() (err error)
Validate validates the VersionOptions based on completed values
Click to show internal directories.
Click to hide internal directories.