Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotificationNotPresent error is caused when there isn't any notification present in the config ErrNotificationNotPresent = fmt.Errorf("no notification specified in the config") )
Functions ¶
func IsNotifierSupported ¶
IsNotifierSupported returns true/false depending on whether the notifier is supported in terrascan or not
func RegisterNotifier ¶
RegisterNotifier registers an notifier provider for terrascan
Types ¶
type Notifier ¶
Notifier defines the interface which every type of notification provider needs to implement to claim support in terrascan
func NewNotifier ¶
NewNotifier returns a new notifier
func NewNotifiers ¶
NewNotifiers returns a list of notifiers configured in the config file
Click to show internal directories.
Click to hide internal directories.