- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for len (0.19 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) -
istioctl/pkg/tag/util.go
whs, err := GetWebhooksWithRevision(ctx, client, DefaultRevisionName) if err != nil { return err } if len(whs) == 0 { // no revision with default, no action required. return nil } if len(whs) > 1 { return fmt.Errorf("expected a single webhook for default revision") } webhook := whs[0] for i := range webhook.Webhooks { wh := webhook.Webhooks[i]
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
cni/pkg/plugin/kubernetes.go
// The sidecar can be a normal container or init in Kubernetes 1.28+ func containers(pod *v1.Pod) []v1.Container { res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers)) res = append(res, pod.Spec.InitContainers...) res = append(res, pod.Spec.Containers...) return res } func (pi PodInfo) String() string { var b strings.Builder
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) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
err := cw.Prime(cd) if cw.configDump == nil { if tt.wantConfigs != 0 { t.Errorf("wanted some configs loaded but config dump was nil") } } else if len(cw.configDump.Configs) != tt.wantConfigs { t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.configDump.Configs)) } if tt.wantErr { assert.Error(t, err) } else { assert.NoError(t, err) } }) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K bytes - Viewed (0) -
cni/pkg/install/install_test.go
in.cniConfigFilepath = cniConfigFilepath if err := file.AtomicCopy(filepath.Join("testdata", c.saFilename), tempDir, c.saFilename); err != nil { t.Fatal(err) } if len(c.invalidConfigFilename) > 0 { // Copy an invalid config file into tempDir if err := file.AtomicCopy(filepath.Join("testdata", c.invalidConfigFilename), tempDir, c.cniConfigFilename); err != nil { t.Fatal(err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K 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 (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/writer/envoy/configdump/listener.go
descrs := []string{} if len(match.ServerNames) > 0 { descrs = append(descrs, fmt.Sprintf("SNI: %s", strings.Join(match.ServerNames, ","))) } if len(match.TransportProtocol) > 0 { descrs = append(descrs, fmt.Sprintf("Trans: %s", match.TransportProtocol)) } if len(match.ApplicationProtocols) > 0 { found := false
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K 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)