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

Method Review

pkg/gator/client.go:32–32  ·  view source on GitHub ↗

Review runs all Constraints against obj.

(ctx context.Context, obj interface{}, opts ...reviews.ReviewOpt)

Source from the content-addressed store, hash-verified

30
31 // Review runs all Constraints against obj.
32 Review(ctx context.Context, obj interface{}, opts ...reviews.ReviewOpt) (*types.Responses, error)
33}

Callers 10

TestReconcileFunction · 0.95
TestFunction · 0.95
auditFromCacheMethod · 0.80
reviewObjectsMethod · 0.80
runReviewMethod · 0.80
runBenchmarkFunction · 0.80
runSequentialBenchmarkFunction · 0.80
runConcurrentBenchmarkFunction · 0.80
reviewMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestReconcileFunction · 0.76
TestFunction · 0.76