(name string, checkoutRemote *v1alpha2.CheckoutFrom, remotes map[string]string, projectAttribute attributes.Attributes)
| 27 | ) |
| 28 | |
| 29 | func generateDummyGitStarterProject(name string, checkoutRemote *v1alpha2.CheckoutFrom, remotes map[string]string, projectAttribute attributes.Attributes) v1alpha2.StarterProject { |
| 30 | return v1alpha2.StarterProject{ |
| 31 | Attributes: projectAttribute, |
| 32 | Name: name, |
| 33 | ProjectSource: v1alpha2.ProjectSource{ |
| 34 | Git: &v1alpha2.GitProjectSource{ |
| 35 | GitLikeProjectSource: v1alpha2.GitLikeProjectSource{ |
| 36 | Remotes: remotes, |
| 37 | CheckoutFrom: checkoutRemote, |
| 38 | }, |
| 39 | }, |
| 40 | }, |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func generateDummyGitProject(name string, checkoutRemote *v1alpha2.CheckoutFrom, remotes map[string]string, projectAttribute attributes.Attributes) v1alpha2.Project { |
| 45 | return v1alpha2.Project{ |
no outgoing calls
no test coverage detected