login

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 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(streams options.IOStreams) *cobra.Command

Types

type LoginOptions

type LoginOptions struct {
	PrintFlags *printer.PrintFlags
	options.IOStreams
	Username string
	Password string
	Host     string
}

func NewLoginOptions

func NewLoginOptions(streams options.IOStreams) *LoginOptions

func (*LoginOptions) RunLogin

func (l *LoginOptions) RunLogin() error

func (*LoginOptions) ValidateArgs

func (l *LoginOptions) ValidateArgs(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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