harbingeropts

package
v1.21.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 21 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildInterface

func BuildInterface(driverConfig *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

func GetFolderPrefix(custom []string) string

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(driverConfig *eUtils.DriverConfig, goMod *kv.Modifier, tfmContext interface{}, vaultDatabaseConfig map[string]interface{}, serverListener interface{}) error
}
var BuildOptions *OptionsBuilder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL