Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { Port string `yaml:"port,omitempty"` TargetPort string `yaml:"targetPort,omitempty"` BearerTokenFile string `yaml:"bearerTokenFile,omitempty"` Interval string `yaml:"interval,omitempty"` Path string `yaml:"path,omitempty"` Scheme string `yaml:"scheme,omitempty"` TLSConfig *TLSConfig `yaml:"tlsConfig,omitempty"` }
type NamespaceSelector ¶
type Values ¶
type Values struct { Name string `yaml:"name"` AdditionalLabels map[string]string `yaml:"additionalLabels"` JobLabel string `yaml:"jobLabel"` TargetLabels string `yaml:"targetLabels"` Selector *Selector `yaml:"selector"` NamespaceSelector *NamespaceSelector `yaml:"namespaceSelector"` Endpoints []*Endpoint `yaml:"endpoints"` }
func SpecToValues ¶
func SpecToValues(labels map[string]string, spec *toolsetsv1beta1.ServiceMonitor) *Values
Click to show internal directories.
Click to hide internal directories.