Skip to content

Commit f905190

Browse files
committed
client-go certificate: context-aware APIs and logging
For NewManager, the Config struct gets changed (not extended!) so that the caller can provide a logger instead of just a logging function. Breaking the API was chosen because it avoids having to maintain two different log calls in various places (one for printf-style logging, one for structured logging). RequestCertificateWithContext is an extension. It enables getting rid of context.TODO calls. NewFileStoreWithLogger also is an extension.
1 parent 29101e9 commit f905190

File tree

5 files changed

+298
-106
lines changed

5 files changed

+298
-106
lines changed

0 commit comments

Comments
 (0)