Documentation ¶
Index ¶
- Constants
- type DumbObjectSelector
- type DumbRouteSelector
- type GlooDestinationMatcher
- type GlooDestinations
- type GlooMatchedHttpRoutes
- type GlooMatchedRouteTable
- type GlooMatchedTCPRoutes
- type GlooMatchedTLSRoutes
- type GlooPlatformAPITrafficRouting
- type RpcPlugin
- func (r *RpcPlugin) InitPlugin() pluginTypes.RpcError
- func (r *RpcPlugin) RemoveManagedRoutes(rollout *v1alpha1.Rollout) pluginTypes.RpcError
- func (r *RpcPlugin) SetHeaderRoute(rollout *v1alpha1.Rollout, headerRouting *v1alpha1.SetHeaderRoute) pluginTypes.RpcError
- func (r *RpcPlugin) SetMirrorRoute(rollout *v1alpha1.Rollout, setMirrorRoute *v1alpha1.SetMirrorRoute) pluginTypes.RpcError
- func (r *RpcPlugin) SetWeight(rollout *v1alpha1.Rollout, desiredWeight int32, ...) pluginTypes.RpcError
- func (r *RpcPlugin) Type() string
- func (r *RpcPlugin) UpdateHash(rollout *v1alpha1.Rollout, canaryHash, stableHash string, ...) pluginTypes.RpcError
- func (r *RpcPlugin) VerifyWeight(rollout *v1alpha1.Rollout, desiredWeight int32, ...) (pluginTypes.RpcVerified, pluginTypes.RpcError)
Constants ¶
View Source
const ( Type = "GlooPlatformAPI" GlooPlatformAPIUpdateError = "GlooPlatformAPIUpdateError" PluginName = "solo-io/glooplatformAPI" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DumbObjectSelector ¶
type DumbRouteSelector ¶
type GlooDestinationMatcher ¶
type GlooDestinationMatcher struct { // Regexp *GlooDestinationMatcherRegexp `json:"regexp" protobuf:"bytes,1,name=regexp"` Ref *solov2.ObjectReference `json:"ref" protobuf:"bytes,2,name=ref"` }
type GlooDestinations ¶
type GlooDestinations struct { StableOrActiveDestination *solov2.DestinationReference CanaryOrPreviewDestination *solov2.DestinationReference }
type GlooMatchedHttpRoutes ¶
type GlooMatchedHttpRoutes struct { // matched HttpRoute HttpRoute *networkv2.HTTPRoute // matched destinations within the httpRoute Destinations *GlooDestinations }
type GlooMatchedRouteTable ¶
type GlooMatchedRouteTable struct { // matched gloo platform route table RouteTable *networkv2.RouteTable // matched http routes within the routetable HttpRoutes []*GlooMatchedHttpRoutes // matched tcp routes within the routetable TCPRoutes []*GlooMatchedTCPRoutes // matched tls routes within the routetable TLSRoutes []*GlooMatchedTLSRoutes }
type GlooMatchedTCPRoutes ¶
type GlooMatchedTCPRoutes struct { // matched HttpRoute TCPRoute *networkv2.TCPRoute // matched destinations within the httpRoute Destinations []*GlooDestinations }
type GlooMatchedTLSRoutes ¶
type GlooMatchedTLSRoutes struct { // matched HttpRoute TLSRoute *networkv2.TLSRoute // matched destinations within the httpRoute Destinations []*GlooDestinations }
type GlooPlatformAPITrafficRouting ¶
type GlooPlatformAPITrafficRouting struct { RouteTableSelector *DumbObjectSelector `json:"routeTableSelector" protobuf:"bytes,1,name=routeTableSelector"` RouteSelector *DumbRouteSelector `json:"routeSelector" protobuf:"bytes,2,name=routeSelector"` }
type RpcPlugin ¶
type RpcPlugin struct { IsTest bool // temporary hack until mock clienset is fixed (missing some interface methods) TestRouteTable *networkv2.RouteTable LogCtx *logrus.Entry Client gloo.NetworkV2ClientSet }
func (*RpcPlugin) InitPlugin ¶
func (r *RpcPlugin) InitPlugin() pluginTypes.RpcError
func (*RpcPlugin) RemoveManagedRoutes ¶
func (r *RpcPlugin) RemoveManagedRoutes(rollout *v1alpha1.Rollout) pluginTypes.RpcError
func (*RpcPlugin) SetHeaderRoute ¶
func (r *RpcPlugin) SetHeaderRoute(rollout *v1alpha1.Rollout, headerRouting *v1alpha1.SetHeaderRoute) pluginTypes.RpcError
func (*RpcPlugin) SetMirrorRoute ¶
func (r *RpcPlugin) SetMirrorRoute(rollout *v1alpha1.Rollout, setMirrorRoute *v1alpha1.SetMirrorRoute) pluginTypes.RpcError
func (*RpcPlugin) SetWeight ¶
func (r *RpcPlugin) SetWeight(rollout *v1alpha1.Rollout, desiredWeight int32, additionalDestinations []v1alpha1.WeightDestination) pluginTypes.RpcError
func (*RpcPlugin) UpdateHash ¶
func (r *RpcPlugin) UpdateHash(rollout *v1alpha1.Rollout, canaryHash, stableHash string, additionalDestinations []v1alpha1.WeightDestination) pluginTypes.RpcError
func (*RpcPlugin) VerifyWeight ¶
func (r *RpcPlugin) VerifyWeight(rollout *v1alpha1.Rollout, desiredWeight int32, additionalDestinations []v1alpha1.WeightDestination) (pluginTypes.RpcVerified, pluginTypes.RpcError)
Click to show internal directories.
Click to hide internal directories.