logout

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package logout implements the "krci auth logout" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdLogout

func NewCmdLogout(f *cmdutil.Factory, runF func(*LogoutOptions) error) *cobra.Command

NewCmdLogout returns the "auth logout" cobra.Command. runF is the business logic function; pass nil to use the default logoutRun.

Types

type LogoutOptions

type LogoutOptions struct {
	IO            *iostreams.IOStreams
	TokenProvider func() (auth.TokenProvider, error)
}

LogoutOptions holds all inputs for the logout command.

Jump to

Keyboard shortcuts

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