Documentation ¶
Index ¶
Constants ¶
View Source
const RecommendedCommandName = "logout"
RecommendedCommandName is the recommended command name
Variables ¶
This section is empty.
Functions ¶
func NewCmdLogout ¶
NewCmdLogout implements the logout odo command
Types ¶
type LogoutOptions ¶ added in v0.0.19
type LogoutOptions struct {
*genericclioptions.Context
}
LogoutOptions encapsulates the options for the odo logout command
func NewLogoutOptions ¶ added in v0.0.19
func NewLogoutOptions() *LogoutOptions
NewLogoutOptions creates a new LogoutOptions instance
func (*LogoutOptions) Complete ¶ added in v0.0.19
Complete completes LogoutOptions after they've been created
func (*LogoutOptions) Run ¶ added in v0.0.19
func (o *LogoutOptions) Run() (err error)
Run contains the logic for the odo logout command
func (*LogoutOptions) Validate ¶ added in v0.0.19
func (o *LogoutOptions) Validate() (err error)
Validate validates the LogoutOptions based on completed values
Click to show internal directories.
Click to hide internal directories.