Documentation ¶
Index ¶
- func CreateEncrpytedReadMap(encrypted string) map[string]interface{}
- func FieldReader(encryptedMap map[string]interface{}, ...) error
- func FieldReplacer(fieldMap map[string]interface{}, encryptedMap map[string]interface{}, ...) error
- func FieldValidator(fields string, secSection map[string]map[string]map[string]string, ...) error
- func GetEncrpytors(secSection map[string]map[string]map[string]string) (map[string]interface{}, error)
- func NewOptionsBuilder(opts ...Option)
- func PromptUserForFields(fields string, encrypted string, encryption map[string]interface{}) (map[string]interface{}, map[string]interface{}, error)
- func SetEncryptionSecret(config *eUtils.DriverConfig) error
- type Option
- type OptionsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEncrpytedReadMap ¶
func FieldReader ¶
func FieldReplacer ¶
func FieldValidator ¶
func GetEncrpytors ¶
func NewOptionsBuilder ¶
func NewOptionsBuilder(opts ...Option)
func PromptUserForFields ¶
func SetEncryptionSecret ¶
func SetEncryptionSecret(config *eUtils.DriverConfig) error
Types ¶
type OptionsBuilder ¶
type OptionsBuilder struct { FieldValidator func(fields string, secSection map[string]map[string]map[string]string, valSection map[string]map[string]map[string]string) error SetEncryptionSecret func(config *eUtils.DriverConfig) error GetEncrpytors func(secSection map[string]map[string]map[string]string) (map[string]interface{}, error) CreateEncrpytedReadMap func(encrypted string) map[string]interface{} FieldReader func(encryptedMap map[string]interface{}, secSection map[string]map[string]map[string]string, valSection map[string]map[string]map[string]string, decryption map[string]interface{}) error PromptUserForFields func(fields string, encrypted string, encryption map[string]interface{}) (map[string]interface{}, map[string]interface{}, error) FieldReplacer func(fieldMap map[string]interface{}, encryptedMap map[string]interface{}, secSection map[string]map[string]map[string]string, valSection map[string]map[string]map[string]string) error }
var BuildOptions *OptionsBuilder
Click to show internal directories.
Click to hide internal directories.