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

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

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