func (env *ServiceEnv) GetKubeClient() *kube.Clientset {
	if err := env.kubeEg.Wait(); err != nil {
		panic(err) // If env can't connect, there's no sensible way to recover
	}
	if env.kubeClient == nil {
		panic("service env never connected to kubernetes")
	}
	return env.kubeClient
}
func (env *ServiceEnv) GetKubeClient() *kube.Clientset {
	if err := env.kubeEg.Wait(); err != nil {
		panic(err) 
	}
	if env.kubeClient == nil {
		panic("service env never connected to kubernetes")
	}
	return env.kubeClient
}
func ( env * ServiceEnv ) GetKubeClient ( ) * kube . Clientset { if err := env . kubeEg . Wait ( ) ; err != nil { panic ( err ) // If env can't connect, there's no sensible way to recover } if env . kubeClient == nil { panic ( " " ) } return env . kubeClient }
// GetKubeClient returns the already connected Kubernetes API client without
// modification.
GetKubeClient returns the already connected Kubernetes API client without modification .