Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 203 for plural2 (0.14 sec)

  1. pkg/config/analysis/local/helpers_test.go

    	"istio.io/istio/pkg/config/validation"
    )
    
    // K8SCollection1 describes the collection k8s/collection1
    var K8SCollection1 = r2.Builder{
    	Group:         "testdata.istio.io",
    	Kind:          "Kind1",
    	Plural:        "Kind1s",
    	Version:       "v1alpha1",
    	Proto:         "google.protobuf.Struct",
    	ReflectType:   reflect.TypeOf(&structpb.Struct{}).Elem(),
    	ProtoPackage:  "github.com/gogo/protobuf/types",
    	ClusterScoped: false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go

    						SpecReplicasPath:   ".spec.replicas",
    						StatusReplicasPath: ".status.replicas",
    					},
    				},
    			},
    		},
    		Names: apiextensionsv1.CustomResourceDefinitionNames{
    			Plural:   "foos",
    			Singular: "foo",
    			Kind:     "Foo",
    			ListKind: "FooList",
    		},
    		Scope:                 apiextensionsv1.ClusterScoped,
    		PreserveUnknownFields: false,
    	},
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

            // We are using the following keys:
            //  - count.error and count.error.plural
            //  - count.warn and count.warn.plural
            StringBuilder keyBuilder = new StringBuilder("count.");
            keyBuilder.append(kind);
            if (number > 1) {
                keyBuilder.append(".plural");
            }
    
            String localizedMessage = logger.localize(keyBuilder.toString(), number);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. pkg/config/schema/codegen/collections.go

    	ClientGroupPath string
    	// ClientGetter returns the path to get the client from a kube.Client. Example: Istio.
    	ClientGetter string
    	// ClientTypePath returns the kind name. Basically upper cased "plural". Example: Gateways
    	ClientTypePath string
    	// SpecType returns the type of the Spec field. Example: HTTPRouteSpec.
    	SpecType   string
    	StatusType string
    }
    
    type inputs struct {
    	Entries  []colEntry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 07:19:43 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go

    	routes := make([]*restful.RouteBuilder, 0)
    	root := fmt.Sprintf("/apis/%s/%s/%s", b.group, b.version, b.plural)
    
    	if b.namespaced {
    		routes = append(routes, b.buildRoute(root, "", "GET", "list", "list", sampleList).Operation("list"+b.kind+"ForAllNamespaces"))
    		root = fmt.Sprintf("/apis/%s/%s/namespaces/{namespace}/%s", b.group, b.version, b.plural)
    	}
    	routes = append(routes, b.buildRoute(root, "", "GET", "list", "list", sampleList))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/listtype_test.go

    			{
    				Name:    "v1beta1",
    				Storage: true,
    				Served:  true,
    				Schema:  fixtures.AllowAllSchema(),
    			},
    		},
    		Names: apiextensionsv1.CustomResourceDefinitionNames{
    			Plural:   "foos",
    			Singular: "foo",
    			Kind:     "Foo",
    			ListKind: "FooList",
    		},
    		Scope: apiextensionsv1.ClusterScoped,
    	},
    }
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    	// Since we control the endpoints, we know that delete collection works. No need to delete if not established.
    	if OverlappingBuiltInResources()[schema.GroupResource{Group: crd.Spec.Group, Resource: crd.Spec.Names.Plural}] {
    		// Skip deletion, explain why, and proceed to remove the finalizer and delete the CRD
    		apiextensionshelpers.SetCRDCondition(crd, apiextensionsv1.CustomResourceDefinitionCondition{
    			Type:    apiextensionsv1.Terminating,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller_test.go

    	},
    	ObjectMeta: metav1.ObjectMeta{
    		Name: "coolfoo.stable.example.com",
    	},
    	Spec: v1.CustomResourceDefinitionSpec{
    		Group: "stable.example.com",
    		Names: v1.CustomResourceDefinitionNames{
    			Plural:     "coolfoos",
    			Singular:   "coolfoo",
    			ShortNames: []string{"foo"},
    			Kind:       "CoolFoo",
    			ListKind:   "CoolFooList",
    		},
    		Scope: v1.ClusterScoped,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 17:10:53 UTC 2023
    - 12.8K bytes
    - Viewed (0)
Back to top