package
0.5.0
Repository: https://github.com/cyralinc/dmap.git
Documentation: pkg.go.dev

# Functions

GetCustomLabels loads and returns the labels and their classification rules defined in the given labels yaml file.
GetPredefinedLabels loads and returns the predefined embedded labels and their classification rules.
NewLabel creates a new Label with the given name, description, classification rule, and tags.
NewLabelClassifier creates a new LabelClassifier with the provided labels.

# Structs

Classification represents the classification of a data repository attribute.
InvalidLabelsError is an error type that represents an error when one or more labels are invalid, e.g.
Label represents a data classification label.
LabelClassifier is a Classifier implementation that uses a set of labels and their classification rules to classify data.

# Interfaces

Classifier is an interface that represents a data classifier.

# Type aliases

LabelSet is a set of unique label names.
Result represents the classifications for a set of data attributes.