Documentation ¶
Index ¶
- func ConvertBasicAuth(bAuth *v1.BasicAuth) *v1beta1vm.BasicAuth
- func ConvertEndpoint(promEndpoint []v1.Endpoint) []v1beta1vm.Endpoint
- func ConvertPodEndpoints(promPodEnpoints []v1.PodMetricsEndpoint) []v1beta1vm.PodMetricsEndpoint
- func ConvertPodMonitor(podMon *v1.PodMonitor) *v1beta1vm.VMPodScrape
- func ConvertPromRule(prom *v1.PrometheusRule) *v1beta1vm.VMRule
- func ConvertRelabelConfig(promRelabelConfig []*v1.RelabelConfig) []*v1beta1vm.RelabelConfig
- func ConvertSecretOrConfigmap(promSCM v1.SecretOrConfigMap) v1beta1vm.SecretOrConfigMap
- func ConvertServiceMonitor(serviceMon *v1.ServiceMonitor) *v1beta1vm.VMServiceScrape
- func ConvertTlsConfig(tlsConf *v1.TLSConfig) *v1beta1vm.TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPodEndpoints ¶
func ConvertPodEndpoints(promPodEnpoints []v1.PodMetricsEndpoint) []v1beta1vm.PodMetricsEndpoint
func ConvertPodMonitor ¶
func ConvertPodMonitor(podMon *v1.PodMonitor) *v1beta1vm.VMPodScrape
func ConvertPromRule ¶
func ConvertPromRule(prom *v1.PrometheusRule) *v1beta1vm.VMRule
func ConvertRelabelConfig ¶
func ConvertRelabelConfig(promRelabelConfig []*v1.RelabelConfig) []*v1beta1vm.RelabelConfig
func ConvertSecretOrConfigmap ¶
func ConvertSecretOrConfigmap(promSCM v1.SecretOrConfigMap) v1beta1vm.SecretOrConfigMap
func ConvertServiceMonitor ¶
func ConvertServiceMonitor(serviceMon *v1.ServiceMonitor) *v1beta1vm.VMServiceScrape
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.