- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for Get (0.13 sec)
-
cni/pkg/nodeagent/server_test.go
m := meshDataplane{ kubeClient: fakeClientSet, netServer: server, } err := m.AddPodToMesh(fakeCtx, pod, podIPs, "") assert.NoError(t, err) pod, err = fakeClientSet.CoreV1().Pods("test").Get(fakeCtx, "test", metav1.GetOptions{}) assert.NoError(t, err) assert.Equal(t, len(pod.Annotations), 1) assert.Equal(t, pod.Annotations[constants.AmbientRedirection], constants.AmbientRedirectionEnabled) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 7.8K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
log.Errorf("error scanning proc: error was %s", err) return nil, err } // try again. we can still get here if the pod is in the process of being created. // in this case the CNI will be invoked soon and provide us with the netns. openNetns = s.currentPodSnapshot.Get(string(pod.UID)) if openNetns == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
istioctl/pkg/multixds/gather.go
pilotxds "istio.io/istio/pilot/pkg/xds" "istio.io/istio/pkg/kube" istioversion "istio.io/istio/pkg/version" ) const ( // Service account to create tokens in tokenServiceAccount = "default" // Get the pods with limit = 500. kubeClientGetPodLimit = 500 ) type ControlPlaneNotFoundError struct { Namespace string } func (c ControlPlaneNotFoundError) Error() string {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
cni/pkg/repair/netns.go
} func runInHost[T any](f func() (T, error)) (T, error) { var res T ns, err := netns.GetNS(getPidNamespace(1)) if err != nil { return res, fmt.Errorf("failed to get host network: %v", err) } err = ns.Do(func(ns netns.NetNS) error { var err error res, err = f() return err }) if err != nil { return res, fmt.Errorf("in host network: %v", err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
# (This is the usual way to get the proxy-status with an out-of-cluster control plane.) istioctl ps --xds-address istio.cloudprovider.example.com:15012 # Retrieve proxy status information via Kubernetes config, using token security # (This is the usual way to get the proxy-status with an in-cluster control plane.) istioctl proxy-status
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
if err != nil { return err } pod, err := kubeClient.Kube().CoreV1().Pods(podNs).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return err } ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), podNs, metav1.GetOptions{}) if err != nil { return err } podLabels = pod.GetLabels()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_other.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 781 bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
# (This is the usual way to get the debug information with an out-of-cluster control plane.) istioctl x internal-debug syncz --xds-address istio.cloudprovider.example.com:15012 # Retrieve syncz debug information via Kubernetes config, using token security # (This is the usual way to get the debug information with an in-cluster control plane.) istioctl x internal-debug syncz
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
switch p, m := req.URL.Path, req.Method; { case p == "/namespaces/istio-system/deployments/foo" && m == "GET": body := cmdtesting.ObjBody(codec, attachDeploy("istio-system")) return &http.Response{StatusCode: http.StatusOK, Header: cmdtesting.DefaultHeader(), Body: body}, nil case p == "/namespaces/test/deployments/foo" && m == "GET": body := cmdtesting.ObjBody(codec, attachDeploy("test"))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 6.6K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.go
cfg.OutboundPortsInclude = rdrct.includeOutboundPorts cfg.OutboundIPRangesExclude = rdrct.excludeIPCidrs cfg.KubeVirtInterfaces = rdrct.kubevirtInterfaces cfg.DryRun = dependencies.DryRunFilePath.Get() != "" cfg.RedirectDNS = rdrct.dnsRedirect cfg.CaptureAllDNS = rdrct.dnsRedirect cfg.DropInvalid = rdrct.invalidDrop cfg.DualStack = rdrct.dualStack if err := cfg.FillConfigFromEnvironment(); err != nil { return err
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 17:36:41 GMT 2024 - 2.5K bytes - Viewed (0)