logout

package
v0.6.279 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package logout is for the logout command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdLogout

func NewCmdLogout(auth Auth, store LogoutStore) *cobra.Command

Types

type Auth added in v0.4.0

type Auth interface {
	Logout() error
}

type LogoutOptions

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

func (*LogoutOptions) RunLogout

func (o *LogoutOptions) RunLogout() error

type LogoutStore added in v0.6.29

type LogoutStore interface {
	ClearDefaultOrganization() error
	GetCurrentWorkspaceID() (string, error)
}

Jump to

Keyboard shortcuts

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