github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+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  }