Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 151 for partitioned (0.31 sec)

  1. pkg/apis/apps/v1beta2/defaults_test.go

    					UpdateStrategy: appsv1beta2.StatefulSetUpdateStrategy{
    						Type: appsv1beta2.RollingUpdateStatefulSetStrategyType,
    						RollingUpdate: &appsv1beta2.RollingUpdateStatefulSetStrategy{
    							Partition: &defaultPartition,
    						},
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    				},
    			},
    		},
    		{
    			name: "Alternate update strategy",
    			original: &appsv1beta2.StatefulSet{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1beta1/defaults_test.go

    				Spec: appsv1beta1.StatefulSetSpec{
    					Template: defaultTemplate,
    					UpdateStrategy: appsv1beta1.StatefulSetUpdateStrategy{
    						RollingUpdate: &appsv1beta1.RollingUpdateStatefulSetStrategy{
    							Partition:      &defaultPartition,
    							MaxUnavailable: ptr.To(intstr.FromInt32(1)),
    						},
    					},
    				},
    			},
    			expected: &appsv1beta1.StatefulSet{
    				Spec: appsv1beta1.StatefulSetSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

        }
    
        def "partitioning"() {
            when:
            def pair = partition([1, 2, 3], { it % 2 == 0 })
    
            then:
            pair.left == [2]
            pair.right == [1, 3]
        }
    
        def "partitioning empty collection"() {
            when:
            def pair = partition([], { it })
    
            then:
            pair.left == []
            pair.right == []
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/util/util_test.go

    						{
    							Name: migratedVolume,
    							VolumeSource: v1.VolumeSource{
    								GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    									PDName:    "test-disk",
    									FSType:    "ext4",
    									Partition: 0,
    									ReadOnly:  false,
    								},
    							},
    						},
    					},
    				},
    			},
    			wantPersistentVolume: &v1.PersistentVolume{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. operator/pkg/helmreconciler/wait.go

    			var partition int
    			// default replicas for sts is 1
    			replicas := 1
    			// the rollingUpdate field can be nil even if the update strategy is a rolling update.
    			if sts.Spec.UpdateStrategy.RollingUpdate != nil &&
    				sts.Spec.UpdateStrategy.RollingUpdate.Partition != nil {
    				partition = int(*sts.Spec.UpdateStrategy.RollingUpdate.Partition)
    			}
    			if sts.Spec.Replicas != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. pkg/apis/apps/v1/conversion_test.go

    		}
    	}
    }
    
    func TestV1StatefulSetUpdateStrategyConversion(t *testing.T) {
    	partition := utilpointer.Int32(2)
    	appsv1rollingUpdate := new(appsv1.RollingUpdateStatefulSetStrategy)
    	appsv1rollingUpdate.Partition = partition
    	appsrollingUpdate := new(apps.RollingUpdateStatefulSetStrategy)
    	appsrollingUpdate.Partition = *partition
    	testcases := map[string]struct {
    		stsUpdateStrategy1 *apps.StatefulSetUpdateStrategy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  7. pkg/apis/apps/v1beta2/conversion_test.go

    		}
    	}
    }
    
    func TestV1beta2StatefulSetUpdateStrategyConversion(t *testing.T) {
    	partition := utilpointer.Int32(2)
    	v1beta2rollingUpdate := new(v1beta2.RollingUpdateStatefulSetStrategy)
    	v1beta2rollingUpdate.Partition = partition
    	appsrollingUpdate := new(apps.RollingUpdateStatefulSetStrategy)
    	appsrollingUpdate.Partition = *partition
    	testcases := map[string]struct {
    		stsUpdateStrategy1 *apps.StatefulSetUpdateStrategy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.yaml

            topologyKey: topologyKeyValue
            whenUnsatisfiable: whenUnsatisfiableValue
          volumes:
          - awsElasticBlockStore:
              fsType: fsTypeValue
              partition: 3
              readOnly: true
              volumeID: volumeIDValue
            azureDisk:
              cachingMode: cachingModeValue
              diskName: diskNameValue
              diskURI: diskURIValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Lists.java

       */
      public static <T extends @Nullable Object> List<List<T>> partition(List<T> list, int size) {
        checkNotNull(list);
        checkArgument(size > 0);
        return (list instanceof RandomAccess)
            ? new RandomAccessPartition<>(list, size)
            : new Partition<>(list, size);
      }
    
      private static class Partition<T extends @Nullable Object> extends AbstractList<List<T>> {
        final List<T> list;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.StatefulSet.yaml

            topologyKey: topologyKeyValue
            whenUnsatisfiable: whenUnsatisfiableValue
          volumes:
          - awsElasticBlockStore:
              fsType: fsTypeValue
              partition: 3
              readOnly: true
              volumeID: volumeIDValue
            azureDisk:
              cachingMode: cachingModeValue
              diskName: diskNameValue
              diskURI: diskURIValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top