- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Look (0.13 sec)
-
istioctl/pkg/util/handlers/handlers.go
if idx := strings.LastIndex(name, "/"); idx > 0 { // If there is a / in it, we need to handle differently. This is resourcetype/name.namespace. // However, resourcetype can have . in it as well, so we should only look for namespace after the /. separator := strings.LastIndex(name[idx:], ".") if separator < 0 { return name, namespace } return name[0 : idx+separator], name[idx+separator+1:] }
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/repair/netns.go
// We want the pause container, as the istio-validation one may exit before we are done. // We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms. for _, p := range procs { ns := getPidNamespace(p.PID) fd, err := unix.Open(ns, unix.O_RDONLY, 0) if err != nil {
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/describe/describe.go
fmt.Fprintf(cmd.OutOrStdout(), "Warning: No Kubernetes Services select pod %s (see https://istio.io/docs/setup/kubernetes/additional-setup/requirements/ )\n", // nolint: lll kname(pod.ObjectMeta)) } // TODO look for port collisions between services targeting this pod kubeClient, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return err } configClient := client.Istio()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
istioctl/pkg/tag/revision.go
} for _, hook := range webhooks { rev := renderWithDefault(hook.GetLabels()[label.IoIstioRev.Name], DefaultRevisionName) tagLabel := hook.GetLabels()[IstioTagLabel] ri, revPresent := revisions[rev] if revPresent { if tagLabel != "" { ri.Webhooks = append(ri.Webhooks, &MutatingWebhookConfigInfo{ Name: hook.Name, Revision: rev, Tag: tagLabel, })
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Jan 28 13:16:05 GMT 2023 - 4.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
if want, ok := predicate(s); ok { if want != found { t.Fatalf("expected webhook to go to service %q, found %q", want, found) } return } // Otherwise, look through our assertions for a matching one, and check that for _, w := range tt.checks { if w.namespaceLabel.String() == s.namespace.String() && w.objectLabel.String() == s.pod.String() { if found != w.match {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
if netns1 != netnsTaken { t.Fatalf("Expected the original Netns for the same uid, got %p and %p", netns1, ns) } if nil != p.Take(string(pod.UID)) { // expect nil because we already took it t.Fatalf("Expected nil Netns for the same uid twice") } } var counter atomic.Int64 func inc() uintptr { return uintptr(counter.Add(1))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.2K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
fmt.Fprintln(w, "NAMESPACES\tINJECTOR-HOOK\tISTIO-REVISION\tSIDECAR-IMAGE") for _, hook := range hooks { revision := hook.ObjectMeta.GetLabels()[label.IoIstioRev.Name] namespaces := getMatchingNamespaces(&hook, namespaces) if len(namespaces) == 0 { fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", "DOES NOT AUTOINJECT", hook.Name, revision, injectedImages[revision]) continue }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0)