- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for case (0.15 sec)
-
istioctl/pkg/dashboard/dashboard_test.go
}, { // case 2 Args: strings.Split("controlz --browser=false", " "), ExpectedRegexp: regexp.MustCompile(".*Error: specify a pod or --selector"), WantException: true, }, { // case 3 Args: strings.Split("controlz --browser=false pod-123456-7890", " "), ExpectedRegexp: regexp.MustCompile(".*http://localhost:3456"), WantException: false, }, { // case 4
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
"istio.io/istio/istioctl/pkg/util/testutil" ) func TestKubeInject(t *testing.T) { cases := []testutil.TestCase{ { // case 0 Args: []string{}, ExpectedRegexp: regexp.MustCompile(`filename not specified \(see --filename or -f\)`), WantException: true, }, { // case 1 Args: strings.Split("-f missing.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
}, { // case 2: supplying nonexistent pod name should result in error with flag 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
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) -
cni/pkg/install/install_test.go
go func(ctx context.Context) { errChan <- in.sleepWatchInstall(ctx, sets.String{}) }(ctx) select { case <-readyChan: assert.Equal(t, isReady.Load(), true) case err := <-errChan: if err == nil { t.Fatal("invalid configuration detected") } t.Fatal(err) case <-time.After(5 * time.Second): t.Fatal("timed out waiting for isReady to be set to true") }
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/describe/describe_test.go
for i := range c.istioConfigs { switch t := c.istioConfigs[i].(type) { case *v1alpha3.DestinationRule: client.Istio().NetworkingV1alpha3().DestinationRules(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{}) case *v1alpha3.Gateway: client.Istio().NetworkingV1alpha3().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{}) case *v1alpha3.VirtualService:
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) -
operator/cmd/mesh/profile-dump.go
switch outputFormat { case jsonOutput, yamlOutput, flagsOutput: default: return fmt.Errorf("unknown output format: %s", outputFormat) } return nil } // yamlToFormat converts the generated yaml config to the expected format func yamlToFormat(yaml, outputFormat string) (string, error) { var output string switch outputFormat { case jsonOutput: j, err := yamlToPrettyJSON(yaml)
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) -
manifests/charts/istio-control/istio-discovery/templates/revision-tags.yaml
{{- /* When the tag is "default" we want to create webhooks for the default revision */}} {{- /* These webhooks should be kept in sync with istio-discovery/templates/mutatingwebhook.yaml */}} {{- if (eq $tagName "default") }} {{- /* Case 1: Namespace selector enabled, and object selector is not injected */}} {{- include "core" (mergeOverwrite (deepCopy $whv) (dict "Prefix" "namespace.") ) }} namespaceSelector: matchExpressions: - key: istio-injection
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 4.4K bytes - Viewed (1) -
istioctl/pkg/workload/workload_test.go
}, { description: "valid case - create full workload group with shortnames", args: strings.Split("group create --name foo -n bar -l app=foo,bar=baz -p grpc=3550,http=8080"+ " -a annotation=foobar --serviceAccount test", " "), expectedException: false, expectedOutput: customYAML, }, } for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, c.description), func(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
manifests/charts/istiod-remote/templates/mutatingwebhook.yaml
operator.istio.io/component: "Pilot" app: sidecar-injector release: {{ .Release.Name }} webhooks: {{- /* Set up the selectors. First section is for revision, rest is for "default" revision */}} {{- /* Case 1: namespace selector matches, and object doesn't disable */}} {{- /* Note: if both revision and legacy selector, we give precedence to the legacy one */}}
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 5.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
equality := "=" switch v := match.GetMatcherTree().GetTreeType().(type) { case *matcher.Matcher_MatcherTree_ExactMatchMap: m = v.ExactMatchMap.Map case *matcher.Matcher_MatcherTree_PrefixMatchMap: m = v.PrefixMatchMap.Map equality = "^" case *matcher.Matcher_MatcherTree_CustomMatch: tc := v.CustomMatch.GetTypedConfig() switch tc.TypeUrl { case IPMatcher: ip := protoconv.SilentlyUnmarshalAny[matcher.IPMatcher](tc)
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)