Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricConfigurationSource ¶ added in v1.4.0
type MetricConfigurationSource interface {
MetricConfiguration(metric string) (*assessment.MetricConfiguration, error)
}
MetricConfigurationSource can be used to retrieve a metric configuration for a particular metric (and target service)
type Result ¶ added in v1.4.0
type Result struct { Applicable bool Compliant bool TargetValue interface{} `mapstructure:"target_value"` Operator string MetricId string }
func RunEvidence ¶ added in v1.3.5
func RunEvidence(evidence *evidence.Evidence, holder MetricConfigurationSource) ([]*Result, error)
Click to show internal directories.
Click to hide internal directories.