Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthEnvClient ¶
AuthEnvClient creates a client that is authenticated based on configuration environment variables.
Also returns the server base URL.
func Authenticate ¶
Authenticate configures the client to access a server with the base URL and password, returning an error if the login fails.
func PrintEnvUsage ¶
func PrintEnvUsage()
PrintEnvUsage writes instructions on setting up authentication via environment variables to stderr.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.