Documentation
¶
Index ¶
- Constants
- func MakeCluster(clusterName string, eps []Endpoint, isGrpc bool, clientSecret *Secret) *cluster.Cluster
- func MakeEndpoint(clusterName string, eps []Endpoint) *endpoint.ClusterLoadAssignment
- func MakeHTTPListener(listenerName, address string, port uint32, routeConfigurationName string, ...) *listener.Listener
- func MakeRoute(modelRoutes []*Route, pipelineRoutes []*PipelineRoute) (*route.RouteConfiguration, *route.RouteConfiguration)
- func MakeSecretResource(name string, validationName string, certStore tls.CertificateStoreHandler) []*tlsv3.Secret
- type Cluster
- type Endpoint
- type Listener
- type PipelineRoute
- type PipelineTrafficSplits
- type Route
- type RouteVersionKey
- type Secret
- type TrafficSplits
Constants ¶
View Source
const ( PipelineGatewayHttpClusterName = "pipelinegateway_http" PipelineGatewayGrpcClusterName = "pipelinegateway_grpc" MirrorHttpClusterName = "mirror_http" MirrorGrpcClusterName = "mirror_grpc" )
View Source
const ( SeldonLoggingHeader = "Seldon-Logging" EnvoyLogPathPrefix = "/tmp/request-log" SeldonModelHeader = "seldon-model" SeldonPipelineHeader = "pipeline" SeldonInternalModelHeader = "seldon-internal-model" SeldonRouteHeader = "x-seldon-route" SeldonRouteSeparator = ":" // Tried % but this seemed to break envoy matching. Maybe % is a special character or connected to regexp. A bug? SeldonModelHeaderSuffix = "model" SeldonPipelineHeaderSuffix = "pipeline" DefaultRouteTimeoutSecs = 60 //TODO allow configurable override ExternalHeaderPrefix = "x-" DefaultRouteConfigurationName = "listener_0" MirrorRouteConfigurationName = "listener_1" TLSRouteConfigurationName = "listener_tls" )
Variables ¶
This section is empty.
Functions ¶
func MakeCluster ¶
func MakeEndpoint ¶
func MakeEndpoint(clusterName string, eps []Endpoint) *endpoint.ClusterLoadAssignment
func MakeHTTPListener ¶
func MakeRoute ¶
func MakeRoute(modelRoutes []*Route, pipelineRoutes []*PipelineRoute) (*route.RouteConfiguration, *route.RouteConfiguration)
func MakeSecretResource ¶
Types ¶
type PipelineRoute ¶
type PipelineRoute struct { RouteName string Clusters []PipelineTrafficSplits Mirrors []PipelineTrafficSplits }
type PipelineTrafficSplits ¶
type Route ¶
type Route struct { RouteName string LogPayloads bool Clusters []TrafficSplits Mirrors []TrafficSplits }
type RouteVersionKey ¶
Click to show internal directories.
Click to hide internal directories.