Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetValueForSetFlag (0.18 sec)

  1. operator/pkg/manifest/shared.go

    		if strings.Contains(p, parentPath) {
    			ret = true
    			break
    		}
    	}
    	return ret
    }
    
    // GetValueForSetFlag parses the passed set flags which have format key=value and if any set the given path,
    // returns the corresponding value, otherwise returns the empty string. setFlags must have valid format.
    func GetValueForSetFlag(setFlags []string, path string) string {
    	ret := ""
    	for _, sf := range setFlags {
    		p, v := getPV(sf)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/uninstall.go

      istioctl uninstall -f iop.yaml
      
      # Uninstall all control planes and shared resources
      istioctl uninstall --purge`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if uiArgs.revision == "" && manifest.GetValueForSetFlag(uiArgs.set, "revision") == "" && uiArgs.filename == "" && !uiArgs.purge {
    				return fmt.Errorf("at least one of the --revision (or --set revision=<revision>), --filename or --purge flags must be set")
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top