Versions in this module Expand all Collapse all v0 v0.26.0 Nov 30, 2018 Changes in this version + const AlertManagerKindKey + const AlertmanagerName + const AlertmanagersKind + const PrometheusKindKey + const PrometheusName + const PrometheusRuleKind + const PrometheusRuleKindKey + const PrometheusRuleName + const PrometheusesKind + const ServiceMonitorKindKey + const ServiceMonitorName + const ServiceMonitorsKind + const Version + var AddToScheme = localSchemeBuilder.AddToScheme + var DefaultCrdKinds = CrdKinds + var SchemeBuilder runtime.SchemeBuilder + var SchemeGroupVersion = schema.GroupVersion + func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition + func Resource(resource string) schema.GroupResource + type APIServerConfig struct + BasicAuth *BasicAuth + BearerToken string + BearerTokenFile string + Host string + TLSConfig *TLSConfig + func (in *APIServerConfig) DeepCopy() *APIServerConfig + func (in *APIServerConfig) DeepCopyInto(out *APIServerConfig) + type AlertingSpec struct + Alertmanagers []AlertmanagerEndpoints + func (in *AlertingSpec) DeepCopy() *AlertingSpec + func (in *AlertingSpec) DeepCopyInto(out *AlertingSpec) + type Alertmanager struct + Spec AlertmanagerSpec + Status *AlertmanagerStatus + func (in *Alertmanager) DeepCopy() *Alertmanager + func (in *Alertmanager) DeepCopyInto(out *Alertmanager) + func (l *Alertmanager) DeepCopyObject() runtime.Object + type AlertmanagerEndpoints struct + BearerTokenFile string + Name string + Namespace string + PathPrefix string + Port intstr.IntOrString + Scheme string + TLSConfig *TLSConfig + func (in *AlertmanagerEndpoints) DeepCopy() *AlertmanagerEndpoints + func (in *AlertmanagerEndpoints) DeepCopyInto(out *AlertmanagerEndpoints) + type AlertmanagerList struct + Items []Alertmanager + func (in *AlertmanagerList) DeepCopy() *AlertmanagerList + func (in *AlertmanagerList) DeepCopyInto(out *AlertmanagerList) + func (l *AlertmanagerList) DeepCopyObject() runtime.Object + type AlertmanagerSpec struct + AdditionalPeers []string + Affinity *v1.Affinity + BaseImage string + ConfigMaps []string + Containers []v1.Container + ExternalURL string + ImagePullSecrets []v1.LocalObjectReference + ListenLocal bool + LogLevel string + NodeSelector map[string]string + Paused bool + PodMetadata *metav1.ObjectMeta + PriorityClassName string + Replicas *int32 + Resources v1.ResourceRequirements + Retention string + RoutePrefix string + SHA string + Secrets []string + SecurityContext *v1.PodSecurityContext + ServiceAccountName string + Storage *StorageSpec + Tag string + Tolerations []v1.Toleration + Version string + func (in *AlertmanagerSpec) DeepCopy() *AlertmanagerSpec + func (in *AlertmanagerSpec) DeepCopyInto(out *AlertmanagerSpec) + type AlertmanagerStatus struct + AvailableReplicas int32 + Paused bool + Replicas int32 + UnavailableReplicas int32 + UpdatedReplicas int32 + func (in *AlertmanagerStatus) DeepCopy() *AlertmanagerStatus + func (in *AlertmanagerStatus) DeepCopyInto(out *AlertmanagerStatus) + type BasicAuth struct + Password v1.SecretKeySelector + Username v1.SecretKeySelector + func (in *BasicAuth) DeepCopy() *BasicAuth + func (in *BasicAuth) DeepCopyInto(out *BasicAuth) + type CrdKind struct + Kind string + Plural string + SpecName string + func (in *CrdKind) DeepCopy() *CrdKind + func (in *CrdKind) DeepCopyInto(out *CrdKind) + type CrdKinds struct + Alertmanager CrdKind + KindsString string + Prometheus CrdKind + PrometheusRule CrdKind + ServiceMonitor CrdKind + func (crdkinds *CrdKinds) Set(value string) error + func (crdkinds *CrdKinds) String() string + func (in *CrdKinds) DeepCopy() *CrdKinds + func (in *CrdKinds) DeepCopyInto(out *CrdKinds) + type Endpoint struct + BasicAuth *BasicAuth + BearerTokenFile string + HonorLabels bool + Interval string + MetricRelabelConfigs []*RelabelConfig + Params map[string][]string + Path string + Port string + ProxyURL *string + RelabelConfigs []*RelabelConfig + Scheme string + ScrapeTimeout string + TLSConfig *TLSConfig + TargetPort *intstr.IntOrString + func (in *Endpoint) DeepCopy() *Endpoint + func (in *Endpoint) DeepCopyInto(out *Endpoint) + type NamespaceSelector struct + Any bool + MatchNames []string + func (in *NamespaceSelector) DeepCopy() *NamespaceSelector + func (in *NamespaceSelector) DeepCopyInto(out *NamespaceSelector) + type Prometheus struct + Spec PrometheusSpec + Status *PrometheusStatus + func (in *Prometheus) DeepCopy() *Prometheus + func (in *Prometheus) DeepCopyInto(out *Prometheus) + func (l *Prometheus) DeepCopyObject() runtime.Object + type PrometheusList struct + Items []*Prometheus + func (in *PrometheusList) DeepCopy() *PrometheusList + func (in *PrometheusList) DeepCopyInto(out *PrometheusList) + func (l *PrometheusList) DeepCopyObject() runtime.Object + type PrometheusRule struct + Spec PrometheusRuleSpec + func (f *PrometheusRule) DeepCopyObject() runtime.Object + func (in *PrometheusRule) DeepCopy() *PrometheusRule + func (in *PrometheusRule) DeepCopyInto(out *PrometheusRule) + type PrometheusRuleList struct + Items []*PrometheusRule + func (in *PrometheusRuleList) DeepCopy() *PrometheusRuleList + func (in *PrometheusRuleList) DeepCopyInto(out *PrometheusRuleList) + func (l *PrometheusRuleList) DeepCopyObject() runtime.Object + type PrometheusRuleSpec struct + Groups []RuleGroup + func (in *PrometheusRuleSpec) DeepCopy() *PrometheusRuleSpec + func (in *PrometheusRuleSpec) DeepCopyInto(out *PrometheusRuleSpec) + type PrometheusSpec struct + APIServerConfig *APIServerConfig + AdditionalAlertManagerConfigs *v1.SecretKeySelector + AdditionalAlertRelabelConfigs *v1.SecretKeySelector + AdditionalScrapeConfigs *v1.SecretKeySelector + Affinity *v1.Affinity + Alerting *AlertingSpec + BaseImage string + ConfigMaps []string + Containers []v1.Container + EvaluationInterval string + ExternalLabels map[string]string + ExternalURL string + ImagePullSecrets []v1.LocalObjectReference + ListenLocal bool + LogLevel string + NodeSelector map[string]string + Paused bool + PodMetadata *metav1.ObjectMeta + PriorityClassName string + RemoteRead []RemoteReadSpec + RemoteWrite []RemoteWriteSpec + Replicas *int32 + Resources v1.ResourceRequirements + Retention string + RoutePrefix string + RuleNamespaceSelector *metav1.LabelSelector + RuleSelector *metav1.LabelSelector + SHA string + ScrapeInterval string + Secrets []string + SecurityContext *v1.PodSecurityContext + ServiceAccountName string + ServiceMonitorNamespaceSelector *metav1.LabelSelector + ServiceMonitorSelector *metav1.LabelSelector + Storage *StorageSpec + Tag string + Thanos *ThanosSpec + Tolerations []v1.Toleration + Version string + func (in *PrometheusSpec) DeepCopy() *PrometheusSpec + func (in *PrometheusSpec) DeepCopyInto(out *PrometheusSpec) + type PrometheusStatus struct + AvailableReplicas int32 + Paused bool + Replicas int32 + UnavailableReplicas int32 + UpdatedReplicas int32 + func (in *PrometheusStatus) DeepCopy() *PrometheusStatus + func (in *PrometheusStatus) DeepCopyInto(out *PrometheusStatus) + type QueueConfig struct + BatchSendDeadline string + Capacity int + MaxBackoff string + MaxRetries int + MaxSamplesPerSend int + MaxShards int + MinBackoff string + func (in *QueueConfig) DeepCopy() *QueueConfig + func (in *QueueConfig) DeepCopyInto(out *QueueConfig) + type RelabelConfig struct + Action string + Modulus uint64 + Regex string + Replacement string + Separator string + SourceLabels []string + TargetLabel string + func (in *RelabelConfig) DeepCopy() *RelabelConfig + func (in *RelabelConfig) DeepCopyInto(out *RelabelConfig) + type RemoteReadSpec struct + BasicAuth *BasicAuth + BearerToken string + BearerTokenFile string + ProxyURL string + ReadRecent bool + RemoteTimeout string + RequiredMatchers map[string]string + TLSConfig *TLSConfig + URL string + func (in *RemoteReadSpec) DeepCopy() *RemoteReadSpec + func (in *RemoteReadSpec) DeepCopyInto(out *RemoteReadSpec) + type RemoteWriteSpec struct + BasicAuth *BasicAuth + BearerToken string + BearerTokenFile string + ProxyURL string + QueueConfig *QueueConfig + RemoteTimeout string + TLSConfig *TLSConfig + URL string + WriteRelabelConfigs []RelabelConfig + func (in *RemoteWriteSpec) DeepCopy() *RemoteWriteSpec + func (in *RemoteWriteSpec) DeepCopyInto(out *RemoteWriteSpec) + type Rule struct + Alert string + Annotations map[string]string + Expr intstr.IntOrString + For string + Labels map[string]string + Record string + func (in *Rule) DeepCopy() *Rule + func (in *Rule) DeepCopyInto(out *Rule) + type RuleGroup struct + Interval string + Name string + Rules []Rule + func (in *RuleGroup) DeepCopy() *RuleGroup + func (in *RuleGroup) DeepCopyInto(out *RuleGroup) + type ServiceMonitor struct + Spec ServiceMonitorSpec + func (in *ServiceMonitor) DeepCopy() *ServiceMonitor + func (in *ServiceMonitor) DeepCopyInto(out *ServiceMonitor) + func (l *ServiceMonitor) DeepCopyObject() runtime.Object + type ServiceMonitorList struct + Items []*ServiceMonitor + func (in *ServiceMonitorList) DeepCopy() *ServiceMonitorList + func (in *ServiceMonitorList) DeepCopyInto(out *ServiceMonitorList) + func (l *ServiceMonitorList) DeepCopyObject() runtime.Object + type ServiceMonitorSpec struct + Endpoints []Endpoint + JobLabel string + NamespaceSelector NamespaceSelector + PodTargetLabels []string + SampleLimit uint64 + Selector metav1.LabelSelector + TargetLabels []string + func (in *ServiceMonitorSpec) DeepCopy() *ServiceMonitorSpec + func (in *ServiceMonitorSpec) DeepCopyInto(out *ServiceMonitorSpec) + type StorageSpec struct + EmptyDir *v1.EmptyDirVolumeSource + VolumeClaimTemplate v1.PersistentVolumeClaim + func (in *StorageSpec) DeepCopy() *StorageSpec + func (in *StorageSpec) DeepCopyInto(out *StorageSpec) + type TLSConfig struct + CAFile string + CertFile string + InsecureSkipVerify bool + KeyFile string + ServerName string + func (in *TLSConfig) DeepCopy() *TLSConfig + func (in *TLSConfig) DeepCopyInto(out *TLSConfig) + type ThanosGCSSpec struct + Bucket *string + SecretKey *v1.SecretKeySelector + func (in *ThanosGCSSpec) DeepCopy() *ThanosGCSSpec + func (in *ThanosGCSSpec) DeepCopyInto(out *ThanosGCSSpec) + type ThanosS3Spec struct + AccessKey *v1.SecretKeySelector + Bucket *string + EncryptSSE *bool + Endpoint *string + Insecure *bool + SecretKey *v1.SecretKeySelector + SignatureVersion2 *bool + func (in *ThanosS3Spec) DeepCopy() *ThanosS3Spec + func (in *ThanosS3Spec) DeepCopyInto(out *ThanosS3Spec) + type ThanosSpec struct + BaseImage *string + GCS *ThanosGCSSpec + Peers *string + Resources v1.ResourceRequirements + S3 *ThanosS3Spec + SHA *string + Tag *string + Version *string + func (in *ThanosSpec) DeepCopy() *ThanosSpec + func (in *ThanosSpec) DeepCopyInto(out *ThanosSpec)