auth

package
v0.0.0-...-1449f23 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskPassword

func AskPassword() (string, error)

Types

type LoginResult

type LoginResult struct {
	Login   string
	Auth    string
	ApiHost string
}

func LoginCmd

func LoginCmd() (*LoginResult, error)

type PasswordReader

type PasswordReader interface {
	ReadPassword() (string, error)
}

type StdInPasswordReader

type StdInPasswordReader struct{}

func (StdInPasswordReader) ReadPassword

func (r StdInPasswordReader) ReadPassword() (string, error)

Jump to

Keyboard shortcuts

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