Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trigger ¶
type Trigger struct { RouteManager TriggerRouteManager // contains filtered or unexported fields }
Trigger implements Trigger to support Triggers
func NewTrigger ¶
func NewTrigger(bnd trigger.ServiceBinding, mp trigger.MessageProcessor, trm TriggerRouteManager) *Trigger
func (*Trigger) Initialize ¶
func (trigger *Trigger) Initialize(_ *sync.WaitGroup, _ context.Context, background <-chan interfaces.BackgroundMessage) (bootstrap.Deferred, error)
Initialize initializes the Trigger for logging and REST route
type TriggerRequestReader ¶ added in v2.2.0
type TriggerRequestReader interface { io.ReadCloser }
type TriggerResponseWriter ¶ added in v2.2.0
type TriggerResponseWriter interface { http.ResponseWriter }
type TriggerRouteManager ¶ added in v2.2.0
type TriggerRouteManager interface {
SetupTriggerRoute(path string, handlerForTrigger func(http.ResponseWriter, *http.Request))
}
Click to show internal directories.
Click to hide internal directories.