logout

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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