Documentation ¶
Index ¶
- func CacheManagedNotifications()
- func CacheOpsSOP()
- func FindReferencingV4SOPs() map[string][]string
- func GetOpsSOPDir() string
- func GetOsdServiceLogTemplatesDir() string
- func GetRelativePathForManagedNotifications(filePath string) string
- func GetServiceLogTemplatesDir() string
- func WalkTemplates(processTemplate func(template *Template))
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheManagedNotifications ¶
func CacheManagedNotifications()
func CacheOpsSOP ¶
func CacheOpsSOP()
func FindReferencingV4SOPs ¶
func GetOpsSOPDir ¶
func GetOpsSOPDir() string
GetOpsSOPDir returns the directory to use to find Ops SOPs and returns empty string if there was an unlikely error
func GetOsdServiceLogTemplatesDir ¶
func GetOsdServiceLogTemplatesDir() string
GetOsdServiceLogTemplatesDir returns the directory to use to find templates for OSD and returns empty string if there was an unlikely error
func GetServiceLogTemplatesDir ¶
func GetServiceLogTemplatesDir() string
GetServiceLogTemplatesDir returns the directory to use to find all templates and returns empty string if there was an unlikely error
func WalkTemplates ¶
func WalkTemplates(processTemplate func(template *Template))
Types ¶
type Template ¶
type Template struct { Severity string `json:"severity"` ServiceName string `json:"service_name"` LogType string `json:"log_type,omitempty"` Summary string `json:"summary"` Desc string `json:"description"` InternalOnly bool `json:"internal_only"` EventStreamId string `json:"event_stream_id,omitempty"` DocReferences []string `json:"doc_references,omitempty"` Tags []string `json:"_tags,omitempty"` SourcePath string `json:"-"` }
func (*Template) GetVariables ¶
Click to show internal directories.
Click to hide internal directories.