package
0.0.0-20250127150814-1ca7ded3a4fc
Repository: https://github.com/openfaas/faas-cli.git
Documentation: pkg.go.dev

# Functions

ConfigDir returns the path to the faas-cli config directory.
DecodeAuth decodes the input string from base64 to username and password.
EncodeAuth encodes the username and password strings to base64.
EnsureFile creates the root dir and config file.
LookupAuthConfig returns the username and password for a given gateway.
New initializes a config file for the given file path.
RemoveAuthConfig deletes the username and password for a given gateway.
UpdateAuthConfig creates or updates the username and password for a given gateway.

# Constants

BasicAuthType basic authentication type.
ConfigLocationEnv is the name of he env variable used to configure the location of the faas-cli config folder.
DefaultCIDir creates the 'openfaas' directory in the current directory if running in a CI environment.
DefaultCIPermissions creates the config file with elevated permissions for it to be read by multiple users when running in a CI environment.
No description provided by the author
No description provided by the author
No description provided by the author
Oauth2AuthType oauth2 authentication type.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
ConfigFile for OpenFaaS CLI exclusively.
No description provided by the author

# Type aliases

AuthType auth type.