1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 11:48:53 +00:00

pkg/informers: add mising godoc

This commit is contained in:
Sergiusz Urbaniak 2020-09-07 15:24:18 +02:00
parent 6d3aeef191
commit c786d8ef2e
2 changed files with 6 additions and 0 deletions

View file

@ -24,6 +24,9 @@ import (
"k8s.io/client-go/kubernetes"
)
// NewKubeInformerFactories creates factories for kube resources
// for the given allowed, and denied namespaces these parameters being mutually exclusive.
// kubeClient, defaultResync, and tweakListOptions are being passed to the underlying informer factory.
func NewKubeInformerFactories(
allowNamespaces, denyNamespaces map[string]struct{},
kubeClient kubernetes.Interface,

View file

@ -24,6 +24,9 @@ import (
"k8s.io/apimachinery/pkg/util/sets"
)
// NewKubeInformerFactories creates factories for monitoring resources
// for the given allowed, and denied namespaces these parameters being mutually exclusive.
// monitoringClient, defaultResync, and tweakListOptions are being passed to the underlying informer factory.
func NewMonitoringInformerFactories(
allowNamespaces, denyNamespaces map[string]struct{},
monitoringClient monitoring.Interface,