auth

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: Apache-2.0 Imports: 8 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

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

Jump to

Keyboard shortcuts

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