Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isRevisioned (0.17 sec)

  1. istioctl/pkg/workload/workload.go

    	}
    	return os.WriteFile(filepath.Join(dir, "hosts"), []byte(hosts), filePerms)
    }
    
    func isRevisioned(revision string) bool {
    	return revision != "" && revision != "default"
    }
    
    func IstiodHost(ns string, revision string) string {
    	istiod := "istiod"
    	if isRevisioned(revision) {
    		istiod = fmt.Sprintf("%s-%s", istiod, revision)
    	}
    	return fmt.Sprintf("%s.%s.svc", istiod, ns)
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top