istio: istio.io/istio/pilot/pkg/security/authz/model/matcher Index | Files

package matcher

import "istio.io/istio/pilot/pkg/security/authz/model/matcher"

Index

Package Files

cidr.go header.go metadata.go string.go

func CidrRange Uses

func CidrRange(v string) (*core.CidrRange, error)

CidrRange converts a CIDR or a single IP string to a corresponding CidrRange. For a single IP string the converted CidrRange prefix is either 32 (for ipv4) or 128 (for ipv6).

func HeaderMatcher Uses

func HeaderMatcher(k, v string) *route.HeaderMatcher

HeaderMatcher converts a key, value string pair to a corresponding HeaderMatcher.

func MetadataListMatcher Uses

func MetadataListMatcher(filter string, keys []string, value string) *envoy_matcher.MetadataMatcher

MetadataListMatcher generates a metadata list matcher for the given path keys and value.

func MetadataStringMatcher Uses

func MetadataStringMatcher(filter, key string, m *envoy_matcher.StringMatcher) *envoy_matcher.MetadataMatcher

func StringMatcher Uses

func StringMatcher(v string) *envoy_matcher.StringMatcher

func StringMatcherRegex Uses

func StringMatcherRegex(regex string) *envoy_matcher.StringMatcher

func StringMatcherWithPrefix Uses

func StringMatcherWithPrefix(v, prefix string) *envoy_matcher.StringMatcher

Package matcher imports 7 packages (graph) and is imported by 1 packages. Updated 2019-10-04. Refresh now. Tools for package owners.