- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewForConfig (0.17 sec)
-
istioctl/pkg/util/handlers/handlers.go
} clientConfig, err := factory.ToRESTConfig() if err != nil { return nil, "", "", "", err } clientset, err := corev1client.NewForConfig(clientConfig) if err != nil { return nil, "", "", "", err } return clientset, "", namespace, selector.String(), nil } // this is used for testing. it should not be changed in regular code.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
return nil, err } log.Debugf("istio-cni set up kubernetes client with kubeconfig %s", kubeconfig) // Create the client return kubernetes.NewForConfig(config) } // getK8sPodInfo returns information of a POD func getK8sPodInfo(client kubernetes.Interface, podName, podNamespace string) (*PodInfo, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K bytes - Viewed (0)