github.com/swisscom/cloudfoundry-cli@v7.1.0+incompatible/integration/helpers/quota.go (about)

     1  package helpers
     2  
     3  // QuotaName provides a random name prefixed with INTEGRATION-QUOTA. If given a name,
     4  // it structures the name like INTEGRATION-QUOTA-name-randomstring.
     5  func QuotaName(name ...string) string {
     6  	if len(name) > 0 {
     7  		return PrefixedRandomName("INTEGRATION-QUOTA-" + name[0])
     8  	}
     9  	return PrefixedRandomName("INTEGRATION-QUOTA")
    10  }