func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *tsuru_v1.App, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewPatchSubresourceAction(appsResource, c.ns, name, data, subresources...), &tsuru_v1.App{})

	if obj == nil {
		return nil, err
	}
	return obj.(*tsuru_v1.App), err
}
func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *tsuru_v1.App, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewPatchSubresourceAction(appsResource, c.ns, name, data, subresources...), &tsuru_v1.App{})

	if obj == nil {
		return nil, err
	}
	return obj.(*tsuru_v1.App), err
}
func ( c * FakeApps ) Patch ( name string , pt types . PatchType , data [ ] byte , subresources ... string ) ( result * tsuru_v1 . App , err error ) { obj , err := c . Fake . Invokes ( testing . NewPatchSubresourceAction ( appsResource , c . ns , name , data , subresources ... ) , & tsuru_v1 . App { } ) if obj == nil { return nil , err } return obj . ( * tsuru_v1 . App ) , err }
// Patch applies the patch and returns the patched app.
Patch applies the patch and returns the patched app .