pipe

package
v1.28.2-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

Factory create a mask from a configuration

Types

type MaskEngine

type MaskEngine struct {
	// contains filtered or unexported fields
}

MaskEngine is a value that always mask the same way

func NewMask

func NewMask(seed int64, injectParent string, injectRoot string, caches map[string]model.Cache, fns template.FuncMap, filename string, masking ...model.Masking) (MaskEngine, error)

NewMask return a MaskEngine from a value

func (MaskEngine) MaskContext

func (me MaskEngine) MaskContext(entry model.Dictionary, key string, context ...model.Dictionary) (model.Dictionary, error)

Jump to

Keyboard shortcuts

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