// Patch applies the patch and returns the patched networkTrafficShaper.
Patch applies the patch and returns the patched networkTrafficShaper.
// Patch applies the patch and returns the patched networkTrafficShaper .
func (c *FakeNetworkTrafficShapers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NetworkTrafficShaper, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewRootPatchSubresourceAction(networktrafficshapersResource, name, pt, data, subresources...), &v1alpha1.NetworkTrafficShaper{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v1alpha1.NetworkTrafficShaper), err
}
func ( c * FakeNetworkTrafficShapers ) Patch ( name string , pt types . PatchType , data [ ] byte , subresources ... string ) ( result * v1alpha1 . NetworkTrafficShaper , err error ) { obj , err := c . Fake . Invokes ( testing . NewRootPatchSubresourceAction ( networktrafficshapersResource , name , pt , data , subresources ... ) , & v1alpha1 . NetworkTrafficShaper { } ) if obj == nil { return nil , err } return obj . ( * v1alpha1 . NetworkTrafficShaper ) , err }
Patch applies the patch and returns the patched networkTrafficShaper.
Patch applies the patch and returns the patched networkTrafficShaper .