Commit bc94cd58 authored by Phillip Wittrock's avatar Phillip Wittrock

More PR comments

parent 32c5d938
......@@ -60,12 +60,12 @@ type ClientCache struct {
discoveryClientFactory DiscoveryClientFactory
discoveryClient discovery.DiscoveryInterface
kubernetesClientCache KubernetesClientCache
kubernetesClientCache kubernetesClientCache
}
// KubernetesClientCache creates a new kubernetes.Clientset one time
// kubernetesClientCache creates a new kubernetes.Clientset one time
// and then returns the result for all future requests
type KubernetesClientCache struct {
type kubernetesClientCache struct {
// once makes sure the client is only initialized once
once sync.Once
// client is the cached client value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment