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 ¶
type LogoutOptions struct {
*genericclioptions.Context
}
LogoutOptions encapsulates the options for the odo logout command
func NewLogoutOptions ¶
func NewLogoutOptions() *LogoutOptions
NewLogoutOptions creates a new LogoutOptions instance
func (*LogoutOptions) Run ¶
func (o *LogoutOptions) Run() (err error)
Run contains the logic for the odo logout command
func (*LogoutOptions) Validate ¶
func (o *LogoutOptions) Validate() (err error)
Validate validates the LogoutOptions based on completed values
Click to show internal directories.
Click to hide internal directories.