Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TotalErrors = prometheus.NewCounter( prometheus.CounterOpts{ Name: "total_errors", Help: "Number of errors from all controllers", }, ) ControllerMetrics = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "resource_total", Help: "Total number of resource handled per controller", }, []string{"controller"}) )
Functions ¶
func GetElasticsearchFromRef ¶
func GetElasticsearchFromRef(ctx context.Context, c client.Client, o client.Object, esRef shared.ElasticsearchRef) (es *elasticsearchcrd.Elasticsearch, err error)
GetElasticsearchRef permit to get Elasticsearch
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.