- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for name (0.17 sec)
-
istioctl/pkg/util/handlers/handlers.go
kubelib "istio.io/istio/pkg/kube" ) // InferPodInfo Uses name to infer namespace if the passed name contains namespace information. // Otherwise uses the namespace value passed into the function func InferPodInfo(name, defaultNS string) (string, string) { return inferNsInfo(name, defaultNS) } // inferNsInfo Uses name to infer namespace if the passed name contains namespace information.
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) -
istioctl/pkg/admin/istiodconfig_test.go
validationPattern string } tests := []struct { name string args args want *ScopeLevelPair wantErr bool }{ { name: "Fail when logs scope-level pair don't match pattern", args: args{validationPattern: validationPattern, slp: "invalid:pattern"}, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 6.2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
func TestWaypointList(t *testing.T) { cases := []struct { name string args []string gateways []*gateway.Gateway expectedOutFile string }{ { name: "no gateways", args: strings.Split("list", " "), gateways: []*gateway.Gateway{}, expectedOutFile: "no-gateway", }, { name: "default namespace gateway", args: strings.Split("list", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_test.go
} //nolint: lll for _, tt := range []struct { name string cgroupPaths []string expectPodUID types.UID expectContainerID string expectMsg string }{ { name: "no cgroups", cgroupPaths: []string{}, expectPodUID: "", expectContainerID: "", }, { name: "no container ID in cgroups", cgroupPaths: []string{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.6K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
tests := []struct { name string wantPodName string wantNamespace string }{ { name: "foo-abc.istio-system", wantPodName: "foo-abc", wantNamespace: "istio-system", }, { name: "foo-abc", wantPodName: "foo-abc", wantNamespace: "test", }, { name: "Deployment/foo.istio-system",
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) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
if filter.Verify(wl) { verifiedWorkloads = append(verifiedWorkloads, wl) } } // Sort by name, node sort.Slice(verifiedWorkloads, func(i, j int) bool { in := verifiedWorkloads[i].Namespace + "." + verifiedWorkloads[i].Name jn := verifiedWorkloads[j].Namespace + "." + verifiedWorkloads[j].Name if in != jn { return in < jn } iNode := verifiedWorkloads[i].Node jNode := verifiedWorkloads[j].Node
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
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) -
istioctl/pkg/writer/compare/sds/writer.go
tw := new(tabwriter.Writer).Init(w.w, 0, 5, 5, ' ', 0) fmt.Fprintln(tw, strings.Join(secretItemColumns, "\t")) for _, s := range secrets { if includeConfigType { s.Name = fmt.Sprintf("secret/%s", s.Name) } fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\n", s.Name, s.Type, s.State, s.Valid, s.SerialNumber, s.NotAfter, s.NotBefore) } return tw.Flush() }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 21 14:17:23 GMT 2023 - 4.1K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
} func (s *meshDataplane) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error { log := log.WithLabels("ns", pod.Namespace, "name", pod.Name) err := s.netServer.RemovePodFromMesh(ctx, pod) if err != nil { log.Errorf("failed to remove pod from mesh: %v", err) return err } log.Debug("removing annotation from pod") err = util.AnnotateUnenrollPod(s.kubeClient, &pod.ObjectMeta) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 7.2K bytes - Viewed (0) -
operator/cmd/mesh/operator-common.go
return vals, manifest, err } // deploymentExists returns true if the given deployment in the namespace exists. func deploymentExists(cs kubernetes.Interface, namespace, name string) (bool, error) { d, err := cs.AppsV1().Deployments(namespace).Get(context.TODO(), name, metav1.GetOptions{}) if err != nil { return false, err } return d != nil, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Dec 17 02:25:04 GMT 2022 - 3.8K bytes - Viewed (0)