package kubeconfig
import "k8s.io/kubernetes/test/utils/kubeconfig"
Index ¶
Functions ¶
func CreateKubeConfig ¶
func CreateKubeConfig(clientCfg *rest.Config) *clientcmdapi.Config
CreateKubeConfig converts a rest.Config into a clientcmdapi.Config which then can be written to a file with [clientcmd.WriteToFile].
Source Files ¶
kubeconfig.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 3 hours ago –
Tools for package owners.