MCPcopy Create free account
hub / github.com/actiontech/dtle / BuildUrl

Function BuildUrl

api/handler/common.go:34–36  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

32}
33
34func BuildUrl(path string) string {
35 return "http://" + NomadHost + path
36}
37
38func InvokeApiWithKvData(method, uri string, args map[string]string, respStruct interface{}, header ...http.Header) (err error) {
39 var req *http.Request

Callers 15

findAllocationsFunction · 0.92
findJobsFromNomadFunction · 0.92
createOrUpdateJobFunction · 0.92
getJobDetailFromNomadFunction · 0.92
sentSignalToTaskFunction · 0.92
DeleteJobV2Function · 0.92
FindNomadNodesFunction · 0.92
GetNodeInfoFunction · 0.92
FindNodeListFunction · 0.92
ValidateJobV2Function · 0.92
UpdupJobFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected