Beispiel #1
0
func (c *RESTClient) Delete() *unversioned.Request {
	return unversioned.NewRequest(c, "DELETE", &url.URL{Host: "localhost"}, *testapi.Default.GroupVersion(), c.Codec, nil)
}
Beispiel #2
0
func (c *RESTClient) Patch(_ api.PatchType) *unversioned.Request {
	return unversioned.NewRequest(c, "PATCH", &url.URL{Host: "localhost"}, *testapi.Default.GroupVersion(), c.Codec, nil)
}