MCPcopy
hub / github.com/open-policy-agent/gatekeeper / RemoveData

Method RemoveData

pkg/cachemanager/cachemanager.go:71–71  ·  view source on GitHub ↗
(ctx context.Context, data interface{})

Source from the content-addressed store, hash-verified

69type CFDataClient interface {
70 AddData(ctx context.Context, data interface{}) (*types.Responses, error)
71 RemoveData(ctx context.Context, data interface{}) (*types.Responses, error)
72}
73
74// noopCFDataClient is a no-op implementation of CFDataClient used when no

Callers 2

RemoveObjectMethod · 0.65
wipeDataMethod · 0.65

Implementers 3

FakeCfClientpkg/fakes/fakecfdataclient.go
Driverpkg/drivers/k8scel/driver.go
noopCFDataClientpkg/cachemanager/cachemanager.go

Calls

no outgoing calls

Tested by

no test coverage detected