Documentation ¶
Index ¶
- func Authorize(db *sql.DB, userIdentifier string, userPassword string) (bool, string, error)
- func CheckMemLock(bucket string, key string) bool
- func GetExtensionAuthComponents(config map[string]interface{}) map[string]interface{}
- func GetLocalVaultAddr() string
- func GetSupportedSourceRegions() []string
- func GetSupportedTemplates() []string
- func GetSyncedTables() []string
- func GetTestConfig(token string, wantPluginPaths bool) map[string]interface{}
- func GetTestDeployConfig(token string) map[string]interface{}
- func GetTrcDbUrl(data map[string]interface{}) string
- func NewOptionsBuilder(opts ...Option)
- func ProcessPluginEnvConfig(pluginEnvConfig map[string]interface{}) map[string]interface{}
- func SetErrorLogger(logger interface{})
- func SetLogger(logger interface{})
- type Option
- type OptionsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExtensionAuthComponents ¶
GetExtensionAuthComponents - obtains an auth components
func GetSupportedTemplates ¶
func GetSupportedTemplates() []string
func GetTestConfig ¶
Test configurations.
func GetTestDeployConfig ¶
func GetTrcDbUrl ¶ added in v1.0.1
func NewOptionsBuilder ¶ added in v1.0.1
func NewOptionsBuilder(opts ...Option)
func ProcessPluginEnvConfig ¶
func SetErrorLogger ¶
func SetErrorLogger(logger interface{})
Types ¶
type Option ¶ added in v1.0.1
type Option func(*OptionsBuilder)
func LoadOptions ¶ added in v1.0.1
func LoadOptions() Option
type OptionsBuilder ¶ added in v1.0.1
type OptionsBuilder struct { SetLogger func(logger interface{}) SetErrorLogger func(logger interface{}) GetLocalVaultAddr func() string GetSupportedSourceRegions func() []string GetTestDeployConfig func(token string) map[string]interface{} ProcessPluginEnvConfig func(pluginEnvConfig map[string]interface{}) map[string]interface{} GetExtensionAuthComponents func(config map[string]interface{}) map[string]interface{} GetSyncedTables func() []string Authorize func(db *sql.DB, userIdentifier string, userPassword string) (bool, string, error) CheckMemLock func(bucket string, key string) bool GetTrcDbUrl func(data map[string]interface{}) string }
var BuildOptions *OptionsBuilder
Click to show internal directories.
Click to hide internal directories.