Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory(conf model.MaskFactoryConfiguration) (model.MaskEngine, bool, error)
Factory create a mask from a yaml config
Types ¶
type MaskEngine ¶
type MaskEngine struct {
// contains filtered or unexported fields
}
MaskEngine is to mask a value thanks to a template
func (MaskEngine) Mask ¶
func (tmpl MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Mask masks a value with a template
Click to show internal directories.
Click to hide internal directories.