Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Action (0.3 sec)

  1. istioctl/pkg/writer/envoy/configdump/listener.go

    	if l.FilterChainMatcher == nil {
    		return []string{getMatches(fc.GetFilterChainMatch())}
    	}
    	switch v := l.GetFilterChainMatcher().GetOnNoMatch().GetOnMatch().(type) {
    	case *matcher.Matcher_OnMatch_Action:
    		if v.Action.GetName() == fc.GetName() {
    			return []string{"UNMATCHED"}
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(fc.GetName(), v.Matcher)
    		if !f {
    			return []string{"NONE"}
    		}
    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)
  2. cni/pkg/install/cniconfig.go

    		return "", err
    	}
    
    	if cfg.chainedCNIPlugin {
    		if !file.Exists(cniConfigFilepath) {
    			return "", fmt.Errorf("CNI config file %s removed during configuration", cniConfigFilepath)
    		}
    		// This section overwrites an existing plugins list entry for istio-cni
    		existingCNIConfig, err := os.ReadFile(cniConfigFilepath)
    		if err != nil {
    			return "", err
    		}
    		cniConfig, err = insertCNIConfig(cniConfig, existingCNIConfig)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    				if err != nil {
    					return err
    				}
    			}
    
    			destLoggerLevels := map[string]Level{}
    			if reset {
    				// reset logging level to `defaultOutputLevel`, and ignore the `level` option
    				levelString, _ := getLogLevelFromConfigMap(ctx)
    				level, ok := stringToLevel[levelString]
    				if ok {
    					destLoggerLevels[defaultLoggerName] = level
    				} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate_test.go

    	assertFunc(t, wh.Webhooks, defaultWh.Webhooks)
    }
    
    func TestGenerateOptions(t *testing.T) {
    	// Test generate option 'true', should not modify webhooks
    	testGenerateOption(t, true, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) {
    		assert.Equal(t, actual, expected)
    	})
    
    	// Test generate option 'false', should modify webhooks
    	testGenerateOption(t, false, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) {
    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)
  5. istioctl/pkg/analyze/analyze.go

    			msgOutputFormat = strings.ToLower(msgOutputFormat)
    			_, ok := formatting.MsgOutputFormats[msgOutputFormat]
    			if !ok {
    				return util.CommandParseError{
    					Err: fmt.Errorf("%s not a valid option for format. See istioctl analyze --help", msgOutputFormat),
    				}
    			}
    
    			if listAnalyzers {
    				fmt.Print(AnalyzersAsString(analyzers.All()))
    				return nil
    			}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. istioctl/pkg/wait/wait.go

    				return fmt.Errorf("--for must be 'delete' or 'distribution', got: %s", forFlag)
    			}
    			if proxyFlag != "" && threshold != 1 {
    				printVerbosef(cmd, "both the proxy and threshold options were provided; the threshold option is being ignored.")
    				threshold = 1
    			}
    			var w *watcher
    			ctx, cancel := context.WithTimeout(context.Background(), timeout)
    			defer cancel()
    			if generation == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret.go

    		fmt.Sprintf("Authenticator plug-in name. --auth-type=%v must be set with this option",
    			RemoteSecretAuthTypePlugin))
    	flagset.StringToString("auth-plugin-config", o.AuthPluginConfig,
    		fmt.Sprintf("Authenticator plug-in configuration. --auth-type=%v must be set with this option",
    			RemoteSecretAuthTypePlugin))
    	flagset.Var(&o.Type, "type",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    	rootCmd.AddCommand(proxyconfig.ClustersCommand(ctx))
    
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio Control",
    		Section: "istioctl CLI",
    		Manual:  "Istio Control",
    	}))
    
    	validateCmd := validate.NewValidateCommand(ctx)
    	hideInheritedFlags(validateCmd, "kubeconfig")
    	rootCmd.AddCommand(validateCmd)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    	ctrlzOptions.AttachCobraFlags(rootCmd)
    
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio CNI Plugin Installer",
    		Section: "install-cni CLI",
    		Manual:  "Istio CNI Plugin Installer",
    	}))
    
    	registerStringParameter(constants.CNINetDir, "/etc/cni/net.d", "Directory on the host where CNI network plugins are installed")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top