(operatorConfig OperatorConfig, endpoint string, qParams ...map[string]string)
| 72 | } |
| 73 | |
| 74 | func HTTPPostNoBody(operatorConfig OperatorConfig, endpoint string, qParams ...map[string]string) ([]byte, error) { |
| 75 | req, err := operatorRequest(operatorConfig, http.MethodPost, endpoint, nil, qParams...) |
| 76 | if err != nil { |
| 77 | return nil, err |
| 78 | } |
| 79 | return makeOperatorRequest(operatorConfig, req) |
| 80 | } |
| 81 | |
| 82 | func HTTPDelete(operatorConfig OperatorConfig, endpoint string, qParams ...map[string]string) ([]byte, error) { |
| 83 | req, err := operatorRequest(operatorConfig, http.MethodDelete, endpoint, nil, qParams...) |
no test coverage detected