Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureConfig ¶
type AzureConfig interface { GetEnvironment() azure.Environment GetSubscriptionID() string GetTenantID() string GetClientID() string GetClientSecret() string GetDefaultLocation() string GetDefaultResourceGroup() string }
AzureConfig represents details necessary for the broker to interact with an Azure subscription
func GetAzureConfig ¶
func GetAzureConfig() (AzureConfig, error)
GetAzureConfig returns Azure subscription configuration
type BasicAuthConfig ¶
BasicAuthConfig represents details such as username and password that will be used to secure the broker using basic auth
func GetBasicAuthConfig ¶
func GetBasicAuthConfig() (BasicAuthConfig, error)
GetBasicAuthConfig returns basic auth configuration
type CryptoConfig ¶
CryptoConfig represents details (e.g. key) for encrypting and decrypting any (potentially) sensitive information
func GetCryptoConfig ¶
func GetCryptoConfig() (CryptoConfig, error)
GetCryptoConfig returns crypto configuration
type ModulesConfig ¶
ModulesConfig represents details re: which modules should be included or excluded when the broker is started
func GetModulesConfig ¶
func GetModulesConfig() (ModulesConfig, error)
GetModulesConfig returns modules configuration
type RedisConfig ¶
type RedisConfig interface { GetHost() string GetPort() int GetPassword() string GetStorageDB() int GetAsyncDB() int IsTLSEnabled() bool }
RedisConfig represents details for connecting to the Redis instance that the broker itself relies on for storing state and orchestrating asynchronous processes
func GetRedisConfig ¶
func GetRedisConfig() (RedisConfig, error)
GetRedisConfig returns Redis configuration