Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalogue ¶
type Config ¶
type Config struct {
Teams []TeamConfig `yaml:"teams"`
}
type OnCallConfig ¶
type ServiceConfig ¶
type ServiceConfig struct { Name string `yaml:"name"` Description string `yaml:"description"` Url string `yaml:"url"` DashboardUrl string `yaml:"dashboard_url"` DocumentationUrl string `yaml:"documentation_url"` SourceCodeUrl string `yaml:"source_code_url"` ImChannelUrl string `yaml:"im_channel_url"` }
type Team ¶
type Team struct { Id string Name string Email string IMChannelURL string DashboardURL string DocumentationURL string Services []Service OnCall OnCall }
func LoadFromFile ¶
type TeamConfig ¶
type TeamConfig struct { Name string `yaml:"name"` Email string `yaml:"email,omitempty"` IMChannelURL string `yaml:"im_channel_url,omitempty"` DocumentationURL string `yaml:"documentation_url,omitempty"` DashboardURL string `yaml:"dashboard_url,omitempty"` Services []ServiceConfig `yaml:"managed_services"` OnCall *OnCallConfig `yaml:"on_call,omitempty"` }
Click to show internal directories.
Click to hide internal directories.