Skip to content

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.

See !83 (comment 304376375)

This MR targets !83 (merged)

/cc @adamcohen @dsearles

Edited by Fabien Catteau

Merge request reports

Loading