Help us shape the future of Go! Take the 2026 Go Developer Survey

login

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoginCmd

func NewLoginCmd(ioStreams genericiooptions.IOStreams) *cobra.Command

Types

type Options

type Options struct {
	ServerAddress string
	User          string
	Password      string
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(ioStreams genericiooptions.IOStreams) *Options

func (*Options) Complete

func (o *Options) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*Options) Run

func (o *Options) Run(args []string) error

Run performs the login operation.

func (*Options) Validate

func (o *Options) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepency in command options.

Jump to

Keyboard shortcuts

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