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

Function WithOrgID

app/controlplane/pkg/auditor/logentry.go:214–219  ·  view source on GitHub ↗
(orgID uuid.UUID)

Source from the content-addressed store, hash-verified

212}
213
214func WithOrgID(orgID uuid.UUID) GeneratorOption {
215 return func(a *GeneratorOptions) error {
216 a.OrgID = &orgID
217 return nil
218 }
219}
220
221// digest generates a hash of the log entry
222// that can be used to detect duplicates

Callers 11

DispatchMethod · 0.92
TestCASBackendEventsFunction · 0.92
TestUserEventsFunction · 0.92
TestOrganizationEventsFunction · 0.92
TestGroupEventsFunction · 0.92
TestCASArtifactEventsFunction · 0.92
TestProjectEventsFunction · 0.92
TestWorkflowEventsFunction · 0.92
TestAPITokenEventsFunction · 0.92
DispatchMethod · 0.92

Calls

no outgoing calls

Tested by 9

TestCASBackendEventsFunction · 0.74
TestUserEventsFunction · 0.74
TestOrganizationEventsFunction · 0.74
TestGroupEventsFunction · 0.74
TestCASArtifactEventsFunction · 0.74
TestProjectEventsFunction · 0.74
TestWorkflowEventsFunction · 0.74
TestAPITokenEventsFunction · 0.74