MCPcopy
hub / github.com/dapr/dapr / Fake

Struct Fake

pkg/sentry/server/validator/fake/fake.go:26–29  ·  view source on GitHub ↗

Fake implements the validator.Interface. It is used in tests.

Source from the content-addressed store, hash-verified

24
25// Fake implements the validator.Interface. It is used in tests.
26type Fake struct {
27 validateFn func(context.Context, *sentryv1pb.SignCertificateRequest) (validator.ValidateResult, error)
28 startFn func(context.Context) error
29}
30
31func New() *Fake {
32 return &Fake{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected