- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for Split (0.13 sec)
-
istioctl/pkg/dashboard/dashboard_test.go
{ // case 0 Args: strings.Split("--browser=false", " "), ExpectedRegexp: regexp.MustCompile("Access to Istio web UIs"), }, { // case 1 Args: strings.Split("invalid --browser=false", " "), ExpectedRegexp: regexp.MustCompile(`unknown dashboard "invalid"`), WantException: true, }, { // case 2 Args: strings.Split("controlz --browser=false", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Nov 21 01:17:24 GMT 2023 - 4.3K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
WantException: true, }, { // case 1 Args: strings.Split("-f missing.yaml", " "), ExpectedRegexp: regexp.MustCompile(`open missing.yaml: no such file or directory`), WantException: true, }, { // case 2 Args: strings.Split( "--meshConfigFile testdata/mesh-config.yaml"+
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 3.4K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
args: strings.Split("deployment/random-gibberish", " "), wantException: true, }, { // case 3: supplying nonexistent deployment name args: strings.Split("deployment/random-gibberish.default", " "), wantException: true, }, { // case 4: supplying nonexistent deployment name in nonexistent namespace args: strings.Split("deployment/random-gibberish.bogus", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
return nil, fmt.Errorf("pattern %s did not match", slp) } scopeLogLevel := strings.Split(slp, ":") s := &ScopeLevelPair{ scope: scopeLogLevel[0], logLevel: scopeLogLevel[1], } return s, nil } func newScopeInfosFromScopeLevelPairs(scopeLevelPairs string) ([]*ScopeInfo, error) { slParis := strings.Split(scopeLevelPairs, ",") var scopeInfos []*ScopeInfo for _, slp := range slParis {
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) -
istioctl/pkg/writer/envoy/configdump/cluster.go
} else { _, _ = fmt.Fprintln(w, "SERVICE FQDN\tPORT\tSUBSET\tDIRECTION\tTYPE\tDESTINATION RULE") } for _, c := range clusters { if filter.Verify(c) { if len(strings.Split(c.Name, "|")) > 3 { direction, subset, fqdn, port := model.ParseSubsetKey(c.Name) if subset == "" { subset = "-" } if includeConfigType { c.Name = fmt.Sprintf("cluster/%s", c.Name)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
expectedString: "Describe resource and related Istio configuration", }, { // case 2 no pod args: strings.Split("pod", " "), expectedString: "Error: expecting pod name", wantException: true, // "istioctl experimental inspect pod" should fail }, { // case 3 unknown pod args: strings.Split("po not-a-pod", " "), expectedString: "pods \"not-a-pod\" not found",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
}, { // clusters invalid args: strings.Split("clusters invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config clusters invalid" should fail }, { // listeners invalid args: strings.Split("listeners invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
args: strings.Split("--generation=2 --timeout=20ms virtual-service foo.default", " "), wantException: true, }, { execClientConfig: cannedResponseMap, args: strings.Split("--generation=1 virtual-service foo.default", " "), wantException: false, }, { execClientConfig: cannedResponseMap, args: strings.Split("--generation=1 VirtualService foo.default", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (1) -
istioctl/pkg/writer/envoy/configdump/configdump.go
if versionPB, ok := md[istioVersionKey]; ok { version = versionPB.GetStringValue() } if shaPB, ok := md[istioProxyShaKey]; ok { sha = shaPB.GetStringValue() if shaParts := strings.Split(sha, ":"); len(shaParts) > 1 { sha = shaParts[1] } } return } func (c *ConfigWriter) getUserAgentVersionInfo(bootstrapDump *adminv3.BootstrapConfigDump) string { const (
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) -
istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go
execClientConfig: loggingConfig, args: strings.Split("log ztunnel-9v7nw --level ztunnel:::pool:debug", " "), expectedString: "unrecognized logging level: pool:debug", wantException: true, }, { // logger name valid and logging level valid execClientConfig: loggingConfig, args: strings.Split("log ztunnel-9v7nw --level ztunnel::pool:debug", " "), expectedString: "",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 3.8K bytes - Viewed (0)