Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for Case (0.19 sec)

  1. istioctl/pkg/dashboard/dashboard_test.go

    	cases := []testutil.TestCase{
    		{ // 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
    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)
  2. istioctl/pkg/kubeinject/kubeinject_test.go

    	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", " "),
    			ExpectedRegexp: regexp.MustCompile(`open missing.yaml: no such file or directory`),
    			WantException:  true,
    		},
    		{ // case 2
    			Args: strings.Split(
    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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. manifests/charts/istio-control/istio-discovery/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)
  8. istioctl/pkg/util/formatting/formatter.go

    }
    
    // Print output messages in the specified format with color options
    func Print(ms diag.Messages, format string, colorize bool) (string, error) {
    	switch format {
    	case LogFormat:
    		return printLog(ms, colorize), nil
    	case JSONFormat:
    		return printJSON(ms)
    	case YAMLFormat:
    		return printYAML(ms)
    	default:
    		return "", fmt.Errorf("invalid format, expected one of %v but got %q", MsgOutputFormatKeys, format)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. istioctl/cmd/istioctl_test.go

    	fErr := rootCmd.Execute()
    
    	switch fErr.(type) {
    	case istioctlutil.CommandParseError:
    		// do nothing
    	default:
    		t.Errorf("Expected a CommandParseError, but got %q.", fErr)
    	}
    
    	// we should propagate to subcommands
    	rootCmd = GetRootCmd([]string{"analyze", "--unknown-flag"})
    	fErr = rootCmd.Execute()
    
    	switch fErr.(type) {
    	case istioctlutil.CommandParseError:
    		// do nothing
    	default:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:53:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. istioctl/pkg/authz/listener.go

    			parsedFC := &filterChain{}
    			for _, filter := range fc.Filters {
    				switch filter.Name {
    				case wellknown.HTTPConnectionManager, "envoy.http_connection_manager":
    					if cm := getHTTPConnectionManager(filter); cm != nil {
    						for _, httpFilter := range cm.GetHttpFilters() {
    							switch httpFilter.GetName() {
    							case wellknown.HTTPRoleBasedAccessControl:
    								rbacHTTP := &rbachttp.RBAC{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top