istio: Index | Files

package validate

import ""


Package Files


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 5 packages. Updated 2020-06-04. Refresh now. Tools for package owners.