(resource schema.GroupResource, scale *autoscalingapi.Scale)
| 55 | } |
| 56 | |
| 57 | func (f *fakeNamespacedScaleClient) Update(resource schema.GroupResource, scale *autoscalingapi.Scale) (*autoscalingapi.Scale, error) { |
| 58 | obj, err := f.fake. |
| 59 | Invokes(testing.NewUpdateSubresourceAction(resource.WithVersion(""), f.namespace, "scale", scale), &autoscalingapi.Scale{}) |
| 60 | |
| 61 | if err != nil { |
| 62 | return nil, err |
| 63 | } |
| 64 | |
| 65 | return obj.(*autoscalingapi.Scale), err |
| 66 | |
| 67 | } |
nothing calls this directly
no test coverage detected