istio: istio.io/istio/mixer/pkg/validate Index | Files

package validate

import "istio.io/istio/mixer/pkg/validate"

Index

Package Files

validator.go

func NewDefaultValidator Uses

func NewDefaultValidator(stateful bool) store.BackendValidator

NewDefaultValidator creates a validator using compiled templates and adapter descriptors. It does not depend on actual handler/builder interfaces from the compiled-in adapters.

func NewValidator Uses

func NewValidator(adapters map[string]*adapter.Info, templates map[string]*template.Info, stateful bool) store.BackendValidator

NewValidator creates a default validator which validates the structure through registered kinds and optionally referential integrity and expressions if stateful verification is enabled.

Package validate imports 8 packages (graph) and is imported by 3 packages. Updated 2019-06-22. Refresh now. Tools for package owners.