logout

package
Version: v4.1.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdLogout

func NewCmdLogout(name, fullName, ocLoginFullCommand string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

NewCmdLogout implements the OpenShift cli logout command

Types

type LogoutOptions

type LogoutOptions struct {
	StartingKubeConfig *kclientcmdapi.Config
	Config             *restclient.Config

	PathOptions *kclientcmd.PathOptions

	genericclioptions.IOStreams
}

func NewLogoutOptions

func NewLogoutOptions(streams genericclioptions.IOStreams) *LogoutOptions

func (*LogoutOptions) Complete

func (o *LogoutOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

func (LogoutOptions) RunLogout

func (o LogoutOptions) RunLogout() error

func (LogoutOptions) Validate

func (o LogoutOptions) Validate(args []string) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL