# Functions
NewGovernanceRulesValidator creates a validator for custom validation rules updates.
NewGovernedProcessValidator creates a segment validator.
NewMultiValidator creates a validator that will simply be a collection of single-purpose validators.
NewParticipantsValidator creates a new participants validator for the network.
NewPKIValidator returns a new PKIValidator.
NewProcessStepValidator creates a new ProcessStepValidator for the given process and step.
NewRefsValidator creates a new RefsValidator.
NewSchemaValidator returns a new SchemaValidator.
NewScriptValidator creates a new validator for the given process.
NewTransitionValidator returns a new TransitionValidator for the given process and step.
# Constants
GovernanceProcess is the name of the process containing validation rules in a decentralized network.
MultiValidatorName for monitoring.
Available update types.
Allowed steps in the participants map.
ParticipantsMap is the ID of the map containing participants in the governance process.
Allowed steps in the participants map.
ParticipantsValidatorName name for monitoring.
Allowed steps in the participants map.
Available update types.
PKIValidatorName for monitoring.
RefsValidatorName for monitoring.
SchemaValidatorName for monitoring.
ScriptValidatorName for monitoring.
StepValidatorName for monitoring.
TransitionValidatorName for monitoring.
# Variables
Errors used by the participants validator.
Errors used by the PKI validator.
Errors used by the schema validator.
Errors used by the participants validator.
Errors used by the participants validator.
Errors returned by the script validator.
Errors returned by the script validator.
Errors used by the ProcessStepValidator.
Errors used by the transition validator.
Errors used by the participants validator.
Errors used by the participants validator.
Participant errors.
Errors returned by the script validator.
Errors returned by the RefsValidator.
Errors used by the PKI validator.
Errors used by the ProcessStepValidator.
Participant errors.
Participant errors.
Errors used by the ProcessStepValidator.
Errors used by the PKI validator.
Errors used by the multi-validator.
Errors returned by the RefsValidator.
Participant errors.
Errors used by the participants validator.
Errors used by the participants validator.
Errors returned by the RefsValidator.
Errors returned by the RefsValidator.
Participant errors.
# Structs
GovernanceRulesValidator validates the evolution of custom rules in a p2p decentralized network.
GovernedProcessValidator validates a segment against the latest voted rules in a p2p decentralized network.
Identity represents an actor in a network.
MultiValidator is a collection of validators.
Participant in a decentralized network.
ParticipantsValidator validates changes to the governance participants list.
ParticipantUpdate operation to remove/update network participants.
PKIValidator validates the json signature requirements of a link's data.
ProcessStepValidator validates a link's process and step.
RefsValidator validates link references (parent and refs).
SchemaValidator validates the json schema of a link's data.
ScriptConfig defines the configuration of the go validation plugin.
ScriptValidator validates a link according to custom rules written as a go plugin.
TransitionValidator restricts the transitions from a step to another.
# Interfaces
Validator defines a validator that has an internal state, identified by its hash.
# Type aliases
PKI maps a public key to an identity.
ProcessesValidators maps a process name to a list of validators.
ScriptValidatorFunc is the function called when enforcing a custom validation rule.
Validators is an array of Validator.