Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidateEgressSelectorConfiguration (0.67 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/egressselector/config_test.go

    	for _, tc := range testcases {
    		t.Run(tc.name, func(t *testing.T) {
    			errs := ValidateEgressSelectorConfiguration(tc.contents)
    			if !tc.expectError && len(errs) != 0 {
    				t.Errorf("Calling ValidateEgressSelectorConfiguration expected no error, got %v", errs)
    			} else if tc.expectError && len(errs) == 0 {
    				t.Errorf("Calling ValidateEgressSelectorConfiguration expected error, got no error")
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/egressselector/config.go

    		// we got an error where the decode wasn't related to a missing type
    		return nil, err
    	}
    	return internalConfig, nil
    }
    
    // ValidateEgressSelectorConfiguration checks the apiserver.EgressSelectorConfiguration for
    // common configuration errors. It will return error for problems such as configuring mtls/cert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top