fakeProvider is an implementation of the certprovider.Provider interface which returns the configured key material and error in calls to KeyMaterial().
| 185 | // which returns the configured key material and error in calls to |
| 186 | // KeyMaterial(). |
| 187 | type fakeProvider struct { |
| 188 | km *certprovider.KeyMaterial |
| 189 | err error |
| 190 | } |
| 191 | |
| 192 | func (f *fakeProvider) KeyMaterial(context.Context) (*certprovider.KeyMaterial, error) { |
| 193 | return f.km, f.err |
nothing calls this directly
no outgoing calls
no test coverage detected