Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for clientgofeaturegate (0.24 sec)

  1. cmd/kube-controller-manager/app/storageversionmigrator.go

    	controllerContext ControllerContext,
    	controllerName string,
    ) (controller.Interface, bool, error) {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.StorageVersionMigrator) ||
    		!clientgofeaturegate.FeatureGates().Enabled(clientgofeaturegate.InformerResourceVersion) {
    		return nil, false, nil
    	}
    
    	if !controllerContext.ComponentConfig.GarbageCollectorController.EnableGarbageCollector {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/options/options_test.go

    	args := []string{fmt.Sprintf("--feature-gates=%v=true", clientgofeaturegate.WatchListClient)}
    	if err := fs.Parse(args); err != nil {
    		t.Fatal(err)
    	}
    
    	watchListClientValue := clientgofeaturegate.FeatureGates().Enabled(clientgofeaturegate.WatchListClient)
    	if !watchListClientValue {
    		t.Fatalf("expected %q feature gate to be enabled after setting the command line flag", clientgofeaturegate.WatchListClient)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top