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

Method Patch

rest/client.go:241–243  ·  view source on GitHub ↗

Patch begins a PATCH request. Short for c.Verb("Patch").

(pt types.PatchType)

Source from the content-addressed store, hash-verified

239
240// Patch begins a PATCH request. Short for c.Verb("Patch").
241func (c *RESTClient) Patch(pt types.PatchType) *Request {
242 return c.Verb("PATCH").SetHeader("Content-Type", string(pt))
243}
244
245// Get begins a GET request. Short for c.Verb("GET").
246func (c *RESTClient) Get() *Request {

Callers

nothing calls this directly

Calls 2

VerbMethod · 0.95
SetHeaderMethod · 0.80

Tested by

no test coverage detected