Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestClientAdapterEnabled (0.71 sec)

  1. pkg/features/client_adapter_test.go

    limitations under the License.
    */
    
    package features
    
    import (
    	"testing"
    
    	clientfeatures "k8s.io/client-go/features"
    	"k8s.io/component-base/featuregate"
    )
    
    func TestClientAdapterEnabled(t *testing.T) {
    	fg := featuregate.NewFeatureGate()
    	if err := fg.Add(map[featuregate.Feature]featuregate.FeatureSpec{
    		"Foo": {Default: true},
    	}); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 16 17:51:00 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top