Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RefreshInterval int CSGroups CSGroups Hosts []Host SkipSSLValidation bool Templates *template.Template Protocol string Team string }
Config - configuration object for summary
func SetupConfig ¶
func SetupConfig(refreshInterval, groupsJSON, hostsJSON, skipSSLValidationString, teamName string) (*Config, error)
SetupConfig sets up a config object for summary, adding default values where appropriate
func (*Config) GroupSummary ¶
func (config *Config) GroupSummary(w http.ResponseWriter, r *http.Request)
GroupSummary renders and serves the group
func (*Config) HostSummary ¶
func (config *Config) HostSummary(w http.ResponseWriter, r *http.Request)
HostSummary renders and serves the host page
type Data ¶
type Data struct { Pipeline string Group string URL string `json:"pipeline_url"` Running bool Paused bool BrokenResource bool Statuses map[string]int }
Data concourse data structure
Click to show internal directories.
Click to hide internal directories.