Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultEnvVariableAPIURL defines the default environment variable used to retrieve API url DefaultEnvVariableAPIURL string = "UPDATECLI_UDASH_API_URL" // DefaultEnvVariableAccessToken defines the default environment variable used to retrieve API access token DefaultEnvVariableAccessToken string = "UPDATECLI_UDASH_ACCESS_TOKEN" // #nosec G101 // DefaultEnvVariableURL defines the default environment variable used to retrieve url DefaultEnvVariableURL string = "UPDATECLI_UDASH_URL" )
View Source
var ( // ErrNoUdashBearerToken is returned if we couldn't find a token in the local updatecli configuration file ErrNoUdashBearerToken error = fmt.Errorf("no bearer token found") // ErrNoUdashAPIURL is returned if we couldn't find an Updatecli report API ErrNoUdashAPIURL error = fmt.Errorf("no Updatecli API defined") )
View Source
var (
Audience string
)
Functions ¶
func ConfigFilePath ¶
ConfigFilePath returns the path of the config file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.