logout

package
v4.0.0-0.11.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 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

Jump to

Keyboard shortcuts

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