MCPcopy
hub / github.com/kubernetes/client-go / Update

Method Update

scale/fake/client.go:57–67  ·  view source on GitHub ↗
(resource schema.GroupResource, scale *autoscalingapi.Scale)

Source from the content-addressed store, hash-verified

55}
56
57func (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}

Callers

nothing calls this directly

Calls 2

InvokesMethod · 0.80

Tested by

no test coverage detected