Documentation ¶
Index ¶
- Constants
- type Config
- type RpcPlugin
- func (g *RpcPlugin) GarbageCollect(*v1alpha1.AnalysisRun, v1alpha1.Metric, int) types.RpcError
- func (g *RpcPlugin) GetMetadata(metric v1alpha1.Metric) map[string]string
- func (g *RpcPlugin) InitPlugin() types.RpcError
- func (g *RpcPlugin) Resume(analysisRun *v1alpha1.AnalysisRun, metric v1alpha1.Metric, ...) v1alpha1.Measurement
- func (g *RpcPlugin) Run(anaysisRun *v1alpha1.AnalysisRun, metric v1alpha1.Metric) v1alpha1.Measurement
- func (g *RpcPlugin) Terminate(analysisRun *v1alpha1.AnalysisRun, metric v1alpha1.Metric, ...) v1alpha1.Measurement
- func (g *RpcPlugin) Type() string
Constants ¶
View Source
const EnvVarArgoRolloutsPrometheusAddress string = "ARGO_ROLLOUTS_PROMETHEUS_ADDRESS"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcPlugin ¶
Here is a real implementation of MetricProviderPlugin
func (*RpcPlugin) GarbageCollect ¶
func (*RpcPlugin) GetMetadata ¶
func (*RpcPlugin) InitPlugin ¶
func (*RpcPlugin) Resume ¶
func (g *RpcPlugin) Resume(analysisRun *v1alpha1.AnalysisRun, metric v1alpha1.Metric, measurement v1alpha1.Measurement) v1alpha1.Measurement
func (*RpcPlugin) Run ¶
func (g *RpcPlugin) Run(anaysisRun *v1alpha1.AnalysisRun, metric v1alpha1.Metric) v1alpha1.Measurement
func (*RpcPlugin) Terminate ¶
func (g *RpcPlugin) Terminate(analysisRun *v1alpha1.AnalysisRun, metric v1alpha1.Metric, measurement v1alpha1.Measurement) v1alpha1.Measurement
Click to show internal directories.
Click to hide internal directories.