Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for inputs (0.19 sec)

  1. istioctl/pkg/workload/workload_test.go

    			description:       "Invalid command args - missing valid input spec",
    			args:              strings.Split("entry configure --name foo -o temp --clusterID cid", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a WorkloadGroup artifact file or the name and namespace of an existing WorkloadGroup\n",
    		},
    		{
    			description:       "Invalid command args - missing valid input spec",
    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. istioctl/pkg/writer/pilot/status_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got := &bytes.Buffer{}
    			sw := XdsStatusWriter{Writer: got}
    			input := map[string]*discovery.DiscoveryResponse{}
    			for key, ss := range tt.input {
    				input[key] = ss
    			}
    
    			err := sw.PrintAll(input)
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    			want, _ := os.ReadFile(tt.want)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-dump_test.go

    	installPackagePathRegex := regexp.MustCompile("  installPackagePath: .*")
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			inPath := filepath.Join(testDataDir, "input", tt.desc+".yaml")
    			outPath := filepath.Join(testDataDir, "output", tt.desc+".yaml")
    
    			got, err := runProfileDump(inPath, tt.configPath, snapshotCharts, "")
    			if err != nil {
    				t.Fatal(err)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest_shared_test.go

    }
    
    // fakeApplyManifest runs istioctl install.
    func fakeApplyManifest(inFile, flags string, chartSource chartSourceType) (*ObjectSet, error) {
    	inPath := filepath.Join(testDataDir, "input", inFile+".yaml")
    	manifest, err := runManifestCommand("install", []string{inPath}, flags, chartSource, nil)
    	if err != nil {
    		return nil, fmt.Errorf("error %s: %s", err, manifest)
    	}
    	return NewObjectSet(getAllIstioObjects()), nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  5. operator/cmd/mesh/operator-common.go

    	orn := operatorResourceName
    	if revision != "" {
    		orn += "-" + revision
    	}
    	return deploymentExists(cs, operatorNamespace, orn)
    }
    
    // renderOperatorManifest renders a manifest to install the operator with the given input arguments.
    func renderOperatorManifest(_ *RootArgs, ocArgs *operatorCommonArgs) (string, string, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-dump.go

    	"istio.io/istio/operator/pkg/tpath"
    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    )
    
    type profileDumpArgs struct {
    	// inFilenames is an array of paths to the input IstioOperator CR files.
    	inFilenames []string
    	// configPath sets the root node for the subtree to display the config for.
    	configPath string
    	// outputFormat controls the format of profile dumps
    	outputFormat string
    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)
  7. istioctl/pkg/validate/validate.go

    			return validateFiles(&istioNamespace, defaultNamespace, filenames, c.OutOrStderr())
    		},
    	}
    
    	flags := c.PersistentFlags()
    	flags.StringSliceVarP(&filenames, "filename", "f", nil, "Inputs of files to validate")
    	flags.BoolVarP(&referential, "referential", "x", true, "Enable structural validation for policy and telemetry")
    	_ = flags.MarkHidden("referential")
    	return c
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/clusters.go

    		}
    	}
    	_ = w.Flush()
    	return nil
    }
    
    func parseClusterStatuses(input map[string][]byte) (map[string][]cluster.DebugInfo, error) {
    	statuses := make(map[string][]cluster.DebugInfo, len(input))
    	for istiodKey, bytes := range input {
    		var parsed []cluster.DebugInfo
    		if err := json.Unmarshal(bytes, &parsed); err != nil {
    			return nil, err
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. istioctl/cmd/sysexits.go

    // error codes for other info that we'd like to use to pass info on.
    const (
    	ExitUnknownError   = 1 // for compatibility with existing exit code
    	ExitIncorrectUsage = 64
    	ExitDataError      = 65 // some format error with input data
    
    	// below here are non-zero exit codes that don't indicate an error with istioctl itself
    	ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD
    )
    
    func GetExitCode(e error) int {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  10. operator/cmd/mesh/operator-init.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/kube"
    	buildversion "istio.io/istio/pkg/version"
    )
    
    type operatorInitArgs struct {
    	// inFilenames is the path to the input IstioOperator CR.
    	inFilename string
    
    	// common is shared operator args
    	common operatorCommonArgs
    }
    
    // kubeClients is a unit test override variable for client interfaces creation.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top