Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnAdd ¶
type ConnAdd struct {
Channel schedulerv1pb.Scheduler_WatchJobsServer
Request *schedulerv1pb.WatchJobsRequestInitial
Cancel context.CancelCauseFunc
}
ConnAdd is the event for adding a new connection to the scheduler.
type ConnCloseStream ¶
ConnCloseStream is the event for closing a connection to the scheduler from the stream.
type StreamShutdown ¶
type StreamShutdown struct{}
StreamShutdown is the event for shutting down the scheduler stream.
type TriggerRequest ¶
type TriggerRequest struct {
Job *internalsv1pb.JobEvent
ResultFn func(api.TriggerResponseResult)
}
TriggerRequest is the event for triggering a job in the scheduler.