Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreatePod (0.09 sec)

  1. pkg/controller/statefulset/stateful_pod_control.go

    // with a clientset for writes and listers for reads; for tests we provide stubs.
    type StatefulPodControlObjectManager interface {
    	CreatePod(ctx context.Context, pod *v1.Pod) error
    	GetPod(namespace, podName string) (*v1.Pod, error)
    	UpdatePod(pod *v1.Pod) error
    	DeletePod(pod *v1.Pod) error
    	CreateClaim(claim *v1.PersistentVolumeClaim) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	testContext := genericapirequest.WithNamespace(genericapirequest.NewContext(), "test")
    	destroyFunc, registry := NewTestGenericStoreRegistry(t)
    	registry.EnableGarbageCollection = true
    	defer destroyFunc()
    
    	createPod := func(i int, finalizers []string) *example.Pod {
    		return &example.Pod{
    			ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("pod-%d", i), Finalizers: finalizers, Generation: initialGeneration},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top