Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct {
PathRegex string `json:"path_regex:omitempty"`
Methods []string `json:"methods:omitempty"`
Headers map[string]string `json:"headers:omitempty"`
}
Route is a struct of a path regex and the methods on a given route
type RouteWeightedClusters ¶
type RouteWeightedClusters struct {
Route Route `json:"route:omitempty"`
WeightedClusters set.Set `json:"weighted_clusters:omitempty"`
}
RouteWeightedClusters is a struct of a route and the weighted clusters on that route
type TrafficSpecMatchName ¶
type TrafficSpecMatchName string
TrafficSpecMatchName is the name of a match in SMI TrafficSpec
type TrafficSpecName ¶
type TrafficSpecName string
TrafficSpecName is the namespaced name of the SMI TrafficSpec
type TrafficTarget ¶
type TrafficTarget struct {
Name string `json:"name:omitempty"`
Destination service.MeshService `json:"destination:omitempty"`
Source service.MeshService `json:"source:omitempty"`
Route Route `json:"route:omitempty"`
}
TrafficTarget is a struct of the allowed RoutePaths from sources to a destination
Click to show internal directories.
Click to hide internal directories.