Documentation ¶
Index ¶
- Constants
- type ContourTrafficRouting
- 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, canaryWeightPercent 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, canaryWeightPercent int32, ...) (pluginTypes.RpcVerified, pluginTypes.RpcError)
Constants ¶
View Source
const ConfigKey = "argoproj-labs/contour"
ConfigKey used to identify the plugin in argo-rollouts configmap. see https://argoproj.github.io/argo-rollouts/features/traffic-management/plugins/
View Source
const Type = "Contour"
Type holds this plugin type
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContourTrafficRouting ¶
type ContourTrafficRouting struct { // HTTPProxies is an array of strings which refer to the names of the HTTPProxies used to route // traffic to the service HTTPProxies []string `json:"httpProxies" protobuf:"bytes,1,name=httpProxies"` }
type RpcPlugin ¶
type RpcPlugin struct { IsTest bool UpdatedMockHTTPProxy *contourv1.HTTPProxy // contains filtered or unexported fields }
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, canaryWeightPercent 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, canaryWeightPercent int32, additionalDestinations []v1alpha1.WeightDestination) (pluginTypes.RpcVerified, pluginTypes.RpcError)
Click to show internal directories.
Click to hide internal directories.