login

package
v1.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	*cmd.Context
	// contains filtered or unexported fields
}

Cmd wraps the smctl login command

func NewLoginCmd

func NewLoginCmd(context *cmd.Context, input io.ReadWriter, authBuilder authenticationBuilder) *Cmd

NewLoginCmd return new login command with context and input reader

func (*Cmd) HideUsage

func (lc *Cmd) HideUsage() bool

HideUsage hides the command's usage

func (*Cmd) Prepare

func (lc *Cmd) Prepare(prepare cmd.PrepareFunc) *cobra.Command

Prepare returns cobra command

func (*Cmd) Run

func (lc *Cmd) Run() error

Run runs the logic of the command

func (*Cmd) Validate

func (lc *Cmd) Validate(args []string) error

Validate valides the command's arguments

Jump to

Keyboard shortcuts

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