logout

package
v0.0.0-...-f1c5d28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const RecommendedCommandName = "logout"

RecommendedCommandName is the recommended command name

Variables

This section is empty.

Functions

func NewCmdLogout

func NewCmdLogout(name, fullName string) *cobra.Command

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) Complete

func (o *LogoutOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

Complete completes LogoutOptions after they've been created

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL