Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAPIEnablementOptionsValidate (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/api_enablement_test.go

    	cliflag "k8s.io/component-base/cli/flag"
    )
    
    type fakeGroupRegistry struct{}
    
    func (f fakeGroupRegistry) IsGroupRegistered(group string) bool {
    	return group == "apiregistration.k8s.io"
    }
    
    func TestAPIEnablementOptionsValidate(t *testing.T) {
    	testCases := []struct {
    		name        string
    		testOptions *APIEnablementOptions
    		expectErr   string
    	}{
    		{
    			name: "test when options is nil",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 09 07:30:43 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top