istio

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvoyFilterRatelimitsUnstructured

func EnvoyFilterRatelimitsUnstructured(rateLimits []*apimv1alpha1.RateLimit) []map[string]interface{}

EnvoyFilterRatelimitsUnstructured returns "rate_limits" envoy filter patch format from kuadrant rate limits

func StringMatch

func StringMatch(path string, matchType PathMatchType) *istioapinetworkingv1alpha3.StringMatch

Types

type EnvoyFilterFactory

type EnvoyFilterFactory struct {
	ObjectName string
	Namespace  string
	Patches    []*istioapiv1alpha3.EnvoyFilter_EnvoyConfigObjectPatch
	Labels     map[string]string
}

func (*EnvoyFilterFactory) EnvoyFilter

type HTTPFilterStage

type HTTPFilterStage uint32
const (
	PreAuthStage HTTPFilterStage = iota
	PostAuthStage

	PatchedLimitadorClusterName = "rate-limit-cluster"
)

type PathMatchType

type PathMatchType string
const (
	PathMatchExact             PathMatchType = "Exact"
	PathMatchPrefix            PathMatchType = "Prefix"
	PathMatchRegularExpression PathMatchType = "RegularExpression"
)

PathMatchType constants.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL