Documentation ¶
Index ¶
- func ListOptions(name string) metav1.ListOptions
- func NewPrometheusCollector(s cache.Store) *prometheusCollector
- func PrometheusStatus(kclient kubernetes.Interface, p *monitoringv1.Prometheus) (*monitoringv1.PrometheusStatus, []v1.Pod, error)
- type BasicAuthCredentials
- type BearerToken
- type Config
- type Labels
- type Namespaces
- type Operator
- type TLSAsset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListOptions ¶
func ListOptions(name string) metav1.ListOptions
func NewPrometheusCollector ¶ added in v0.10.0
func PrometheusStatus ¶
func PrometheusStatus(kclient kubernetes.Interface, p *monitoringv1.Prometheus) (*monitoringv1.PrometheusStatus, []v1.Pod, error)
PrometheusStatus evaluates the current status of a Prometheus deployment with respect to its specified resource object. It return the status and a list of pods that are not updated.
Types ¶
type BasicAuthCredentials ¶ added in v0.9.0
type BasicAuthCredentials struct {
// contains filtered or unexported fields
}
BasicAuthCredentials represents a username password pair to be used with basic http authentication, see https://tools.ietf.org/html/rfc7617.
type BearerToken ¶ added in v0.34.0
type BearerToken string
BearerToken represents a bearer token, see https://tools.ietf.org/html/rfc6750.
type Config ¶
type Config struct { Host string ClusterDomain string KubeletObject string ListenAddress string TLSInsecure bool TLSConfig rest.TLSClientConfig ServerTLSConfig operator.TLSServerConfig ConfigReloaderImage string ConfigReloaderCPU string ConfigReloaderMemory string PrometheusConfigReloaderImage string AlertmanagerDefaultBaseImage string PrometheusDefaultBaseImage string ThanosDefaultBaseImage string Namespaces Namespaces Labels Labels LocalHost string LogLevel string LogFormat string PromSelector string AlertManagerSelector string ThanosRulerSelector string SecretListWatchSelector string }
Config defines configuration parameters for the Operator.
type Labels ¶ added in v0.14.0
type Namespaces ¶ added in v0.34.0
Click to show internal directories.
Click to hide internal directories.