Documentation
¶
Index ¶
- type Integration
- func (i *Integration) ClusterUrlMonitorWaitForPrometheusRuleCorrectSLO(name types.NamespacedName, targetSlo string, seconds int, expectedUrl string) error
- func (i *Integration) ClusterUrlMonitorWaitForPrometheusRuleRef(name types.NamespacedName, seconds int) (v1alpha1.ClusterUrlMonitor, error)
- func (i *Integration) RemoveClusterUrlMonitor(namespace, name string) error
- func (i *Integration) RemoveRouteMonitor(namespace, name string) error
- func (i *Integration) RouteMonitorWaitForPrometheusRuleCorrectSLO(name types.NamespacedName, targetSlo string, seconds int) error
- func (i *Integration) RouteMonitorWaitForPrometheusRuleRef(name types.NamespacedName, seconds int) (v1alpha1.RouteMonitor, error)
- func (i *Integration) Shutdown()
- func (i *Integration) WaitForPrometheusRule(name types.NamespacedName, seconds int) (monitoringv1.PrometheusRule, error)
- func (i *Integration) WaitForPrometheusRuleToClear(name types.NamespacedName, seconds int) error
- func (i *Integration) WaitForServiceMonitor(name types.NamespacedName, seconds int) (monitoringv1.ServiceMonitor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Integration ¶
func NewIntegration ¶
func NewIntegration() (*Integration, error)
func (*Integration) ClusterUrlMonitorWaitForPrometheusRuleCorrectSLO ¶
func (i *Integration) ClusterUrlMonitorWaitForPrometheusRuleCorrectSLO(name types.NamespacedName, targetSlo string, seconds int, expectedUrl string) error
func (*Integration) ClusterUrlMonitorWaitForPrometheusRuleRef ¶
func (i *Integration) ClusterUrlMonitorWaitForPrometheusRuleRef(name types.NamespacedName, seconds int) (v1alpha1.ClusterUrlMonitor, error)
func (*Integration) RemoveClusterUrlMonitor ¶
func (i *Integration) RemoveClusterUrlMonitor(namespace, name string) error
func (*Integration) RemoveRouteMonitor ¶
func (i *Integration) RemoveRouteMonitor(namespace, name string) error
func (*Integration) RouteMonitorWaitForPrometheusRuleCorrectSLO ¶
func (i *Integration) RouteMonitorWaitForPrometheusRuleCorrectSLO(name types.NamespacedName, targetSlo string, seconds int) error
func (*Integration) RouteMonitorWaitForPrometheusRuleRef ¶
func (i *Integration) RouteMonitorWaitForPrometheusRuleRef(name types.NamespacedName, seconds int) (v1alpha1.RouteMonitor, error)
func (*Integration) Shutdown ¶
func (i *Integration) Shutdown()
func (*Integration) WaitForPrometheusRule ¶
func (i *Integration) WaitForPrometheusRule(name types.NamespacedName, seconds int) (monitoringv1.PrometheusRule, error)
func (*Integration) WaitForPrometheusRuleToClear ¶
func (i *Integration) WaitForPrometheusRuleToClear(name types.NamespacedName, seconds int) error
func (*Integration) WaitForServiceMonitor ¶
func (i *Integration) WaitForServiceMonitor(name types.NamespacedName, seconds int) (monitoringv1.ServiceMonitor, error)
Click to show internal directories.
Click to hide internal directories.