Documentation ¶
Index ¶
- func AddFlags(cmd *cobra.Command)
- func GetGithubAuthClient(ctx context.Context, cmd *cobra.Command) (*http.Client, error)
- type DiskOrgData
- type Milestones
- type OrgData
- func (orgData OrgData) CurrentVersion() (string, error)
- func (orgData OrgData) GetTeamByComponent(component, subcomponent string) *TeamInfo
- func (orgData OrgData) GetTeamName(bug *bugzilla.Bug) string
- func (orgData OrgData) GetTeamNames() []string
- func (orgData *OrgData) Reconcile()
- func (orgData *OrgData) Reconciler()
- type ReleaseInfo
- type TeamInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DiskOrgData ¶
type Milestones ¶
type OrgData ¶
type OrgData struct { OrgTitle string `json:"orgTitle,omitempty"` Teams map[string]TeamInfo `json:"teams,omitempty"` Releases map[string]ReleaseInfo `json:"releases,omitempty"` SLO map[string]sloAPI.Data `json:"slo,omitempty"` // contains filtered or unexported fields }
func (OrgData) CurrentVersion ¶
CurrentVersion returns the lowest x.y version that has a x.y.0 target.
func (OrgData) GetTeamByComponent ¶
func (OrgData) GetTeamNames ¶
func (*OrgData) Reconciler ¶
func (orgData *OrgData) Reconciler()
type ReleaseInfo ¶
type ReleaseInfo struct { Name string `json:"name,omitempty"` Targets []string `json:"targets,omitempty"` Milestones *Milestones `json:"milestones,omitempty"` }
type TeamInfo ¶
type TeamInfo struct { Name string `json:"name,omitempty"` SlackChan string `json:"slack_chan,omitempty"` Lead string `json:"lead,omitempty"` Managers []string `json:"managers,omitempty"` Group string `json:"group,omitempty"` Components []string `json:"components,omitempty"` Subcomponents map[string][]string `json:"subcomponents,omitempty"` MemberCount int `json:"memberCount,omitempty"` SLO map[string]sloAPI.Data `json:"slo,omitempty"` }
Click to show internal directories.
Click to hide internal directories.