logout

package
v0.0.0-...-79ceddb Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(f *cmdutil.Factory) *cobra.Command

func NewCobraCmd

func NewCobraCmd(logout *LogoutCmd, f *cmdutil.Factory) *cobra.Command

Types

type LogoutCmd

type LogoutCmd struct {
	Io            *iostreams.IOStreams
	ReadSettings  func() (token.Settings, error)
	WriteSettings func(token.Settings) error
	DeleteToken   func(context.Context, string) error
}

func NewLogoutCmd

func NewLogoutCmd(f *cmdutil.Factory) *LogoutCmd

Jump to

Keyboard shortcuts

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