示例#1
0
文件: fake.go 项目: jordic/k8s
func (c *RESTClient) Delete() *unversioned.Request {
	return unversioned.NewRequest(c, "DELETE", &url.URL{Host: "localhost"}, testapi.Default.Version(), c.Codec)
}
示例#2
0
文件: fake.go 项目: jordic/k8s
func (c *RESTClient) Patch(_ api.PatchType) *unversioned.Request {
	return unversioned.NewRequest(c, "PATCH", &url.URL{Host: "localhost"}, testapi.Default.Version(), c.Codec)
}