func (p *SingletonClientGenerator) KubeClient() (kubernetes.Interface, error) {
	var err error
	p.kubeOnce.Do(func() {
		p.kubeClient, err = NewKubeClient(p.KubeConfig, p.KubeMaster, p.RequestTimeout)
	})
	return p.kubeClient, err
}
func (p *SingletonClientGenerator) KubeClient() (kubernetes.Interface, error) {
	var err error
	p.kubeOnce.Do(func() {
		p.kubeClient, err = NewKubeClient(p.KubeConfig, p.KubeMaster, p.RequestTimeout)
	})
	return p.kubeClient, err
}
func ( p * SingletonClientGenerator ) KubeClient ( ) ( kubernetes . Interface , error ) { var err error p . kubeOnce . Do ( func ( ) { p . kubeClient , err = NewKubeClient ( p . KubeConfig , p . KubeMaster , p . RequestTimeout ) } ) return p . kubeClient , err }
// KubeClient generates a kube client if it was not created before
KubeClient generates a kube client if it was not created before