Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for foo_ns (0.19 sec)

  1. pkg/apis/core/validation/validation_test.go

    	invalidAPIGroup := "^invalid"
    	invalidMode := core.PersistentVolumeMode("fakeVolumeMode")
    	validMode := core.PersistentVolumeFilesystem
    	goodName := "foo"
    	goodNS := "ns"
    	if ephemeral {
    		// Must be empty for ephemeral inline volumes.
    		goodName = ""
    		goodNS = ""
    	}
    	goodClaimSpec := core.PersistentVolumeClaimSpec{
    		Selector: &metav1.LabelSelector{
    			MatchExpressions: []metav1.LabelSelectorRequirement{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    	}
    }
    
    var embeddedResourceFixture = &apiextensionsv1.CustomResourceDefinition{
    	ObjectMeta: metav1.ObjectMeta{Name: "foos.tests.example.com"},
    	Spec: apiextensionsv1.CustomResourceDefinitionSpec{
    		Group: "tests.example.com",
    		Versions: []apiextensionsv1.CustomResourceDefinitionVersion{
    			{
    				Name:    "v1beta1",
    				Storage: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
  3. plugin/pkg/admission/alwayspullimages/admission_test.go

    		kind        string
    		resource    string
    		subresource string
    		object      runtime.Object
    		expectError bool
    	}{
    		{
    			name:     "non-pod resource",
    			kind:     "Foo",
    			resource: "foos",
    			object:   pod,
    		},
    		{
    			name:        "pod subresource",
    			kind:        "Pod",
    			resource:    "pods",
    			subresource: "exec",
    			object:      pod,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  4. src/internal/coverage/test/roundtrip_test.go

    					EnLine: lc + 2, EnCol: lc + 3, NxStmts: lc + 4,
    				})
    			lc += 5
    		}
    		f := coverage.FuncDesc{
    			Funcname: fmt.Sprintf("func_%d_%d", i, fi),
    			Srcfile:  fmt.Sprintf("foo_%d.go", i),
    			Units:    units,
    		}
    		res = append(res, f)
    	}
    	return res
    }
    
    func createBlob(t *testing.T, i int) []byte {
    	nomodule := ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:42:05 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. pkg/scheduler/eventhandlers.go

    				continue
    			}
    			// GVK is expected to be at least 3-folded, separated by dots.
    			// <kind in plural>.<version>.<group>
    			// Valid examples:
    			// - foos.v1.example.com
    			// - bars.v1beta1.a.b.c
    			// Invalid examples:
    			// - foos.v1 (2 sections)
    			// - foo.v1.example.com (the first section should be plural)
    			if strings.Count(string(gvk), ".") < 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. pilot/pkg/model/sidecar.go

    func (sc *SidecarScope) DependsOnConfig(config ConfigKey, rootNs string) bool {
    	if sc == nil {
    		return true
    	}
    
    	// This kind of config will trigger a change if made in the root namespace or the same namespace
    	if clusterScopedKnownConfigTypes.Contains(config.Kind) {
    		return config.Namespace == rootNs || config.Namespace == sc.Namespace
    	}
    
    	// This kind of config is unknown to sidecarScope.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go

    	}, {
    		desc: "should error when the same resource across groups is encrypted",
    		in: &apiserver.EncryptionConfiguration{
    			Resources: []apiserver.ResourceConfiguration{{
    				Resources: []string{
    					"*.",
    					"foos.*",
    				},
    				Providers: []apiserver.ProviderConfiguration{{
    					KMS: &apiserver.KMSConfiguration{
    						Name:       "foo",
    						Endpoint:   "unix:///tmp/kms-provider.socket",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 33.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    	}
    	if !IsServerTimeout(NewServerTimeout(resource("tests"), "reason", 0)) {
    		t.Errorf("expected to be %s", metav1.StatusReasonServerTimeout)
    	}
    	if !IsMethodNotSupported(NewMethodNotSupported(resource("foos"), "delete")) {
    		t.Errorf("expected to be %s", metav1.StatusReasonMethodNotAllowed)
    	}
    
    	if !IsAlreadyExists(NewGenerateNameConflict(resource("tests"), "3", 1)) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. tests/test_generate_unique_id_function.py

    from fastapi import APIRouter, FastAPI
    from fastapi.routing import APIRoute
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    def custom_generate_unique_id(route: APIRoute):
        return f"foo_{route.name}"
    
    
    def custom_generate_unique_id2(route: APIRoute):
        return f"bar_{route.name}"
    
    
    def custom_generate_unique_id3(route: APIRoute):
        return f"baz_{route.name}"
    
    
    class Item(BaseModel):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/crds/standard-install.yaml

                        use as an array at the field path .status.conditions.  For example,
                        \n type FooStatus struct{ // Represents the observations of a
                        foo's current state. // Known .status.conditions.type are: \"Available\",
                        \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 458.3K bytes
    - Viewed (0)
Back to top