Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 573 for apiall (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/resourceconfig/helpers.go

    			schema.GroupVersion{Group: gvr.Group, Version: runtime.APIVersionInternal})
    	}
    	return resourceEncodingConfig
    }
    
    // Recognized values for the --runtime-config parameter to enable/disable groups of APIs
    const (
    	APIAll   = "api/all"
    	APIGA    = "api/ga"
    	APIBeta  = "api/beta"
    	APIAlpha = "api/alpha"
    )
    
    var (
    	gaPattern    = regexp.MustCompile(`^v\d+$`)
    	betaPattern  = regexp.MustCompile(`^v\d+beta\d+$`)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/api_enablement.go

    	if s == nil {
    		return nil
    	}
    
    	errors := []error{}
    	if s.RuntimeConfig[resourceconfig.APIAll] == "false" && len(s.RuntimeConfig) == 1 {
    		// Do not allow only set api/all=false, in such case apiserver startup has no meaning.
    		return append(errors, fmt.Errorf("invalid key with only %v=false", resourceconfig.APIAll))
    	}
    
    	groups, err := resourceconfig.ParseGroups(s.RuntimeConfig)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 09:22:37 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/api_enablement_test.go

    			},
    			expectErr: "invalid key with only api/all=false",
    		},
    		{
    			name: "test when ConfigurationMap key is invalid",
    			testOptions: &APIEnablementOptions{
    				RuntimeConfig: cliflag.ConfigurationMap{"apiall": "false"},
    			},
    			expectErr: "runtime-config invalid key",
    		},
    		{
    			name: "test when unknown api groups",
    			testOptions: &APIEnablementOptions{
    				RuntimeConfig: cliflag.ConfigurationMap{"api/v1": "true"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 09 07:30:43 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection()));
        expectUnchanged();
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(n, nothing) should return false or throw",
              getList().addAll(0, emptyCollection()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_supportedNothing() {
        assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddAll_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(nothing) should return false or throw", collection.addAll(emptyCollection()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection()));
        expectUnchanged();
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(n, nothing) should return false or throw",
              getList().addAll(0, emptyCollection()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_supportedNothing() {
        assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddAll_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(nothing) should return false or throw", collection.addAll(emptyCollection()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/GradleInvocationSpec.groovy

            builder.distribution(gradleDistribution)
            builder.workingDirectory(workingDirectory)
            builder.tasksToRun.addAll(this.tasksToRun)
            builder.args.addAll(args)
            builder.jvmArguments.addAll(jvmArguments)
            builder.cleanTasks.addAll(cleanTasks)
            builder.useDaemon = useDaemon
            builder.useToolingApi = useToolingApi
            builder.expectFailure = expectFailure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java

        assertTrue(
            "addAll(allPresent) should return true", getList().addAll(MinimalCollection.of(e0())));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_unsupportedAllPresent() {
        try {
          getList().addAll(MinimalCollection.of(e0()));
          fail("addAll(allPresent) should throw");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInvocationSpec.groovy

                this.tasksToRun.addAll(Arrays.asList(taskToRun))
                this
            }
    
            InvocationBuilder tasksToRun(Iterable<String> taskToRun) {
                this.tasksToRun.addAll(taskToRun)
                this
            }
    
            InvocationBuilder jvmOpts(String... args) {
                this.jvmOpts.addAll(Arrays.asList(args))
                this
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top