auth

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd added in v0.2.0

func NewCmd(ctx *cli.Context) *cobra.Command

func NewCmdList added in v0.2.0

func NewCmdList(ctx *cli.Context) *cobra.Command

func NewCmdLogin

func NewCmdLogin(ctx *cli.Context) *cobra.Command

func NewCmdLogout

func NewCmdLogout(ctx *cli.Context) *cobra.Command

func NewCmdUse added in v0.2.3

func NewCmdUse(ctx *cli.Context) *cobra.Command

func PrintFormat added in v0.2.0

func PrintFormat(output io.Writer, format string, sessions []*session.Session) error

func RunUse added in v0.2.3

func RunUse(ctx *cli.Context, opts *UseOptions) error

Types

type ListOptions added in v0.2.0

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

type LoginHandler added in v0.2.4

type LoginHandler func(*cli.Context, *LoginOptions) (*api.Auth, error)

type LoginOptions

type LoginOptions struct {
	Username      string
	Password      string
	PasswordStdin bool
	Browser       bool
}

type LogoutOptions

type LogoutOptions struct{}

type UseOptions added in v0.2.3

type UseOptions struct {
	Email string
}

Jump to

Keyboard shortcuts

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