generated
This commit is contained in:
		| @@ -112,14 +112,6 @@ func (c *FakeNamespaces) Delete(name string, options *v1.DeleteOptions) error { | |||||||
| 	return err | 	return err | ||||||
| } | } | ||||||
|  |  | ||||||
| // DeleteCollection deletes a collection of objects. |  | ||||||
| func (c *FakeNamespaces) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { |  | ||||||
| 	action := testing.NewRootDeleteCollectionAction(namespacesResource, listOptions) |  | ||||||
|  |  | ||||||
| 	_, err := c.Fake.Invokes(action, &core_v1.NamespaceList{}) |  | ||||||
| 	return err |  | ||||||
| } |  | ||||||
|  |  | ||||||
| // Patch applies the patch and returns the patched namespace. | // Patch applies the patch and returns the patched namespace. | ||||||
| func (c *FakeNamespaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core_v1.Namespace, err error) { | func (c *FakeNamespaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core_v1.Namespace, err error) { | ||||||
| 	obj, err := c.Fake. | 	obj, err := c.Fake. | ||||||
|   | |||||||
| @@ -120,14 +120,6 @@ func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error { | |||||||
| 	return err | 	return err | ||||||
| } | } | ||||||
|  |  | ||||||
| // DeleteCollection deletes a collection of objects. |  | ||||||
| func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { |  | ||||||
| 	action := testing.NewDeleteCollectionAction(servicesResource, c.ns, listOptions) |  | ||||||
|  |  | ||||||
| 	_, err := c.Fake.Invokes(action, &core_v1.ServiceList{}) |  | ||||||
| 	return err |  | ||||||
| } |  | ||||||
|  |  | ||||||
| // Patch applies the patch and returns the patched service. | // Patch applies the patch and returns the patched service. | ||||||
| func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core_v1.Service, err error) { | func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core_v1.Service, err error) { | ||||||
| 	obj, err := c.Fake. | 	obj, err := c.Fake. | ||||||
|   | |||||||
| @@ -39,7 +39,6 @@ type NamespaceInterface interface { | |||||||
| 	Update(*v1.Namespace) (*v1.Namespace, error) | 	Update(*v1.Namespace) (*v1.Namespace, error) | ||||||
| 	UpdateStatus(*v1.Namespace) (*v1.Namespace, error) | 	UpdateStatus(*v1.Namespace) (*v1.Namespace, error) | ||||||
| 	Delete(name string, options *meta_v1.DeleteOptions) error | 	Delete(name string, options *meta_v1.DeleteOptions) error | ||||||
| 	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error |  | ||||||
| 	Get(name string, options meta_v1.GetOptions) (*v1.Namespace, error) | 	Get(name string, options meta_v1.GetOptions) (*v1.Namespace, error) | ||||||
| 	List(opts meta_v1.ListOptions) (*v1.NamespaceList, error) | 	List(opts meta_v1.ListOptions) (*v1.NamespaceList, error) | ||||||
| 	Watch(opts meta_v1.ListOptions) (watch.Interface, error) | 	Watch(opts meta_v1.ListOptions) (watch.Interface, error) | ||||||
| @@ -139,16 +138,6 @@ func (c *namespaces) Delete(name string, options *meta_v1.DeleteOptions) error { | |||||||
| 		Error() | 		Error() | ||||||
| } | } | ||||||
|  |  | ||||||
| // DeleteCollection deletes a collection of objects. |  | ||||||
| func (c *namespaces) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error { |  | ||||||
| 	return c.client.Delete(). |  | ||||||
| 		Resource("namespaces"). |  | ||||||
| 		VersionedParams(&listOptions, scheme.ParameterCodec). |  | ||||||
| 		Body(options). |  | ||||||
| 		Do(). |  | ||||||
| 		Error() |  | ||||||
| } |  | ||||||
|  |  | ||||||
| // Patch applies the patch and returns the patched namespace. | // Patch applies the patch and returns the patched namespace. | ||||||
| func (c *namespaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Namespace, err error) { | func (c *namespaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Namespace, err error) { | ||||||
| 	result = &v1.Namespace{} | 	result = &v1.Namespace{} | ||||||
|   | |||||||
| @@ -39,7 +39,6 @@ type ServiceInterface interface { | |||||||
| 	Update(*v1.Service) (*v1.Service, error) | 	Update(*v1.Service) (*v1.Service, error) | ||||||
| 	UpdateStatus(*v1.Service) (*v1.Service, error) | 	UpdateStatus(*v1.Service) (*v1.Service, error) | ||||||
| 	Delete(name string, options *meta_v1.DeleteOptions) error | 	Delete(name string, options *meta_v1.DeleteOptions) error | ||||||
| 	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error |  | ||||||
| 	Get(name string, options meta_v1.GetOptions) (*v1.Service, error) | 	Get(name string, options meta_v1.GetOptions) (*v1.Service, error) | ||||||
| 	List(opts meta_v1.ListOptions) (*v1.ServiceList, error) | 	List(opts meta_v1.ListOptions) (*v1.ServiceList, error) | ||||||
| 	Watch(opts meta_v1.ListOptions) (watch.Interface, error) | 	Watch(opts meta_v1.ListOptions) (watch.Interface, error) | ||||||
| @@ -148,17 +147,6 @@ func (c *services) Delete(name string, options *meta_v1.DeleteOptions) error { | |||||||
| 		Error() | 		Error() | ||||||
| } | } | ||||||
|  |  | ||||||
| // DeleteCollection deletes a collection of objects. |  | ||||||
| func (c *services) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error { |  | ||||||
| 	return c.client.Delete(). |  | ||||||
| 		Namespace(c.ns). |  | ||||||
| 		Resource("services"). |  | ||||||
| 		VersionedParams(&listOptions, scheme.ParameterCodec). |  | ||||||
| 		Body(options). |  | ||||||
| 		Do(). |  | ||||||
| 		Error() |  | ||||||
| } |  | ||||||
|  |  | ||||||
| // Patch applies the patch and returns the patched service. | // Patch applies the patch and returns the patched service. | ||||||
| func (c *services) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Service, err error) { | func (c *services) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Service, err error) { | ||||||
| 	result = &v1.Service{} | 	result = &v1.Service{} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Eads
					David Eads