Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,237 for GetPod (0.13 sec)

  1. pkg/controller/garbagecollector/garbagecollector_test.go

    }
    
    // fakeAction records information about requests to aid in testing.
    type fakeAction struct {
    	method string
    	path   string
    	query  string
    }
    
    // String returns method=path to aid in testing
    func (f *fakeAction) String() string {
    	return strings.Join([]string{f.method, f.path}, "=")
    }
    
    type FakeResponse struct {
    	statusCode int
    	content    []byte
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/interface.go

    		return nil
    	}
    	return &Status{
    		code: Error,
    		err:  err,
    	}
    }
    
    // WaitingPod represents a pod currently waiting in the permit phase.
    type WaitingPod interface {
    	// GetPod returns a reference to the waiting pod.
    	GetPod() *v1.Pod
    	// GetPendingPlugins returns a list of pending Permit plugin's name.
    	GetPendingPlugins() []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  3. pkg/serviceaccount/claims_test.go

    	if f.serviceAccount == nil {
    		return nil, apierrors.NewNotFound(schema.GroupResource{Group: "", Resource: "serviceaccounts"}, name)
    	}
    	return f.serviceAccount, nil
    }
    func (f fakeGetter) GetPod(namespace, name string) (*v1.Pod, error) {
    	if f.pod == nil {
    		return nil, apierrors.NewNotFound(schema.GroupResource{Group: "", Resource: "pods"}, name)
    	}
    	return f.pod, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. pkg/scheduler/scheduler_test.go

    			for _, fwk := range scheduler.Profiles {
    				actualPodNamesInWaitingPods := sets.NewString()
    				fwk.IterateOverWaitingPods(func(pod framework.WaitingPod) {
    					actualPodNamesInWaitingPods.Insert(pod.GetPod().Name)
    				})
    				// Validate the name of pods in waitingPods matches expectations.
    				if actualPodNamesInWaitingPods.Len() != len(tc.expectPodNamesInWaitingPods) ||
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  5. src/cmd/vet/testdata/method/method.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains the code to check canonical methods.
    
    package method
    
    import "fmt"
    
    type MethodTest int
    
    func (t *MethodTest) Scan(x fmt.ScanState, c byte) { // ERROR "should have signature Scan\(fmt\.ScanState, rune\) error"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 394 bytes
    - Viewed (0)
  6. test/method.go

    	func() {
    		defer expectPanic()
    		a.h() // dynamic error: nil dereference in a.B.D->f()
    	}()
    	a.i()
    
    	// Non-addressable value receiver.
    	A(a).f()
    	// A(a).g() // static error: cannot call pointer method on A literal.B.C
    	func() {
    		defer expectPanic()
    		A(a).h() // dynamic error: nil dereference in A().B.D->f()
    	}()
    	A(a).i()
    
    	// Pointer receiver.
    	(&a).f()
    	(&a).g()
    	func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 11 23:20:52 UTC 2013
    - 5.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-method.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: invalid-method
    spec:
      rules:
      - matches:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 145 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/multicluster/httproute-method.yaml

    #$ Used in:
    #$ - geps/gep-1748.md
    kind: HTTPRoute
    apiVersion: gateway.networking.k8s.io/v1beta1
    metadata:
      name: api
    spec:
      parentRefs:
      - name: api-gw
      rules:
      - matches:
        - method: POST
        - method: PUT
        - method: DELETE
        backendRefs:
        - group: multicluster.x-k8s.io
          kind: ServiceImport
          name: api-primary
          port: 8080
      - backendRefs:
        - group: multicluster.x-k8s.io
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 474 bytes
    - Viewed (0)
  9. src/net/http/method.go

    Shenghou Ma <******@****.***> 1462396010 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 04 22:11:56 UTC 2016
    - 517 bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_control_test.go

    	if err := om.createPodTracker.incWithOptionalError(); err != nil {
    		return err
    	}
    	pod.SetUID(types.UID(pod.Name + "-uid"))
    	return om.podsIndexer.Update(pod)
    }
    
    func (om *fakeObjectManager) GetPod(namespace, podName string) (*v1.Pod, error) {
    	return om.podsLister.Pods(namespace).Get(podName)
    }
    
    func (om *fakeObjectManager) UpdatePod(pod *v1.Pod) error {
    	defer om.updatePodTracker.trackParallelRequests()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
Back to top