http_route.proto

Package: smi.split.v1alpha1

Copyright 2018 Istio Authors

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Types:

Source File: github.com/solo-io/supergloo/api/external/smi/specs/v1alpha1/http_route.proto

HTTPRouteGroup

TrafficTarget associates a set of traffic definitions (rules) with a service identity which is allocated to a group of pods. Access is controlled via referenced TrafficSpecs and by a list of source service identities. * If a pod which holds the referenced service identity makes a call to the destination on one of the defined routes then access will be allowed * Any pod which attempts to connect and is not in the defined list of sources will be denied * Any pod which is in the defined list, but attempts to connect on a route which is not in the list of the TrafficSpecs will be denied

"metadata": .core.solo.io.Metadata
"matches": []smi.split.v1alpha1.HTTPMatch
Field Type Description Default
metadata .core.solo.io.Metadata Metadata contains the object metadata for this resource
matches []smi.split.v1alpha1.HTTPMatch Routes for inbound traffic

HTTPMatch

HTTPMatch defines an individual route for HTTP traffic

"name": string
"methods": []string
"pathRegex": string
Field Type Description Default
name string Name is the name of the match for referencing in a TrafficTarget
methods []string Methods for inbound traffic as defined in RFC 7231 https://tools.ietf.org/html/rfc7231#section-4
pathRegex string PathRegex is a regular expression defining the route