Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchPrometheusList ¶
func FetchPrometheusList(ctx context.Context, r *ResourceWrapper, rw *pmov1alpha1.RemoteWrite) (*promv1.PrometheusList, error)
func ToRemoteWrite ¶
func ToRemoteWrite(obj interface{}) (*pmov1alpha1.RemoteWrite, error)
Types ¶
type ResourceWrapper ¶
type ResourceWrapper struct { K8sClient k8sclient.Interface Logger micrologger.Logger PrometheusClient promclient.Interface }
Click to show internal directories.
Click to hide internal directories.