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