MCPcopy Index your code
hub / github.com/redspread/spread / testRandomContainer

Function testRandomContainer

pkg/entity/container_test.go:165–169  ·  view source on GitHub ↗
(defaults kube.ObjectMeta, source string, objects []deploy.KubeObject)

Source from the content-addressed store, hash-verified

163}
164
165func testRandomContainer(defaults kube.ObjectMeta, source string, objects []deploy.KubeObject) *Container {
166 kubeContainer := testNewKubeContainer(randomString(10), randomString(15))
167 container, _ := NewContainer(kubeContainer, defaults, source, objects...)
168 return container
169}
170
171var (
172 testKubeContainerSourcegraph = kube.Container{

Callers

nothing calls this directly

Calls 3

testNewKubeContainerFunction · 0.85
NewContainerFunction · 0.85
randomStringFunction · 0.70

Tested by

no test coverage detected