MCPcopy Index your code
hub / github.com/kubernetes/sample-controller / expectUpdateDeploymentAction

Method expectUpdateDeploymentAction

controller_test.go:235–237  ·  view source on GitHub ↗
(d *apps.Deployment)

Source from the content-addressed store, hash-verified

233}
234
235func (f *fixture) expectUpdateDeploymentAction(d *apps.Deployment) {
236 f.kubeactions = append(f.kubeactions, core.NewUpdateAction(schema.GroupVersionResource{Resource: "deployments"}, d.Namespace, d))
237}
238
239func (f *fixture) expectUpdateFooStatusAction(foo *samplecontroller.Foo) {
240 action := core.NewUpdateSubresourceAction(schema.GroupVersionResource{Resource: "foos"}, "status", foo.Namespace, foo)

Callers 1

TestUpdateDeploymentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected