Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetConfigOptions ¶
func SetConfigOptions(baseURL, bearerToken, keyPath string) ([]stackitconfig.ConfigurationOption, error)
SetConfigOptions sets the default config options for the STACKIT client and determines which type of authorization to use, depending on the passed bearerToken and keyPath parameters. If no baseURL or an invalid combination of auth options is given (neither or both), the function returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.