(ctx context.Context, clusterId string, clientDriver gateway.IClientDriver)
| 64 | } |
| 65 | |
| 66 | func (m *imlCertificate) initGateway(ctx context.Context, clusterId string, clientDriver gateway.IClientDriver) error { |
| 67 | certificateClient, err := clientDriver.Dynamic("certificate") |
| 68 | if err != nil { |
| 69 | return err |
| 70 | } |
| 71 | certs, err := m.getCertificates(ctx, clusterId) |
| 72 | if err != nil { |
| 73 | return err |
| 74 | } |
| 75 | return certificateClient.Online(ctx, certs...) |
| 76 | } |
| 77 | |
| 78 | func (m *imlCertificate) save(ctx context.Context, id string, clusterId string, create *certificatedto.FileInput) (*certificatedto.Certificate, error) { |
| 79 |
nothing calls this directly
no test coverage detected