MCPcopy
hub / github.com/NVIDIA/aistore / AllocRp

Function AllocRp

api/client.go:106–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104)
105
106func AllocRp() *ReqParams {
107 if v := reqParamPool.Get(); v != nil {
108 return v.(*ReqParams)
109 }
110 return &ReqParams{}
111}
112
113func FreeRp(reqParams *ReqParams) {
114 *reqParams = reqParams0

Callers 15

AddUserFunction · 0.92
UpdateUserFunction · 0.92
DeleteUserFunction · 0.92
LoginUserFunction · 0.92
RegisterClusterFunction · 0.92
UpdateClusterFunction · 0.92
UnregisterClusterFunction · 0.92
GetRegisteredClustersFunction · 0.92
GetRoleFunction · 0.92
GetAllRolesFunction · 0.92
GetAllUsersFunction · 0.92
GetUserFunction · 0.92

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected