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

Method Len

pkg/entity/pod.go:182–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180type containers []*Container
181
182func (c containers) Len() int {
183 return len(c)
184}
185
186func (c containers) Swap(i, j int) {
187 c[i], c[j] = c[j], c[i]

Callers 15

TestNonInitImageFunction · 0.45
TestSourceObjectsKubeDirFunction · 0.45
TestSourceEntitiesNoFileFunction · 0.45
TestSourceRCsFunction · 0.45
TestSourcePodsFunction · 0.45
TestSourceContainersDirFunction · 0.45
testCompareEntityFunction · 0.45
TestImageImagesFunction · 0.45
TestImageKubeFunction · 0.45
TestImageChildrenFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestNonInitImageFunction · 0.36
TestSourceObjectsKubeDirFunction · 0.36
TestSourceEntitiesNoFileFunction · 0.36
TestSourceRCsFunction · 0.36
TestSourcePodsFunction · 0.36
TestSourceContainersDirFunction · 0.36
testCompareEntityFunction · 0.36
TestImageImagesFunction · 0.36
TestImageKubeFunction · 0.36
TestImageChildrenFunction · 0.36