| 33 | ) |
| 34 | |
| 35 | type mockKeyVault struct { |
| 36 | KeyFunc func(ctx context.Context, label string) ([]byte, error) |
| 37 | ServerCertificateFunc func(ctx context.Context, label string) (tls.Certificate, error) |
| 38 | ClientCertificateFunc func(ctx context.Context, label string) (tls.Certificate, error) |
| 39 | } |
| 40 | |
| 41 | func (m *mockKeyVault) Key(ctx context.Context, label string) ([]byte, error) { |
| 42 | if m.KeyFunc == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected