// Patch applies the patch and returns the patched dbRole.
Patch applies the patch and returns the patched dbRole.
// Patch applies the patch and returns the patched dbRole .
func (c *FakeDbRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DbRole, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewPatchSubresourceAction(dbrolesResource, c.ns, name, pt, data, subresources...), &v1alpha1.DbRole{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.DbRole), err
}
func ( c * FakeDbRoles ) Patch ( ctx context . Context , name string , pt types . PatchType , data [ ] byte , opts v1 . PatchOptions , subresources ... string ) ( result * v1alpha1 . DbRole , err error ) { obj , err := c . Fake . Invokes ( testing . NewPatchSubresourceAction ( dbrolesResource , c . ns , name , pt , data , subresources ... ) , & v1alpha1 . DbRole { } ) if obj == nil { return nil , err } return obj . ( * v1alpha1 . DbRole ) , err }
Patch applies the patch and returns the patched dbRole.
Patch applies the patch and returns the patched dbRole .