Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FeatureName (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker_test.go

    	tests := []struct {
    		testName       string
    		featureName    string
    		expectedResult bool
    	}{
    		{
    			testName:    "Disabled - with unknown feature",
    			featureName: "some unknown feature",
    		},
    		{
    			testName:    "Disabled - with empty feature",
    			featureName: "",
    		},
    		{
    			testName:       "Disabled - default",
    			featureName:    storage.RequestWatchProgress,
    			expectedResult: false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/features/features.go

    func Enabled(featureList map[string]bool, featureName string) bool {
    	if enabled, ok := featureList[featureName]; ok {
    		return enabled
    	}
    	return InitFeatureGates[featureName].Default
    }
    
    // Supports indicates whether a feature name is supported on the given
    // feature set
    func Supports(featureList FeatureList, featureName string) bool {
    	for k := range featureList {
    		if featureName == k {
    			return true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 13:55:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenJavaModule.groovy

        }
    
        @Override
        void assertPublished() {
            assertPublished(null, "jar")
        }
    
        static String variantName(String featureName, String baseName) {
            if (featureName == MAIN_FEATURE) {
                baseName
            } else {
                featureName + 'SourceSet' + baseName.capitalize()
            }
        }
    
        private static String featurePrefix(String feature) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/feature/feature_gate.go

    	// Tests that need to modify feature gates for the duration of their test should use:
    	//   featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.<FeatureName>, <value>)
    	DefaultMutableFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate()
    
    	// DefaultFeatureGate is a shared global FeatureGate.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. hack/verify-test-featuregates.sh

      echo "${direct_sets}" >&2
      echo >&2
      echo "Use this invocation instead:" >&2
      echo "  featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.<FeatureName>, <value>)" >&2
      echo >&2
      rc=1
    fi
    
    
    # ensure all generic features are added in alphabetic order
    lines=$(git grep 'genericfeatures[.].*:' -- pkg/features/kube_features.go)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. cluster/gce/windows/k8s-node-setup.psm1

    function Test-HyperVFeatureEnabled {
      return ((Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V).State -eq 'Enabled')
    }
    
    # After this function returns, the computer must be restarted to complete
    # the installation!
    function Enable-HyperVFeature {
      Log-Output "Enabling Windows 'HyperV' feature"
      Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
Back to top