MCPcopy Index your code
hub / github.com/containerd/containerd / Randomize

Function Randomize

integration/main_test.go:656–658  ·  view source on GitHub ↗

Randomize adds uuid after a string.

(str string)

Source from the content-addressed store, hash-verified

654
655// Randomize adds uuid after a string.
656func Randomize(str string) string {
657 return str + "-" + util.GenerateID()
658}
659
660// KillProcess kills the process by name. pkill is used.
661func KillProcess(name string, signal syscall.Signal) error {

Callers 2

PodSandboxConfigFunction · 0.85
TestImageLoadFunction · 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…