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

Function deletePod

pkg/cache/cache_test.go:115–120  ·  view source on GitHub ↗
(ctx context.Context, pod client.Object)

Source from the content-addressed store, hash-verified

113}
114
115func deletePod(ctx context.Context, pod client.Object) {
116 cl, err := client.New(cfg, client.Options{})
117 Expect(err).NotTo(HaveOccurred())
118 err = cl.Delete(ctx, pod)
119 Expect(err).NotTo(HaveOccurred())
120}
121
122var _ = Describe("Informer Cache", func() {
123 CacheTest(cache.New, cache.Options{})

Callers 2

cache_test.goFile · 0.85
CacheTestFunction · 0.85

Calls 2

NewFunction · 0.92
DeleteMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…