Help us shape the future of Go! Take the 2026 Go Developer Survey

logout

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogoutCmd

func NewLogoutCmd(ioStreams genericiooptions.IOStreams) *cobra.Command

Types

type Options

type Options struct {
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(ioStreams genericiooptions.IOStreams) *Options

func (*Options) Complete

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

Complete completes all the required options.

func (*Options) Run

func (o *Options) Run(args []string) error

Run executes a create subcommand using the specified options.

func (*Options) Validate

func (o *Options) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepency in command options.

Jump to

Keyboard shortcuts

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