Don't export cacert.Bundle
What does this MR do?
Don't export the Bundle Go struct but expose cacert.Import(*cli.Context)
instead.
This changes forces the analyzer projects to use CLI flags to configure the import of the CA bundle. Also, everything that is related to CLI integration is moved to cacert.go
, whereas bundle.go
contains implementation details.
This MR targets !83 (merged)
/cc @adamcohen @dsearles
Edited by Fabien Catteau