Documentation ¶
Index ¶
- func WithDeleteJobFn(...) func(*options)
- func WithGRPCOptions(opts ...procgrpc.Option) func(*options)
- func WithGetJobFn(...) func(*options)
- func WithListJobsFn(...) func(*options)
- func WithScheduleJobFn(...) func(*options)
- func WithSentry(sentry *sentry.Sentry) func(*options)
- func WithWatchJobsFn(fn func(schedulerv1pb.Scheduler_WatchJobsServer) error) func(*options)
- type Option
- type Scheduler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDeleteJobFn ¶
func WithDeleteJobFn(fn func(ctx context.Context, request *schedulerv1pb.DeleteJobRequest) (*schedulerv1pb.DeleteJobResponse, error)) func(*options)
func WithGRPCOptions ¶
func WithGetJobFn ¶
func WithGetJobFn(fn func(ctx context.Context, request *schedulerv1pb.GetJobRequest) (*schedulerv1pb.GetJobResponse, error)) func(*options)
func WithListJobsFn ¶
func WithListJobsFn(fn func(ctx context.Context, request *schedulerv1pb.ListJobsRequest) (*schedulerv1pb.ListJobsResponse, error)) func(*options)
func WithScheduleJobFn ¶
func WithScheduleJobFn(fn func(ctx context.Context, request *schedulerv1pb.ScheduleJobRequest) (*schedulerv1pb.ScheduleJobResponse, error)) func(*options)
func WithSentry ¶
func WithWatchJobsFn ¶
func WithWatchJobsFn(fn func(schedulerv1pb.Scheduler_WatchJobsServer) error) func(*options)
Types ¶
Click to show internal directories.
Click to hide internal directories.