Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler( repos core.RepositoryStore, builds core.BuildStore, link string, ) http.HandlerFunc
Handler returns an http.HandlerFunc that writes an svg status badge to the response.
Types ¶
type CCProject ¶
type CCProject struct {
XMLName xml.Name `xml:"Project"`
Name string `xml:"name,attr"`
Activity string `xml:"activity,attr"`
LastBuildStatus string `xml:"lastBuildStatus,attr"`
LastBuildLabel string `xml:"lastBuildLabel,attr"`
LastBuildTime string `xml:"lastBuildTime,attr"`
WebURL string `xml:"webUrl,attr"`
}
type CCProjects ¶
func New ¶
func New(r *core.Repository, b *core.Build, link string) *CCProjects
New creates a new CCProject from the Repository and Build details.
Click to show internal directories.
Click to hide internal directories.