converter

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBasicAuth

func ConvertBasicAuth(bAuth *v1.BasicAuth) *v1beta1vm.BasicAuth

func ConvertEndpoint

func ConvertEndpoint(promEndpoint []v1.Endpoint) []v1beta1vm.Endpoint

func ConvertPodEndpoints

func ConvertPodEndpoints(promPodEnpoints []v1.PodMetricsEndpoint) []v1beta1vm.PodMetricsEndpoint

func ConvertPodMonitor

func ConvertPodMonitor(podMon *v1.PodMonitor, enableObjectRef bool) *v1beta1vm.VMPodScrape

func ConvertPodTlsConfig added in v0.8.0

func ConvertPodTlsConfig(tlsConf *v1.PodMetricsEndpointTLSConfig) *v1beta1vm.TLSConfig

func ConvertProbe added in v0.2.0

func ConvertProbe(probe *v1.Probe, enableObjectRef bool) *v1beta1vm.VMProbe

func ConvertPromRule

func ConvertPromRule(prom *v1.PrometheusRule, enableObjectRef bool) *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, enableObjectRef bool) *v1beta1vm.VMServiceScrape

func ConvertTlsConfig

func ConvertTlsConfig(tlsConf *v1.TLSConfig) *v1beta1vm.TLSConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL