Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for plural2 (0.33 sec)

  1. schema/naming.go

    }
    
    // TableName convert string to table name
    func (ns NamingStrategy) TableName(str string) string {
    	if ns.SingularTable {
    		return ns.TablePrefix + ns.toDBName(str)
    	}
    	return ns.TablePrefix + inflection.Plural(ns.toDBName(str))
    }
    
    // SchemaName generate schema name from table name, don't guarantee it is the reverse value of TableName
    func (ns NamingStrategy) SchemaName(table string) string {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

        val logger = Logging.getLogger(ConfigurationCacheProblems::class.java)
    
        private
        fun Int.counter(singular: String, plural: String = "${singular}s"): String {
            return when (this) {
                0 -> "no $plural"
                1 -> "1 $singular"
                else -> "$this $plural"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/crdclient/client.go

    	schemasByCRDName := map[string]resource.Schema{}
    	for _, s := range schemas.All() {
    		// From the spec: "Its name MUST be in the format <.spec.name>.<.spec.group>."
    		name := fmt.Sprintf("%s.%s", s.Plural(), s.Group())
    		schemasByCRDName[name] = s
    	}
    	out := &Client{
    		domainSuffix:     opts.DomainSuffix,
    		schemas:          schemas,
    		schemasByCRDName: schemasByCRDName,
    		revision:         opts.Revision,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top