Documentation ¶
Index ¶
- func ActiveSessions(db *sql.DB) ([]map[string]interface{}, error)
- func CompareLastModified(dfStatMapA map[string]interface{}, dfStatMapB map[string]interface{}) bool
- func DecryptSecretConfig(tenantConfiguration map[string]interface{}, config map[string]interface{}) string
- func FindIndexForService(project string, service string) (string, []string, string, error)
- func GetDFSPathName() (string, string)
- func GetDatabaseName() string
- func GetFolderPrefix(custom []string) string
- func GetLocalHost() string
- func GetRegion(hostName string) string
- func GetSupportedEndpoints(prod bool) []string
- func GetSupportedTemplates(custom []string) []string
- func GetSyncedTables() []string
- func GetUserCodeField() string
- func GetUserNameField() string
- func GetVaultHost() string
- func GetVaultHostPort() string
- func IsTestRunner() bool
- func NewOptionsBuilder(opts ...Option)
- func PreviousStateCheck(currentState int) int
- func ProcessDeployPluginEnvConfig(pluginEnvConfig map[string]interface{}) map[string]interface{}
- type Option
- type OptionsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareLastModified ¶ added in v1.0.1
func DecryptSecretConfig ¶
func FindIndexForService ¶
func GetDFSPathName ¶ added in v1.0.1
func GetDatabaseName ¶ added in v1.0.1
func GetDatabaseName() string
func GetLocalHost ¶
func GetLocalHost() string
func GetSupportedEndpoints ¶
func GetSupportedTemplates ¶
func GetUserCodeField ¶
func GetUserCodeField() string
func GetVaultHost ¶
func GetVaultHost() string
func GetVaultHostPort ¶
func GetVaultHostPort() string
func IsTestRunner ¶
func IsTestRunner() bool
func NewOptionsBuilder ¶ added in v1.0.1
func NewOptionsBuilder(opts ...Option)
func PreviousStateCheck ¶ added in v1.0.1
func ProcessDeployPluginEnvConfig ¶
Enrich plugin configs
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 { GetFolderPrefix func(custom []string) string GetSupportedTemplates func(custom []string) []string GetSupportedEndpoints func(bool) []string GetLocalHost func() string GetRegion func(hostName string) string GetVaultHost func() string GetVaultHostPort func() string GetUserNameField func() string GetUserCodeField func() string ActiveSessions func(db *sql.DB) ([]map[string]interface{}, error) GetSyncedTables func() []string FindIndexForService func(project string, service string) (string, []string, string, error) ProcessDeployPluginEnvConfig func(pluginEnvConfig map[string]interface{}) map[string]interface{} DecryptSecretConfig func(tenantConfiguration map[string]interface{}, config map[string]interface{}) string GetDFSPathName func() (string, string) GetDatabaseName func() string CompareLastModified func(dfStatMapA map[string]interface{}, dfStatMapB map[string]interface{}) bool PreviousStateCheck func(currentState int) int }
var BuildOptions *OptionsBuilder
Click to show internal directories.
Click to hide internal directories.