MCPcopy
hub / github.com/harness/harness / delete

Method delete

client/client.go:166–168  ·  view source on GitHub ↗

helper function for making an http DELETE request.

(ctx context.Context, rawurl string)

Source from the content-addressed store, hash-verified

164
165// helper function for making an http DELETE request.
166func (c *HTTPClient) delete(ctx context.Context, rawurl string) error {
167 return c.do(ctx, rawurl, "DELETE", false, nil, nil)
168}
169
170// helper function to make an http request.
171func (c *HTTPClient) do(ctx context.Context, rawurl, method string, noToken bool, in, out interface{}) error {

Callers 14

UserDeleteMethod · 0.95
handleInfraTabChangeFunction · 0.80
unregisterIconFunction · 0.80
DiffViewerInternalFunction · 0.80
usePullReqCommentsFunction · 0.80
CommentsThreadFunction · 0.80
MultiMapFunction · 0.80
MultiListFunction · 0.80
removeElementFromSetFunction · 0.80
deregisterStepFunction · 0.80

Calls 1

doMethod · 0.95

Tested by

no test coverage detected