- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for len (0.11 sec)
-
istioctl/pkg/tag/tag.go
kubectl rollout restart deployments -n test-ns `, SuggestFor: []string{"create"}, Args: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { return fmt.Errorf("must provide a tag for modification") } if len(args) > 1 { return fmt.Errorf("must provide a single tag for creation") } return nil }, RunE: func(cmd *cobra.Command, args []string) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/testdata/configdump_diff.json
"prefix_len": 32 }, { "address_prefix": "192.168.195.211", "prefix_len": 32 }, { "address_prefix": "192.168.252.206", "prefix_len": 32 },
Json - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Mar 12 10:02:09 GMT 2024 - 51.6K bytes - Viewed (1) -
cni/pkg/nodeagent/ztunnelserver_test.go
assert.Equal(t, len(fds), 1) // in theory we should close the fd, but it's just a test.. assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid) // send ack so the server doesn't wait for us. sendAck(ztunClient) // second message should be the snap sent message m, fds = readRequest(t, ztunClient) assert.Equal(t, len(fds), 0)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
tw = tabwriter.NewWriter(c.Stdout, 0, 8, 1, ' ', 0) ) if len(istioVersion) > 0 { fmt.Fprintf(tw, "Istio Version:\t%s\n", istioVersion) } if len(istioProxySha) > 0 { fmt.Fprintf(tw, "Istio Proxy Version:\t%s\n", istioProxySha) } if len(envoyVersion) > 0 { fmt.Fprintf(tw, "Envoy Version:\t%s\n", envoyVersion) } return tw.Flush() }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/templates/NOTES.txt
}} {{- range $dep, $replace := $deps }} {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}} {{- $res := tpl (print "{{" (repeat (split "." $dep | len) "(") ".Values." (replace "." ")." $dep) ")}}") $}} {{- if not (eq $res "")}} WARNING: {{$dep|quote}} is deprecated; use {{$replace|quote}} instead. {{- end }} {{- end }} {{- $failDeps := dict
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 16:38:47 GMT 2024 - 4.2K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
podIPs := GetPodIPsIfPresent(pod) assert.Equal(t, len(podIPs), 2) } func TestGetPodIPsIfNoPodIPPresent(t *testing.T) { pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: "derp", }, Status: corev1.PodStatus{}, } podIPs := GetPodIPsIfPresent(pod) assert.Equal(t, len(podIPs), 0) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
istioctl x check-inject -n test -l app=helloworld,version=v1 `, Args: func(cmd *cobra.Command, args []string) error { if len(args) == 0 && labelPairs == "" || len(args) > 1 { cmd.Println(cmd.UsageString()) return fmt.Errorf("check-inject requires only [<resource-type>/]<resource-name>[.<namespace>], or specify labels flag") } return nil },
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/waypoint/waypoint.go
istioctl x waypoint delete --all --namespace default`, Args: func(cmd *cobra.Command, args []string) error { if deleteAll && len(args) > 0 { return fmt.Errorf("cannot specify waypoint names when deleting all waypoints") } if !deleteAll && len(args) == 0 { return fmt.Errorf("must either specify a waypoint name or delete all using --all") } return nil },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
} if len(pl.Items) < 1 { return errors.New("no pods found") } if len(pl.Items) > 1 { log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", istiodLabelSelector, pl.Items[0].Name) } // only use the first pod in the list podName = pl.Items[0].Name ns = pl.Items[0].Namespace } else if len(args) == 1 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0)