Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildAdminRequest (0.07 sec)

  1. cmd/admin-handlers_test.go

    	wg.Wait()
    }
    
    // Test for service restart management REST API.
    func TestServiceRestartHandler(t *testing.T) {
    	testServicesCmdHandler(restartCmd, t)
    }
    
    // buildAdminRequest - helper function to build an admin API request.
    func buildAdminRequest(queryVal url.Values, method, path string,
    	contentLength int64, bodySeeker io.ReadSeeker) (*http.Request, error,
    ) {
    	req, err := newTestRequest(method,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top