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:
parent
6d3aeef191
commit
c786d8ef2e
2 changed files with 6 additions and 0 deletions
pkg/informers
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue