Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildInterface ¶
func BuildInterface(config *eUtils.DriverConfig, goMod *kv.Modifier, tfmContextInterface interface{}, vaultDatabaseConfig map[string]interface{}, serverListenerInterface interface{}) error
Used to define a database interface for querying TrcDb. Builds interface for TrcDB
func GetDatabaseName ¶
func GetDatabaseName() string
GetDatabaseName - returns a name to be used by TrcDb.
func GetFolderPrefix ¶
Folder prefix for _seed and _templates. This function takes a list of paths and looking at the first entry, retrieve an embedded folder prefix.
func NewOptionsBuilder ¶ added in v1.0.1
func NewOptionsBuilder(opts ...Option)
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 GetDatabaseName func() string BuildInterface func(config *eUtils.DriverConfig, goMod *kv.Modifier, tfmContext interface{}, vaultDatabaseConfig map[string]interface{}, serverListener interface{}) error }
var BuildOptions *OptionsBuilder
Click to show internal directories.
Click to hide internal directories.