Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DoRaw (0.04 sec)

  1. cmd/kube-scheduler/app/options/options_test.go

    				return
    			}
    
    			// test the client talks to the endpoint we expect with the credentials we expect
    			username = ""
    			_, err = config.Client.Discovery().RESTClient().Get().AbsPath("/").DoRaw(context.TODO())
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			if username != tc.expectedUsername {
    				t.Errorf("expected server call with user %q, got %q", tc.expectedUsername, username)
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 30.3K bytes
    - Viewed (0)
Back to top