Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for YAMLTree (0.08 sec)

  1. operator/pkg/translate/yaml_tree.go

    	"istio.io/istio/operator/pkg/tpath"
    	"istio.io/istio/operator/pkg/util"
    )
    
    // YAMLTree takes an input tree inTreeStr, a partially constructed output tree outTreeStr, and a map of
    // translations of source-path:dest-path in pkg/tpath format. It returns an output tree with paths from the input
    // tree, translated and overlaid on the output tree.
    func YAMLTree(inTreeStr, outTreeStr string, translations map[string]string) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. operator/pkg/translate/translate_common.go

    	overlayYAML, err := util.OverlayYAML(fileOverlayYAML, setOverlayYAML)
    	if err != nil {
    		return "", fmt.Errorf("could not overlay user config over base: %s", err)
    	}
    
    	return YAMLTree(overlayYAML, baseYAML, name.ValuesEnablementPathMap)
    }
    
    // GetEnabledComponents get all the enabled components from the given istio operator spec
    func GetEnabledComponents(iopSpec *v1alpha1.IstioOperatorSpec) ([]string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. operator/pkg/translate/translate_value.go

    	yamlTree := make(map[string]any)
    	err = yaml.Unmarshal(values, &yamlTree)
    	if err != nil {
    		return nil, fmt.Errorf("error when unmarshalling into untype tree %v", err)
    	}
    
    	outputTree := make(map[string]any)
    	err = t.TranslateTree(yamlTree, outputTree, nil)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top