Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for podMounts (0.15 sec)

  1. pkg/controller/statefulset/stateful_set_utils_test.go

    func newStatefulSetWithVolumes(replicas int32, name string, petMounts []v1.VolumeMount, podMounts []v1.VolumeMount) *apps.StatefulSet {
    	mounts := append(petMounts, podMounts...)
    	claims := []v1.PersistentVolumeClaim{}
    	for _, m := range petMounts {
    		claims = append(claims, newPVC(m.Name))
    	}
    
    	vols := []v1.Volume{}
    	for _, m := range podMounts {
    		vols = append(vols, v1.Volume{
    			Name: m.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption_test.go

    func TestMultipleControllers(t *testing.T) {
    	const podCount = 2
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    
    	pdb, pdbName := newMinAvailablePodDisruptionBudget(t, intstr.FromString("1%"))
    	add(t, dc.pdbStore, pdb)
    
    	pods := []*v1.Pod{}
    	for i := 0; i < podCount; i++ {
    		pod, _ := newPod(t, fmt.Sprintf("pod %d", i))
    		pods = append(pods, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		validation(t, 1, 1)
    	}
    }
    
    func RunTestListPaginationRareObject(ctx context.Context, t *testing.T, store storage.Interface, validation CallsValidation) {
    	podCount := 1000
    	var pods []*example.Pod
    	for i := 0; i < podCount; i++ {
    		obj := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("pod-%d", i)}}
    		key := computePodKey(obj)
    		storedObj := &example.Pod{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MapMakerInternalMap.java

         */
        volatile int count;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
         * computing size or checking containsValue, then we might have an inconsistent view of state so
         * (usually) must retry.
         */
        int modCount;
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         */
        volatile int count;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
         * computing size or checking containsValue, then we might have an inconsistent view of state so
         * (usually) must retry.
         */
        int modCount;
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top