- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 176 for RANGE (0.7 sec)
-
istioctl/pkg/util/configdump/util.go
) // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) { var dumpAny *anypb.Any for _, conf := range w.Configs { if conf.TypeUrl == string(sectionTypeURL) { dumpAny = conf } } if dumpAny == nil { return nil, fmt.Errorf("config dump has no configuration type %s", sectionTypeURL) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
LabelSelector: fmt.Sprintf("%s=%s", label.IoIstioRev.Name, tag), }) if err != nil { return nil, err } nsNames := make([]string, len(namespaces.Items)) for i, ns := range namespaces.Items { nsNames[i] = ns.Name } return nsNames, nil } // GetWebhookTagName extracts tag name from webhook object. func GetWebhookTagName(wh admitv1.MutatingWebhookConfiguration) string {
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) -
manifests/charts/gateways/istio-egress/templates/service.yaml
{{- end }} type: {{ $gateway.type }} selector: {{ $gateway.labels | toYaml | indent 4 }} ports: {{- range $key, $val := $gateway.ports }} - {{- range $pkey, $pval := $val }} {{ $pkey}}: {{ $pval }} {{- end }} {{- end }} {{ range $app := $gateway.egressPorts }} - port: {{ $app.port }} name: {{ $app.name }} {{- end }}
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 1.5K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/files/gateway-injection-template.yaml
- name: PROXY_CONFIG value: | {{ protoToJSON .ProxyConfig }} - name: ISTIO_META_POD_PORTS value: |- [ {{- $first := true }} {{- range $index1, $c := .Spec.Containers }} {{- range $index2, $p := $c.Ports }} {{- if (structToJSON $p) }} {{if not $first}},{{end}}{{ structToJSON $p }} {{- $first = false }} {{- end }}
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 27 16:55:16 GMT 2024 - 8.6K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
LabelSelector: fmt.Sprintf("%s=%s,!istio.io/tag", label.IoIstioRev.Name, client.Revision()), }) if err != nil { return nil, err } for _, whc := range webhooks.Items { for _, wh := range whc.Webhooks { if wh.ClientConfig.URL != nil { u, err := url.Parse(*wh.ClientConfig.URL) if err != nil { return nil, fmt.Errorf("parsing webhook URL: %w", err) }
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) -
istioctl/pkg/admin/istiodconfig_test.go
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) { got, err := newScopeLevelPair(tt.args.slp, tt.args.validationPattern) if (err != nil) != tt.wantErr { t.Errorf("newScopeLevelPair() error = %v, wantErr %v", err, tt.wantErr)
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) -
cni/pkg/install/install_test.go
existingConfFiles: map[string]string{"istio-cni.conf": "istio-cni.conf"}, }, } for _, c := range cases { t.Run(c.name, func(t *testing.T) { // Create temp directory for files tempDir := t.TempDir() // Create existing config files if specified in test case for srcFilename, targetFilename := range c.existingConfFiles {
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) -
istioctl/pkg/tag/generate_test.go
}, Webhooks: []admitv1.ValidatingWebhook{ { Name: "random", }, { FailurePolicy: &fail, Name: "validation.istio.io", }, }, }) for _, tc := range tcs { t.Run(tc.name, func(t *testing.T) { webhookConfig, err := tagWebhookConfigFromCanonicalWebhook(tc.webhook, "default", tc.istioNamespace) if err != nil { t.Fatalf("webhook parsing failed with error: %v", err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
writer io.Writer, istioNamespace string, xdsResponses map[string]*discovery.DiscoveryResponse, ) (map[string]*discovery.DiscoveryResponse, error) { for _, response := range xdsResponses { for _, resource := range response.Resources { eString := string(resource.Value) switch { case strings.Contains(eString, "You must provide a proxyID in the query string"):
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/writer/ztunnel/configdump/connections.go
w := c.tabwriter() d := c.ztunnelDump serviceNames := map[string]string{} workloadNames := map[string]string{} for netIP, s := range d.Services { _, ip, _ := strings.Cut(netIP, "/") serviceNames[ip] = s.Hostname } for netIP, s := range d.Workloads { _, ip, _ := strings.Cut(netIP, "/") workloadNames[ip] = s.Name + "." + s.Namespace } lookupIP := func(addr string) string { if filter.Raw {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 3.3K bytes - Viewed (0)