MCPcopy
hub / github.com/redspread/spread / testClearTypeInfo

Function testClearTypeInfo

pkg/input/dir/source_test.go:389–391  ·  view source on GitHub ↗
(obj deploy.KubeObject)

Source from the content-addressed store, hash-verified

387}
388
389func testClearTypeInfo(obj deploy.KubeObject) {
390 obj.GetObjectKind().SetGroupVersionKind(nil)
391}
392
393func testCompareEntity(t *testing.T, expected, actual entity.Entity) bool {
394 assert.Equal(t, expected.Source(), actual.Source(), "sources should match")

Callers 6

TestInputPodFunction · 0.85
TestInputRCAndPodFunction · 0.85
testWriteRandomObjectsFunction · 0.85
TestSourceObjectsKubeDirFunction · 0.85
TestSourceRCsFunction · 0.85
TestSourcePodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected