auth

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdLogin

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

func NewCmdLogout

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

func NewCmdSetSession

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

Types

type LoginOptions

type LoginOptions struct {
	User          string
	Password      string
	PasswordStdin bool
}

func (*LoginOptions) Init

func (o *LoginOptions) Init(ctx *cli.Context, args []string) error

func (*LoginOptions) Run

func (o *LoginOptions) Run(ctx *cli.Context) error

func (*LoginOptions) Validate

func (o *LoginOptions) Validate() error

type LogoutOptions

type LogoutOptions struct{}

func (*LogoutOptions) Init

func (o *LogoutOptions) Init(ctx *cli.Context, args []string) error

func (*LogoutOptions) Run

func (o *LogoutOptions) Run(ctx *cli.Context) error

func (*LogoutOptions) Validate

func (o *LogoutOptions) Validate() error

type SetSessionOptions

type SetSessionOptions struct {
	Email string
}

func (*SetSessionOptions) Init

func (o *SetSessionOptions) Init(ctx *cli.Context, args []string) error

func (*SetSessionOptions) Run

func (o *SetSessionOptions) Run(ctx *cli.Context) error

func (*SetSessionOptions) Validate

func (o *SetSessionOptions) Validate() error

Jump to

Keyboard shortcuts

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