- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for promise (0.36 sec)
-
operator/cmd/mesh/profile-dump.go
} func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command { return &cobra.Command{ Use: "dump [<profile>]", Short: "Dumps an Istio configuration profile", Long: "The dump subcommand dumps the values in an Istio configuration profile.", Args: func(cmd *cobra.Command, args []string) error { if len(args) > 1 { return fmt.Errorf("too many positional arguments") } return nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff_test.go
cases := []profileDiffTestcase{ { args: "profile diff demo default --unknown-flag", shouldFail: true, }, { args: "profile diff demo", shouldFail: true, }, { args: "profile diff", shouldFail: true, }, { args: fmt.Sprintf("profile diff default unknown-profile --manifests %s", snapshotCharts), shouldFail: true, }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 3.6K bytes - Viewed (1) -
operator/cmd/mesh/profile-dump_test.go
if err != nil { t.Fatal(err) } if !util.IsYAMLEqual(got, want) { t.Errorf("profile-dump command(%s): got:\n%s\n\nwant:\n%s\nDiff:\n%s\n", tt.desc, got, want, util.YAMLDiff(got, want)) } }) } } func runProfileDump(profilePath, configPath string, chartSource chartSourceType, outfmt string) (string, error) { cmd := "profile dump -f " + profilePath if configPath != "" { cmd += " --config-path " + configPath }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
log.Errorf("error scanning proc: error was %s", err) return nil, err } // try again. we can still get here if the pod is in the process of being created. // in this case the CNI will be invoked soon and provide us with the netns. openNetns = s.currentPodSnapshot.Get(string(pod.UID)) if openNetns == nil { return nil, fmt.Errorf("can't find netns for pod, this is ok if this is a newly created pod (%w)", ErrPodNotFound) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
istioctl/pkg/internaldebug/internal-debug.go
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"): return nil, fmt.Errorf(" You must provide a proxyID in the query string, e.g. [%s]", "edsz?proxyID=istio-ingressgateway") case strings.Contains(eString, "404 page not found"):
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) -
operator/cmd/mesh/manifest_shared_test.go
} if fileSelect != nil { filters := []string{} filters = append(filters, fileSelect...) // Everything needs these filters = append(filters, "templates/_affinity.tpl", "templates/_helpers.tpl", "templates/zzz_profile.yaml") args += " --filter " + strings.Join(filters, ",") } args += " --set installPackagePath=" + string(chartSource) return runCommand(args) } // runCommand runs the given command string.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
istioctl/pkg/multixds/gather.go
} // Iterate all the pod. for _, pod := range list.Items { touchedPods++ if options.XdsViaAgentsLimit != 0 && touchedPods > options.XdsViaAgentsLimit { fmt.Fprintf(options.MessageWriter, "Some proxies may be missing from the list"+ " because the number of visited pod hits the limit %d,"+ " which can be set by `--xds-via-agents-limit` flag.\n", options.XdsViaAgentsLimit) break GetProxyLoop }
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) -
operator/cmd/mesh/profile-list.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.9K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
Example: ` # Generate a default Istio installation istioctl manifest generate # Enable Tracing istioctl manifest generate --set meshConfig.enableTracing=true # Generate the demo profile istioctl manifest generate --set profile=demo # To override a setting that includes dots, escape them with a backslash (\). Your shell may require enclosing quotes.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
listenerStatus: lds, routeStatus: rds, endpointStatus: eds, extensionconfigStatus: ecds, }) if len(fullStatus) == 0 { return nil, nil, fmt.Errorf("no proxies found (checked %d istiods)", len(drs)) } sort.Slice(fullStatus, func(i, j int) bool { return fullStatus[i].proxyID < fullStatus[j].proxyID }) } } if len(mappedResp) > 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.1K bytes - Viewed (0)