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

Struct noopCFDataClient

pkg/cachemanager/cachemanager.go:76–76  ·  view source on GitHub ↗

noopCFDataClient is a no-op implementation of CFDataClient used when no real client is provided.

Source from the content-addressed store, hash-verified

74// noopCFDataClient is a no-op implementation of CFDataClient used when no
75// real client is provided.
76type noopCFDataClient struct{}
77
78func (*noopCFDataClient) AddData(_ context.Context, _ interface{}) (*types.Responses, error) {
79 return &types.Responses{}, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected