MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / NewGroupRepo

Function NewGroupRepo

app/controlplane/pkg/data/group.go:52–57  ·  view source on GitHub ↗
(data *Data, logger log.Logger)

Source from the content-addressed store, hash-verified

50}
51
52func NewGroupRepo(data *Data, logger log.Logger) biz.GroupRepo {
53 return &GroupRepo{
54 data: data,
55 log: log.NewHelper(logger),
56 }
57}
58
59func (g GroupRepo) List(ctx context.Context, orgID uuid.UUID, filterOpts *biz.ListGroupOpts, paginationOpts *pagination.OffsetPaginationOpts) ([]*biz.Group, int, error) {
60 ctx, span := otelx.Start(ctx, groupRepoTracer, "GroupRepo.List")

Callers 2

WireTestDataFunction · 0.92
wireAppFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected