MCPcopy
hub / github.com/kubernetes/client-go / setParam

Method setParam

rest/request.go:341–347  ·  view source on GitHub ↗
(paramName, value string)

Source from the content-addressed store, hash-verified

339}
340
341func (r *Request) setParam(paramName, value string) *Request {
342 if r.params == nil {
343 r.params = make(url.Values)
344 }
345 r.params[paramName] = append(r.params[paramName], value)
346 return r
347}
348
349func (r *Request) SetHeader(key string, values ...string) *Request {
350 if r.headers == nil {

Callers 2

ParamMethod · 0.95

Calls

no outgoing calls

Tested by 1