pimo

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpCache

func DumpCache(name string, cache model.Cache, path string) error

func LoadCache

func LoadCache(name string, cache model.Cache, path string) error

Types

type CachedMaskEngineFactories

type CachedMaskEngineFactories func(model.MaskEngine) model.MaskEngine

type MaskingV2

type MaskingV2 struct {
	Selector SelectorTypeV2         `yaml:"selector"`
	Mask     map[string]interface{} `yaml:"mask"`
	Cache    string                 `yaml:"cache"`
}

type SelectorTypeV2

type SelectorTypeV2 struct {
	JsonPath string `yaml:"jsonpath"`
}

type YAMLCache

type YAMLCache struct {
	Unique bool `yaml:"unique"`
}

type YAMLStructure

type YAMLStructure struct {
	Version string               `yaml:"version"`
	Seed    int64                `yaml:"seed"`
	Masking []model.Masking      `yaml:"masking"`
	Caches  map[string]YAMLCache `yaml:"caches"`
}

YAMLStructure of the file

type YAMLStructureV2

type YAMLStructureV2 struct {
	Version string               `yaml:"version"`
	Seed    int64                `yaml:"seed"`
	Masking []MaskingV2          `yaml:"masking"`
	Caches  map[string]YAMLCache `yaml:"caches"`
}

Jump to

Keyboard shortcuts

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