login

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdLogin

func NewCmdLogin(cf *cmdutils.CLIFactory) *cobra.Command

NewCmdVersion returns the current version of cli being used

Types

type LoginOptions

type LoginOptions struct {
	AuthTimedOut bool
	TokenExpired bool
	Config       cliConfig.ConfigData
	// contains filtered or unexported fields
}

Options holds the metadata.

func (*LoginOptions) Run

func (opts *LoginOptions) Run() error

Run executest the command.

func (*LoginOptions) Validate

func (opts *LoginOptions) Validate() error

Validate impletments the Validate method for the ICommand interface.

Jump to

Keyboard shortcuts

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