Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. operator/pkg/compare/compare.go

    	sortdManifests, err := k8sObjects.YAMLManifest()
    	if err != nil {
    		return "", err
    	}
    	return sortdManifests, nil
    }
    
    // renameResource filter the input resources with selected and ignored filter.
    func renameResource(iom map[string]*object.K8sObject, rnm map[string]string) (map[string]*object.K8sObject, error) {
    	oom := make(map[string]*object.K8sObject)
    	for name, obj := range iom {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-diff.go

    	ignoreResources string
    	// renameResources identifies renamed resources before comparison.
    	// The format of each renaming pair is A->B, all renaming pairs are comma separated.
    	// e.g. Service:*:istio-pilot->Service:*:istio-control - rename istio-pilot service into istio-control
    	renameResources string
    }
    
    func addManifestDiffFlags(cmd *cobra.Command, diffArgs *manifestDiffArgs) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. operator/pkg/compare/compare_test.go

      selector:
        istio: pilot
    ---
    `
    
    	manifestDiffWithRenameSelectIgnoreTests := []struct {
    		desc            string
    		yamlStringA     string
    		yamlStringB     string
    		renameResources string
    		selectResources string
    		ignoreResources string
    		want            string
    	}{
    		{
    			"ManifestDiffDeployWithRenamedFlagMultiResourceWildcard",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 33K bytes
    - Viewed (0)
Back to top