Documentation ¶
Index ¶
- type File
- func (f *File) AllGroups(changeType config.ChangeType) []string
- func (f *File) AllUsers(changeType config.ChangeType) []string
- func (f *File) Channel(changeType config.ChangeType) string
- func (f *File) Groups(changeType config.ChangeType) []string
- func (f *File) ProcessTemplate(changeType config.ChangeType) (string, error)
- func (f *File) String() string
- func (f *File) Users(changeType config.ChangeType) []string
- type Loader
- type Merger
- type Notification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { PullRequest Notification `yaml:"pullRequest,omitempty"` Commit Notification `yaml:"commit,omitempty"` PrettyName []string `yaml:"prettyName,omitempty"` MessageTemplate string `yaml:"messageTemplate,omitempty"` // Parent is the notification file in the Parent directory. If there is none, it's an empty file. Parent *File `yaml:"-"` // This is used to allow us to merge the Parent with the child ChangedFile string `yaml:"-"` // Which files were changed that caused this notification file to be used }
func (*File) ProcessTemplate ¶
func (f *File) ProcessTemplate(changeType config.ChangeType) (string, error)
type Notification ¶
Click to show internal directories.
Click to hide internal directories.