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

Function NewOrganizationRepo

app/controlplane/pkg/data/organization.go:38–43  ·  view source on GitHub ↗
(data *Data, logger log.Logger)

Source from the content-addressed store, hash-verified

36}
37
38func NewOrganizationRepo(data *Data, logger log.Logger) biz.OrganizationRepo {
39 return &OrganizationRepo{
40 data: data,
41 log: log.NewHelper(logger),
42 }
43}
44
45func (r *OrganizationRepo) Create(ctx context.Context, name string) (*biz.Organization, error) {
46 ctx, span := otelx.Start(ctx, organizationRepoTracer, "OrganizationRepo.Create")

Callers 2

WireTestDataFunction · 0.92
wireAppFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected