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

login

package
v1.125.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCredential

func NewCmdCredential(f cmdutils.Factory) *cobra.Command

func NewCmdLogin

func NewCmdLogin(f cmdutils.Factory) *cobra.Command

Types

type LoginOptions

type LoginOptions struct {
	IO     *iostreams.IOStreams
	Config func() config.Config

	Interactive bool

	Hostname string
	Token    string
	JobToken string

	ApiHost                  string
	ApiProtocol              string
	GitProtocol              string
	SSHHostname              string
	ContainerRegistryDomains string

	WebLogin        bool
	DeviceLogin     bool
	UseKeyring      bool // Deprecated: keyring storage is now the default.
	InsecureStorage bool

	SetupGitCredentialHelper bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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