MCPcopy Create free account
hub / github.com/bytebase/bytebase / NewProject

Function NewProject

backend/component/webhook/event.go:36–42  ·  view source on GitHub ↗
(p *store.ProjectMessage)

Source from the content-addressed store, hash-verified

34}
35
36func NewProject(p *store.ProjectMessage) *Project {
37 return &Project{
38 ResourceID: p.ResourceID,
39 Workspace: p.Workspace,
40 Title: p.Title,
41 }
42}
43
44func NewRollout(r *store.PlanMessage) *Rollout {
45 return &Rollout{

Callers 8

NotifyApprovalRequestedFunction · 0.92
NotifyIssueApprovedFunction · 0.92
failTaskRunsForHAMethod · 0.92
checkPlanCompletionMethod · 0.92
runTaskRunOnceMethod · 0.92
postCreateIssueFunction · 0.92
RejectIssueMethod · 0.92
TestNewProjectFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestNewProjectFunction · 0.68