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

Method expectUpdateFooStatusAction

controller_test.go:239–242  ·  view source on GitHub ↗
(foo *samplecontroller.Foo)

Source from the content-addressed store, hash-verified

237}
238
239func (f *fixture) expectUpdateFooStatusAction(foo *samplecontroller.Foo) {
240 action := core.NewUpdateSubresourceAction(schema.GroupVersionResource{Resource: "foos"}, "status", foo.Namespace, foo)
241 f.actions = append(f.actions, action)
242}
243
244func getRef(foo *samplecontroller.Foo, t *testing.T) cache.ObjectName {
245 ref := cache.MetaObjectToName(foo)

Callers 3

TestCreatesDeploymentFunction · 0.80
TestDoNothingFunction · 0.80
TestUpdateDeploymentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected