Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for MyNamespace (0.28 sec)

  1. pkg/kubelet/config/http_test.go

    			pods: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{
    					Kind:       "Pod",
    					APIVersion: "",
    				},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "foo",
    					UID:       "111",
    					Namespace: "mynamespace",
    				},
    				Spec: v1.PodSpec{
    					NodeName:        string(nodeName),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  2. pkg/kubelet/config/file_linux_test.go

    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{
    					Kind:       "Pod",
    					APIVersion: "",
    				},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test",
    					UID:       "12345",
    					Namespace: "mynamespace",
    				},
    				Spec: v1.PodSpec{
    					Containers:      []v1.Container{{Name: "image", Image: "test/image", SecurityContext: securitycontext.ValidSecurityContextWithContainerDefaults()}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    			"apiVersion": "v1",
    			"kind":       "Test",
    			"dummy1":     "present",
    			"dummy2":     "present",
    			"metadata": map[string]interface{}{
    				"name":              "MyName",
    				"namespace":         "MyNamespace",
    				"creationTimestamp": "2017-04-01T00:00:00Z",
    				"resourceVersion":   123,
    				"uid":               "00000000-0000-0000-0000-000000000001",
    				"dummy3":            "present",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/testing/testvolumespec.go

    	extraPods = &v1.PodList{}
    	fakeClient.AddReactor("list", "pods", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		obj := &v1.PodList{}
    		podNamePrefix := "mypod"
    		namespace := "mynamespace"
    		for i := 0; i < 5; i++ {
    			podName := fmt.Sprintf("%s-%d", podNamePrefix, i)
    			pod := v1.Pod{
    				Status: v1.PodStatus{
    					Phase: v1.PodRunning,
    				},
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 17 08:48:30 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  5. pilot/pkg/model/sidecar.go

    // If there are more than one, pick the first alphabetically.
    func pickFirstVisibleNamespace(ps *PushContext, byNamespace map[string]*Service, configNamespace string) string {
    	nss := make([]string, 0, len(byNamespace))
    	for ns := range byNamespace {
    		if ps.IsServiceVisible(byNamespace[ns], configNamespace) {
    			nss = append(nss, ns)
    		}
    	}
    	if len(nss) > 0 {
    		sort.Strings(nss)
    		return nss[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    	if !p.hasSynced() {
    		return nil, p.notReadyErr
    	}
    	return p.delegate.Get(name)
    }
    func (p *protectedLister) ByNamespace(namespace string) cache.GenericNamespaceLister {
    	return &protectedNamespaceLister{p.hasSynced, p.notReadyErr, p.delegate.ByNamespace(namespace)}
    }
    
    // protectedNamespaceLister returns notReadyError if hasSynced returns false, otherwise delegates to delegate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    			}
    
    			var lister cache.GenericNamespaceLister = informer.Lister()
    			if scope == meta.RESTScopeNamespace {
    				lister = informer.Lister().ByNamespace(objectMeta.GetNamespace())
    			}
    
    			fetched, err := lister.Get(objectMeta.GetName())
    			if err != nil {
    				if errors.IsNotFound(err) {
    					return false, nil
    				}
    				return true, err
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. pkg/apis/flowcontrol/types.go

    	// is dedicated to a tenant.
    	FlowDistinguisherMethodByNamespaceType FlowDistinguisherMethodType = "ByNamespace"
    )
    
    // FlowDistinguisherMethod specifies the method of a flow distinguisher.
    type FlowDistinguisherMethod struct {
    	// `type` is the type of flow distinguisher method
    	// The supported types are "ByUser" and "ByNamespace".
    	// Required.
    	Type FlowDistinguisherMethodType
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    				// match a cluster-scoped resource
    				return nil, fmt.Errorf("cannot use namespaced paramRef in policy binding that matches cluster-scoped resources")
    			}
    
    			paramStore = paramInformer.Lister().ByNamespace(paramsNamespace)
    		}
    
    		// If the param informer for this admission policy has not yet
    		// had time to perform an initial listing, don't attempt to use
    		// it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/flowcontrol/v1beta1/types.go

    	// is dedicated to a tenant.
    	FlowDistinguisherMethodByNamespaceType FlowDistinguisherMethodType = "ByNamespace"
    )
    
    // FlowDistinguisherMethod specifies the method of a flow distinguisher.
    type FlowDistinguisherMethod struct {
    	// `type` is the type of flow distinguisher method
    	// The supported types are "ByUser" and "ByNamespace".
    	// Required.
    	Type FlowDistinguisherMethodType `json:"type" protobuf:"bytes,1,opt,name=type"`
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:27:57 UTC 2023
    - 31.2K bytes
    - Viewed (0)
Back to top