istio: Index | Files

package checker

import ""


Package Files


type TypeChecker Uses

type TypeChecker interface {
    // EvalType produces the type of an expression or an error if the type cannot be evaluated.
    // TODO: we probably want to use a golang type rather than pb.ValueType (a proto).
    EvalType(expr string) (dpb.ValueType, error)

TypeChecker validates a given expression for type safety.

func NewTypeChecker Uses

func NewTypeChecker(finder attribute.AttributeDescriptorFinder) TypeChecker

NewTypeChecker returns a new TypeChecker implementation.

Package checker imports 5 packages (graph) and is imported by 4 packages. Updated 2019-06-12. Refresh now. Tools for package owners.