console

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ReadPassword

func ReadPassword(name string) ([]byte, error)

Types

type AuthService

type AuthService struct {
	// contains filtered or unexported fields
}

func NewAuthService

func NewAuthService(client auth.ClientInterface) *AuthService

func (*AuthService) AcquireCredentials

func (s *AuthService) AcquireCredentials() error

func (*AuthService) Login

func (s *AuthService) Login() error

func (*AuthService) SessionToken

func (s *AuthService) SessionToken() api.Token

type AuthServiceInterface

type AuthServiceInterface interface {
	Login() error
	SessionToken() api.Token
}

Jump to

Keyboard shortcuts

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