MCPcopy Create free account
hub / github.com/kubernetes/sample-controller / getRef

Function getRef

controller_test.go:244–247  ·  view source on GitHub ↗
(foo *samplecontroller.Foo, t *testing.T)

Source from the content-addressed store, hash-verified

242}
243
244func getRef(foo *samplecontroller.Foo, t *testing.T) cache.ObjectName {
245 ref := cache.MetaObjectToName(foo)
246 return ref
247}
248
249func TestCreatesDeployment(t *testing.T) {
250 f := newFixture(t)

Callers 4

TestCreatesDeploymentFunction · 0.85
TestDoNothingFunction · 0.85
TestUpdateDeploymentFunction · 0.85
TestNotControlledByUsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…