Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unparseable (0.17 sec)

  1. cni/pkg/plugin/plugin_test.go

    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Empty",
    			args: args{ports: []string{}},
    			want: []string{},
    		},
    		{
    			name: "Non-parseable",
    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    }
    
    func registerBooleanParameter(name string, value bool, usage string) {
    	rootCmd.Flags().Bool(name, value, usage)
    	registerEnvironment(name, value, usage)
    }
    
    func registerEnvironment[T env.Parseable](name string, defaultValue T, usage string) {
    	envName := strings.Replace(strings.ToUpper(name), "-", "_", -1)
    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVar(&ignoreUnknown, "ignore-unknown", false,
    		"Don't complain about un-parseable input documents, for cases where analyze should run only on k8s compliant inputs.")
    	analysisCmd.PersistentFlags().StringVarP(&revisionSpecified, "revision", "", "default",
    		"analyze a specific revision deployed.")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top