Documentation ¶
Index ¶
- func NewServiceMonitor(namespace, name, component, portName string, owner metav1.OwnerReference) *monitoringv1.ServiceMonitor
- func ReconcileServiceMonitor(er record.EventRecorder, k8sClient client.Client, ...) error
- func RemoveServiceMonitor(er record.EventRecorder, k8sClient client.Client, namespace, name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceMonitor ¶
func NewServiceMonitor(namespace, name, component, portName string, owner metav1.OwnerReference) *monitoringv1.ServiceMonitor
func ReconcileServiceMonitor ¶
func ReconcileServiceMonitor(er record.EventRecorder, k8sClient client.Client, namespace, name, component, portName string, owner metav1.OwnerReference) error
func RemoveServiceMonitor ¶
func RemoveServiceMonitor(er record.EventRecorder, k8sClient client.Client, namespace, name string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.