Documentation ¶
Index ¶
- Variables
- func ConvertHTTPMatchRequestsPointers(mrs []*v1alpha3.HTTPMatchRequest) []v1alpha3.HTTPMatchRequest
- func ParseDestination(d string) (v1alpha3.Destination, error)
- func ParseDestinations(ds []string) ([]v1alpha3.Destination, error)
- func ParseHTTPRequestMatch(matches []string) (*v1alpha3.HTTPMatchRequest, error)
- func ParseHTTPRequestMatches(matchGroups []string) ([]*v1alpha3.HTTPMatchRequest, error)
- func ParseWeights(weights string) ([]int, error)
- type Destination
- type HTTPMatchRequest
- type HTTPMatchRequests
- type HTTPRedirect
- type HTTPRetry
- type HTTPRewrite
- type HTTPRoute
- type HTTPRouteDestination
- type HTTPRouteDestinations
- type HTTPRoutes
- type StringMatch
- type Timeout
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedRetryOnPolicies = map[string]bool{ "5xx": true, "gateway-error": true, "connect-failure": true, "retriable-4xx": true, "refused-stream": true, "retriable-status-codes": true, "cancelled": true, "deadline-exceeded": true, "internal": true, "resource-exhausted": true, "unavailable": true, }
SupportedRetryOnPolicies contains envoy supported retry on header values
Functions ¶
func ConvertHTTPMatchRequestsPointers ¶
func ConvertHTTPMatchRequestsPointers(mrs []*v1alpha3.HTTPMatchRequest) []v1alpha3.HTTPMatchRequest
func ParseDestination ¶
func ParseDestination(d string) (v1alpha3.Destination, error)
func ParseDestinations ¶
func ParseDestinations(ds []string) ([]v1alpha3.Destination, error)
func ParseHTTPRequestMatch ¶
func ParseHTTPRequestMatch(matches []string) (*v1alpha3.HTTPMatchRequest, error)
func ParseHTTPRequestMatches ¶
func ParseHTTPRequestMatches(matchGroups []string) ([]*v1alpha3.HTTPMatchRequest, error)
func ParseWeights ¶
Types ¶
type Destination ¶
type Destination v1alpha3.Destination
func (Destination) String ¶
func (d Destination) String() string
type HTTPMatchRequest ¶
type HTTPMatchRequest v1alpha3.HTTPMatchRequest
func (HTTPMatchRequest) String ¶
func (r HTTPMatchRequest) String() string
type HTTPMatchRequests ¶
type HTTPMatchRequests []v1alpha3.HTTPMatchRequest
func (HTTPMatchRequests) String ¶
func (r HTTPMatchRequests) String() string
type HTTPRedirect ¶
type HTTPRedirect v1alpha3.HTTPRedirect
func (HTTPRedirect) String ¶
func (r HTTPRedirect) String() string
type HTTPRewrite ¶
type HTTPRewrite v1alpha3.HTTPRewrite
func (HTTPRewrite) String ¶
func (r HTTPRewrite) String() string
type HTTPRouteDestination ¶
type HTTPRouteDestination v1alpha3.HTTPRouteDestination
func (HTTPRouteDestination) String ¶
func (d HTTPRouteDestination) String() string
type HTTPRouteDestinations ¶
type HTTPRouteDestinations []HTTPRouteDestination
func (HTTPRouteDestinations) String ¶
func (ds HTTPRouteDestinations) String() string
type HTTPRoutes ¶
func (HTTPRoutes) GetMatchedRoute ¶
func (r HTTPRoutes) GetMatchedRoute(matches []*v1alpha3.HTTPMatchRequest) *v1alpha3.HTTPRoute
type StringMatch ¶
type StringMatch v1alpha1.StringMatch
func (StringMatch) String ¶
func (r StringMatch) String() string
Click to show internal directories.
Click to hide internal directories.