MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / List

Method List

module/certificate/impl.go:186–193  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

184 })
185}
186func (m *imlCertificate) List(ctx context.Context) ([]*certificatedto.Certificate, error) {
187 certs, err := m.service.List(ctx, cluster.DefaultClusterID)
188 if err != nil {
189 return nil, err
190 }
191 outList := utils.SliceToSlice(certs, certificatedto.FromModel)
192 return outList, nil
193}
194
195func (m *imlCertificate) Detail(ctx context.Context, id string) (*certificatedto.Certificate, *certificatedto.File, error) {
196 get, f, err := m.service.Get(ctx, id)

Callers

nothing calls this directly

Calls 1

ListMethod · 0.65

Tested by

no test coverage detected