(ctx context.Context, drv *ui.Driver, orgAPID, realmAPID string)
| 247 | } |
| 248 | |
| 249 | func (c Bootstrap) performAudit(ctx context.Context, drv *ui.Driver, orgAPID, realmAPID string) (*truststore.AuditInfo, error) { |
| 250 | stores, err := trust.LoadStores(ctx, drv) |
| 251 | if err != nil { |
| 252 | return nil, err |
| 253 | } |
| 254 | |
| 255 | cas, err := trust.FetchExpectedCAs(ctx, c.anc, orgAPID, realmAPID) |
| 256 | if err != nil { |
| 257 | return nil, err |
| 258 | } |
| 259 | |
| 260 | return trust.PerformAudit(ctx, stores, cas) |
| 261 | } |
| 262 | |
| 263 | func (c Bootstrap) checkHTTP(ctx context.Context, cfg *cli.Config, drv *ui.Driver, srv *api.Service, diagPort string, requestc <-chan string) (bool, error) { |
| 264 | domain := srv.Slug + ".lcl.host" // TODO: look this up properly |
no test coverage detected