(resource schema.GroupResource, name string)
| 44 | } |
| 45 | |
| 46 | func (f *fakeNamespacedScaleClient) Get(resource schema.GroupResource, name string) (*autoscalingapi.Scale, error) { |
| 47 | obj, err := f.fake. |
| 48 | Invokes(testing.NewGetSubresourceAction(resource.WithVersion(""), f.namespace, "scale", name), &autoscalingapi.Scale{}) |
| 49 | |
| 50 | if err != nil { |
| 51 | return nil, err |
| 52 | } |
| 53 | |
| 54 | return obj.(*autoscalingapi.Scale), err |
| 55 | } |
| 56 | |
| 57 | func (f *fakeNamespacedScaleClient) Update(resource schema.GroupResource, scale *autoscalingapi.Scale) (*autoscalingapi.Scale, error) { |
| 58 | obj, err := f.fake. |
nothing calls this directly
no test coverage detected