logout

package
v1.0.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 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 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

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

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

Jump to

Keyboard shortcuts

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