Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. operator/cmd/mesh/manifest_shared_test.go

    // It returns an ObjectSet for each cmd type.
    // nolint: unparam
    func runManifestCommands(inFile, flags string, chartSource chartSourceType, fileSelect []string) (map[cmdType]*ObjectSet, error) {
    	out := make(map[cmdType]*ObjectSet)
    	for _, cmd := range testedManifestCmds {
    		log.Infof("\nRunning test command using %s\n", cmd)
    		switch cmd {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    			panic(fmt.Errorf("failed to extract data snapshot: %v", err))
    		}
    		return chartSourceType(filepath.Join(d, "manifests"))
    	}()
    	// Compiled in charts come from assets.gen.go
    	compiledInCharts chartSourceType = "COMPILED"
    	_                                = compiledInCharts
    	// Live charts come from manifests/
    	liveCharts = chartSourceType(filepath.Join(env.IstioSrc, operatorSubdirFilePath))
    )
    
    type testGroup []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-dump_test.go

    				t.Errorf("profile-dump command(%s): got:\n%s\n\nwant:\n%s\nDiff:\n%s\n", tt.desc, got, want, util.YAMLDiff(got, want))
    			}
    		})
    	}
    }
    
    func runProfileDump(profilePath, configPath string, chartSource chartSourceType, outfmt string) (string, error) {
    	cmd := "profile dump -f " + profilePath
    	if configPath != "" {
    		cmd += " --config-path " + configPath
    	}
    	if len(chartSource) > 0 {
    		cmd += " --manifests=" + string(chartSource)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 20 11:44:25 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top