Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for PersistentVolumeClaims (0.31 sec)

  1. pkg/controller/statefulset/stateful_pod_control_test.go

    	control := NewStatefulPodControl(fakeClient, nil, claimLister, recorder)
    	fakeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, apierrors.NewNotFound(action.GetResource().GroupResource(), action.GetResource().Resource)
    	})
    	fakeClient.AddReactor("create", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		create := action.(core.CreateAction)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml

          rbac.authorization.k8s.io/aggregate-to-view: "true"
        name: system:aggregate-to-view
      rules:
      - apiGroups:
        - ""
        resources:
        - configmaps
        - endpoints
        - persistentvolumeclaims
        - persistentvolumeclaims/status
        - pods
        - replicationcontrollers
        - replicationcontrollers/scale
        - serviceaccounts
        - services
        - services/status
        verbs:
        - get
        - list
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 08:11:08 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-roles.yaml

        verbs:
        - get
        - list
        - patch
        - update
        - watch
      - apiGroups:
        - ""
        resources:
        - persistentvolumeclaims/status
        verbs:
        - patch
        - update
      - apiGroups:
        - ""
        resources:
        - persistentvolumeclaims
        verbs:
        - get
        - list
        - watch
      - apiGroups:
        - storage.k8s.io
        resources:
        - storageclasses
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/testing/testing.go

    	})
    
    	client.AddReactor("create", "persistentvolumeclaims", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		return reactor.React(ctx, action)
    	})
    	client.AddReactor("update", "persistentvolumes", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		return reactor.React(ctx, action)
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    			rbacv1helpers.NewRule("update", "patch").Groups(legacyGroup).Resources("persistentvolumeclaims/status").RuleOrDie(),
    			rbacv1helpers.NewRule("get", "list", "watch").Groups(legacyGroup).Resources("persistentvolumeclaims").RuleOrDie(),
    			// glusterfs
    			rbacv1helpers.NewRule("get", "list", "watch").Groups(storageGroup).Resources("storageclasses").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_pod_control.go

    	_, err := om.client.CoreV1().PersistentVolumeClaims(claim.Namespace).Create(context.TODO(), claim, metav1.CreateOptions{})
    	return err
    }
    
    func (om *realStatefulPodControlObjectManager) GetClaim(namespace, claimName string) (*v1.PersistentVolumeClaim, error) {
    	return om.claimLister.PersistentVolumeClaims(namespace).Get(claimName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    }
    
    // PreFilter invoked at the prefilter extension point
    //
    // # It finds the topology of the PersistentVolumes corresponding to the volumes a pod requests
    //
    // Currently, this is only supported with PersistentVolumeClaims,
    // and only looks for the bound PersistentVolume.
    func (pl *VolumeZone) PreFilter(ctx context.Context, cs *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. api/discovery/api__v1.json

          "singularName": "",
          "verbs": [
            "get",
            "patch",
            "update"
          ]
        },
        {
          "kind": "PersistentVolumeClaim",
          "name": "persistentvolumeclaims",
          "namespaced": true,
          "shortNames": [
            "pvc"
          ],
          "singularName": "persistentvolumeclaim",
          "storageVersionHash": "QWTyNDq0dC4=",
          "verbs": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go

    		return false, nil, nil
    	}
    }
    
    func TestPVCProtectionController(t *testing.T) {
    	pvcGVR := schema.GroupVersionResource{
    		Group:    v1.GroupName,
    		Version:  "v1",
    		Resource: "persistentvolumeclaims",
    	}
    	podGVR := schema.GroupVersionResource{
    		Group:    v1.GroupName,
    		Version:  "v1",
    		Resource: "pods",
    	}
    	podGVK := schema.GroupVersionKind{
    		Group:   v1.GroupName,
    		Version: "v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  10. pkg/scheduler/testing/framework/fake_listers.go

    	return nil, fmt.Errorf("not implemented")
    }
    
    // PersistentVolumeClaims returns a fake PersistentVolumeClaimLister object.
    func (pvcs PersistentVolumeClaimLister) PersistentVolumeClaims(namespace string) corelisters.PersistentVolumeClaimNamespaceLister {
    	ps := make([]*v1.PersistentVolumeClaim, len(pvcs))
    	for i := range pvcs {
    		ps[i] = &pvcs[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top