Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtenderEvent ¶
type ExtenderEvent struct { ExtenderName ExtenderName EncapsulatedEvent interface{} }
type ExtenderName ¶
type ExtenderName string
type NotificationExtender ¶
type NotificationExtender interface { // SetNotifyChannel sets output channel for an extender's events, to notify when module state could be changed during the runtime SetNotifyChannel(context.Context, chan ExtenderEvent) }
type ResettableExtender ¶
type ResettableExtender interface {
// Reset resets the extender's cache
Reset()
}
Hail to enabled scripts
type TerminatingExtender ¶
type TerminatingExtender interface {
// Just a signature to match extenders
IsTerminator()
}
Type of extenders that can only disable an enabled module if some requirement isn't met. By design, it makes sense to run terminators in the end of filtering because terminators can't be overridden by other extenders. For example, enabled scripts extender.
Click to show internal directories.
Click to hide internal directories.