remove

package
v1.13.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(conf model.Masking, seed int64, caches map[string]model.Cache) (model.MaskContextEngine, bool, error)

Factory create a mask from a yaml config

Types

type MaskEngine

type MaskEngine struct{}

MaskEngine is an empty mask to link to a field to remove

func NewMask

func NewMask() MaskEngine

NewMask return an empty mask

func (MaskEngine) MaskContext

func (rm MaskEngine) MaskContext(context model.Dictionary, key string, contexts ...model.Dictionary) (model.Dictionary, error)

MaskContext remove the field

Jump to

Keyboard shortcuts

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