- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ConvertToVersion (0.11 sec)
-
cni/pkg/install/kubeconfig.go
}, }, Contexts: map[string]*api.Context{ contextName: { AuthInfo: userName, Cluster: clusterName, }, }, CurrentContext: contextName, } lcfg, err := latest.Scheme.ConvertToVersion(kcfg, latest.ExternalVersion) if err != nil { return kubeconfig{}, err } // Convert to v1 schema which has proper encoding fullYaml, err := yaml.Marshal(lcfg) if err != nil { return kubeconfig{}, err
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0)