Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 157 for NamespaceId (0.62 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	original := &unstructured.Unstructured{
    		Object: map[string]interface{}{
    			"apiVersion": "mygroup.example.com/v1beta1",
    			"kind":       "Noxu",
    			"metadata": map[string]interface{}{
    				"namespace": "Namespaced",
    				"name":      "foo",
    			},
    			"spec": map[string]interface{}{
    				"num": "10",
    			},
    		},
    	}
    	patch := `{"spec":{"num":"20"}}`
    	expectedError := "strategic merge patch format is not supported"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. api/openapi-spec/v3/apis__rbac.authorization.k8s.io__v1_openapi.json

                "default": "",
                "description": "name is the plural name of the resource.",
                "type": "string"
              },
              "namespaced": {
                "default": false,
                "description": "namespaced indicates if a resource is namespaced or not.",
                "type": "boolean"
              },
              "shortNames": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 352.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    	namespacedAddEvent := 0
    	for namespacedAddEvent < 2 {
    		select {
    		case watchEvent := <-namespacedwatch.ResultChan():
    			// Check that the namespaced watch only has one result
    			if namespacedAddEvent > 0 {
    				t.Fatalf("extra watch event")
    			}
    			if e, a := watch.Added, watchEvent.Type; e != a {
    				t.Fatalf("expected %v, got %v", e, a)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/types.go

    	uid := string(pod.UID)
    	if len(uid) == 0 {
    		return "", errors.New("cannot get cache key for pod with empty UID")
    	}
    	return uid, nil
    }
    
    // GetNamespacedName returns the string format of a namespaced resource name.
    func GetNamespacedName(namespace, name string) string {
    	return fmt.Sprintf("%s/%s", namespace, name)
    }
    
    // DefaultBindAllHostIP defines the default ip address used to bind to all host.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__storage.k8s.io__v1_openapi.json

                "default": "",
                "description": "name is the plural name of the resource.",
                "type": "string"
              },
              "namespaced": {
                "default": false,
                "description": "namespaced indicates if a resource is namespaced or not.",
                "type": "boolean"
              },
              "shortNames": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 481.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/interface.go

    var PodsToActivateKey StateKey = "kubernetes.io/pods-to-activate"
    
    // PodsToActivate stores pods to be activated.
    type PodsToActivate struct {
    	sync.Mutex
    	// Map is keyed with namespaced pod name, and valued with the pod.
    	Map map[string]*v1.Pod
    }
    
    // Clone just returns the same state.
    func (s *PodsToActivate) Clone() StateData {
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. pkg/volume/plugins.go

    	// before any New* calls are made - implementations of plugins may
    	// depend on this.
    	Init(host VolumeHost) error
    
    	// Name returns the plugin's name.  Plugins must use namespaced names
    	// such as "example.com/volume" and contain exactly one '/' character.
    	// The "kubernetes.io" namespace is reserved for plugins which are
    	// bundled with kubernetes.
    	GetPluginName() string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. pilot/pkg/model/sidecar.go

    	// a private virtual service for serviceA from the local namespace,
    	// with a different path rewrite or no path rewrites.
    	virtualServices []config.Config
    
    	// An index of hostname to the namespaced name of the VirtualService containing the most
    	// relevant host match. Depending on the `PERSIST_OLDEST_FIRST_HEURISTIC_FOR_VIRTUAL_SERVICE_HOST_MATCHING`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__networking.k8s.io__v1_openapi.json

                "default": "",
                "description": "name is the plural name of the resource.",
                "type": "string"
              },
              "namespaced": {
                "default": false,
                "description": "namespaced indicates if a resource is namespaced or not.",
                "type": "boolean"
              },
              "shortNames": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 324.8K bytes
    - Viewed (0)
  10. pkg/kube/client.go

    			ns = namespace
    		} else if namespace != "" && ns != namespace {
    			return nil, nil, fmt.Errorf("object %v/%v provided namespace %q but apply called with %q", gvk, obj.GetName(), ns, namespace)
    		}
    		// namespaced resources should specify the namespace
    		dr = c.dynamic.Resource(mapping.Resource).Namespace(ns)
    	} else {
    		// for cluster-wide resources
    		dr = c.dynamic.Resource(mapping.Resource)
    	}
    	return obj, dr, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top