MCPcopy Index your code
hub / github.com/cortexlabs/cortex / HTTPDelete

Function HTTPDelete

cli/cluster/lib_http_client.go:82–88  ·  view source on GitHub ↗
(operatorConfig OperatorConfig, endpoint string, qParams ...map[string]string)

Source from the content-addressed store, hash-verified

80}
81
82func HTTPDelete(operatorConfig OperatorConfig, endpoint string, qParams ...map[string]string) ([]byte, error) {
83 req, err := operatorRequest(operatorConfig, http.MethodDelete, endpoint, nil, qParams...)
84 if err != nil {
85 return nil, err
86 }
87 return makeOperatorRequest(operatorConfig, req)
88}
89
90type HTTPUploadInput struct {
91 FilePaths map[string]string

Callers 2

DeleteFunction · 0.85
StopJobFunction · 0.85

Calls 2

operatorRequestFunction · 0.85
makeOperatorRequestFunction · 0.85

Tested by

no test coverage detected