Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for _arg (0.15 sec)

  1. istioctl/pkg/workload/workload_test.go

    		{arg: "key", wantKey: "key", wantValue: ""},
    		{arg: "", wantKey: "", wantValue: ""},
    	}
    	for _, tt := range tests {
    		t.Run(tt.arg, func(t *testing.T) {
    			gotKey, gotValue := splitEqual(tt.arg)
    			if gotKey != tt.wantKey {
    				t.Errorf("splitEqual(%v) got = %v, want %v", tt.arg, gotKey, tt.wantKey)
    			}
    			if gotValue != tt.wantValue {
    				t.Errorf("splitEqual(%v) got1 = %v, want %v", tt.arg, gotValue, tt.wantValue)
    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)
  2. operator/cmd/mesh/manifest-generate.go

    	if len(mgArgs.Components) != 0 {
    		filteredManifests := name.ManifestMap{}
    		for _, cArg := range mgArgs.Components {
    			componentName := name.ComponentName(cArg)
    			if cManifests, ok := manifests[componentName]; ok {
    				filteredManifests[componentName] = cManifests
    			} else {
    				return fmt.Errorf("incorrect component name: %s. Valid options: %v", cArg, name.AllComponentNames)
    			}
    		}
    		manifests = filteredManifests
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze.go

    				return nil
    			}
    
    			readers, err := gatherFiles(cmd, args)
    			if err != nil {
    				return err
    			}
    			cancel := make(chan struct{})
    
    			// We use the "namespace" arg that's provided as part of root istioctl as a flag for specifying what namespace to use
    			// for file resources that don't have one specified.
    			selectedNamespace = ctx.Namespace()
    			if useKube {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate_test.go

    		},
    		{
    			name: "valid resources from file",
    			args: []string{"--filename", validFilenameYAML},
    		},
    		{
    			name:      "extra args",
    			args:      []string{"--filename", validFilenameYAML, "extra-arg"},
    			wantError: true,
    		},
    		{
    			name:      "invalid resources from file",
    			args:      []string{"--filename", invalidFilenameYAML},
    			wantError: true,
    		},
    		{
    			name:      "invalid filename",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
Back to top