Versions in this module Expand all Collapse all v0 v0.1.1 Sep 3, 2025 v0.1.0 Sep 1, 2025 Changes in this version + const AnalysisDeviationEither + const AnalysisDeviationHigh + const AnalysisDeviationLow + const AnalysisStrategyCanaryBaseline + const AnalysisStrategyCanaryPrimary + const AnalysisStrategyPrevious + const AnalysisStrategyThreshold + const KindAnalysisTemplate + var ErrNotFound = errors.New("not found") + type AnalysisApplicationSpec struct + AppCustomArgs map[string]string + type AnalysisExpected struct + Max *float64 + Min *float64 + func (e *AnalysisExpected) InRange(value float64) bool + func (e *AnalysisExpected) String() string + func (e *AnalysisExpected) Validate() error + type AnalysisHTTP struct + ExpectedCode int + ExpectedResponse string + FailureLimit int + Headers []AnalysisHTTPHeader + Interval unit.Duration + Method string + SkipOnNoData bool + Timeout unit.Duration + URL string + func (a *AnalysisHTTP) Validate() error + type AnalysisHTTPHeader struct + Key string + Value string + type AnalysisLog struct + FailureLimit int + Interval unit.Duration + Provider string + Query string + SkipOnNoData bool + Timeout unit.Duration + func (a *AnalysisLog) Validate() error + type AnalysisMetrics struct + BaselineArgs map[string]string + CanaryArgs map[string]string + Deviation string + Expected AnalysisExpected + FailureLimit int + Interval unit.Duration + PrimaryArgs map[string]string + Provider string + Query string + SkipOnNoData bool + Strategy string + Timeout unit.Duration + func (m *AnalysisMetrics) Validate() error + type AnalysisProviderDatadogConfig struct + APIKeyData string + APIKeyFile string + Address string + ApplicationKeyData string + ApplicationKeyFile string + func (a *AnalysisProviderDatadogConfig) Mask() + func (a *AnalysisProviderDatadogConfig) Validate() error + type AnalysisProviderPrometheusConfig struct + Address string + PasswordFile string + UsernameFile string + func (a *AnalysisProviderPrometheusConfig) Mask() + func (a *AnalysisProviderPrometheusConfig) Validate() error + type AnalysisProviderStackdriverConfig struct + ServiceAccountFile string + func (a *AnalysisProviderStackdriverConfig) Mask() + func (a *AnalysisProviderStackdriverConfig) Validate() error + type AnalysisProviderType string + const AnalysisProviderDatadog + const AnalysisProviderPrometheus + const AnalysisProviderStackdriver + func (t AnalysisProviderType) String() string + type AnalysisStageOptions struct + Duration unit.Duration + HTTPS []TemplatableAnalysisHTTP + Logs []TemplatableAnalysisLog + Metrics []TemplatableAnalysisMetrics + RestartThreshold int + func (a *AnalysisStageOptions) Validate() error + type AnalysisTemplateConfig struct + APIVersion string + Kind string + Spec AnalysisTemplateSpec + type AnalysisTemplateRef struct + AppArgs map[string]string + Name string + func (a *AnalysisTemplateRef) Validate() error + type AnalysisTemplateSpec struct + HTTPS map[string]AnalysisHTTP + Logs map[string]AnalysisLog + Metrics map[string]AnalysisMetrics + func LoadAnalysisTemplate(sharedConfigDir string) (*AnalysisTemplateSpec, error) + func (s *AnalysisTemplateSpec) Validate() error + type PipedAnalysisProvider struct + DatadogConfig *AnalysisProviderDatadogConfig + Name string + PrometheusConfig *AnalysisProviderPrometheusConfig + StackdriverConfig *AnalysisProviderStackdriverConfig + Type AnalysisProviderType + func (p *PipedAnalysisProvider) MarshalJSON() ([]byte, error) + func (p *PipedAnalysisProvider) Mask() + func (p *PipedAnalysisProvider) UnmarshalJSON(data []byte) error + func (p *PipedAnalysisProvider) Validate() error + type PluginConfig struct + AnalysisProviders []PipedAnalysisProvider + func (p *PluginConfig) GetAnalysisProvider(name string) (PipedAnalysisProvider, bool) + type TemplatableAnalysisHTTP struct + Template AnalysisTemplateRef + type TemplatableAnalysisLog struct + Template AnalysisTemplateRef + type TemplatableAnalysisMetrics struct + Template AnalysisTemplateRef