summaryrefslogtreecommitdiff
path: root/generator/app.go
diff options
context:
space:
mode:
authorAaron Crickenberger <spiffxp@gmail.com>2018-01-10 12:49:04 -0800
committerAaron Crickenberger <spiffxp@gmail.com>2018-02-07 16:11:54 -0700
commit170a99a651b57791156cf62d61a013bc51ebc661 (patch)
treee20b77ed41ce877a350197544fb44faa81519d08 /generator/app.go
parentee9d051a206064f82eaf0210fc4497ebdb6714e2 (diff)
Add strawman implementation of subprojects
A subproject is a one-to-many mapping of a name to a list of OWNERS urls. This allows for a subproject to be a single repo (eg: helm), or a subproject to be a list of multiple subdirectories across one or more repos (eg: workloads api) SIG meetings dedicated to a single subproject moved down to subproject meetings
Diffstat (limited to 'generator/app.go')
-rw-r--r--generator/app.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/generator/app.go b/generator/app.go
index d2f9f6aa..c2d0d448 100644
--- a/generator/app.go
+++ b/generator/app.go
@@ -83,6 +83,14 @@ type GithubTeams struct {
Description string
}
+// Subproject represenst a specific subproject owned by the group
+type Subproject struct {
+ Name string
+ Description string
+ Owners []string
+ Meetings []Meeting
+}
+
// Group represents either a Special Interest Group (SIG) or a Working Group (WG)
type Group struct {
Name string
@@ -92,6 +100,7 @@ type Group struct {
Leads []Lead
Meetings []Meeting
Contact Contact
+ Subprojects []Subproject
}
// DirName returns the directory that a group's documentation will be