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

Method runExpectError

controller_test.go:116–118  ·  view source on GitHub ↗
(ctx context.Context, fooRef cache.ObjectName)

Source from the content-addressed store, hash-verified

114}
115
116func (f *fixture) runExpectError(ctx context.Context, fooRef cache.ObjectName) {
117 f.runController(ctx, fooRef, true, true)
118}
119
120func (f *fixture) runController(ctx context.Context, fooRef cache.ObjectName, startInformers bool, expectError bool) {
121 c, i, k8sI := f.newController(ctx)

Callers 1

TestNotControlledByUsFunction · 0.80

Calls 1

runControllerMethod · 0.95

Tested by

no test coverage detected