MCPcopy
hub / github.com/kubernetes-sigs/controller-runtime / createPod

Function createPod

pkg/cache/cache_test.go:111–113  ·  view source on GitHub ↗
(ctx context.Context, name, namespace string, restartPolicy corev1.RestartPolicy)

Source from the content-addressed store, hash-verified

109}
110
111func createPod(ctx context.Context, name, namespace string, restartPolicy corev1.RestartPolicy) client.Object {
112 return createPodWithLabels(ctx, name, namespace, restartPolicy, nil)
113}
114
115func deletePod(ctx context.Context, pod client.Object) {
116 cl, err := client.New(cfg, client.Options{})

Callers 2

cache_test.goFile · 0.85
CacheTestFunction · 0.85

Calls 1

createPodWithLabelsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…