Expand description
caproni ca: manage the Caproni Dev CA certificate.
Port of Go’s cmd/ca package (trust, untrust, inspect).
Structs§
Enums§
Functions§
- load_
config - Port of
ca.loadConfig: loads the config and resolves the cluster DNS domain when the cluster is running; the returnedOption<ResolveError>says why it was not asked, if it was not. - run
- run_
inspect - Port of
ca.runInspect: never regenerates the CA — a stale CA is reported, not cured. - run_
inspect_ with_ connector - Parameterized over
connect; seeload_config’s doc comment for why. Tests inject a fakeConnectorto exercise the domain-read-from-a-running-cluster path without a live cluster.