helper

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotImplemented = errors.New("not implemented")

Functions

This section is empty.

Types

type EnvHelper

type EnvHelper struct {
	CredentialsOptional bool
}

func (EnvHelper) Add

func (e EnvHelper) Add(creds *credentials.Credentials) error

func (EnvHelper) Delete

func (e EnvHelper) Delete(serverURL string) error

func (EnvHelper) Get

func (e EnvHelper) Get(serverURL string) (string, string, error)

Get retrieves the credentials for the server URL from the process environment.

func (EnvHelper) List

func (e EnvHelper) List() (map[string]string, error)

Jump to

Keyboard shortcuts

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