Documentation
¶
Overview ¶
Package schedule provides schedule-related API handlers.
Index ¶
- func Handler(logger *slog.Logger, jobClient client.JobClient, signingKey string, ...) []func(e *echo.Echo)
- type Schedule
- func (s *Schedule) DeleteNodeSchedule(ctx context.Context, request gen.DeleteNodeScheduleRequestObject) (gen.DeleteNodeScheduleResponseObject, error)
- func (s *Schedule) GetNodeSchedule(ctx context.Context, request gen.GetNodeScheduleRequestObject) (gen.GetNodeScheduleResponseObject, error)
- func (s *Schedule) GetNodeScheduleByName(ctx context.Context, request gen.GetNodeScheduleByNameRequestObject) (gen.GetNodeScheduleByNameResponseObject, error)
- func (s *Schedule) PostNodeSchedule(ctx context.Context, request gen.PostNodeScheduleRequestObject) (gen.PostNodeScheduleResponseObject, error)
- func (s *Schedule) PutNodeSchedule(ctx context.Context, request gen.PutNodeScheduleRequestObject) (gen.PutNodeScheduleResponseObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Schedule ¶
type Schedule struct {
// JobClient provides job-based operations for schedule management.
JobClient client.JobClient
// contains filtered or unexported fields
}
Schedule implementation of the Schedule APIs operations.
func (*Schedule) DeleteNodeSchedule ¶ added in v0.2.0
func (s *Schedule) DeleteNodeSchedule( ctx context.Context, request gen.DeleteNodeScheduleRequestObject, ) (gen.DeleteNodeScheduleResponseObject, error)
DeleteNodeSchedule deletes a cron entry on a target node.
func (*Schedule) GetNodeSchedule ¶ added in v0.2.0
func (s *Schedule) GetNodeSchedule( ctx context.Context, request gen.GetNodeScheduleRequestObject, ) (gen.GetNodeScheduleResponseObject, error)
GetNodeSchedule lists all cron entries on a target node.
func (*Schedule) GetNodeScheduleByName ¶ added in v0.2.0
func (s *Schedule) GetNodeScheduleByName( ctx context.Context, request gen.GetNodeScheduleByNameRequestObject, ) (gen.GetNodeScheduleByNameResponseObject, error)
GetNodeScheduleByName gets a single cron entry by name on a target node.
func (*Schedule) PostNodeSchedule ¶ added in v0.2.0
func (s *Schedule) PostNodeSchedule( ctx context.Context, request gen.PostNodeScheduleRequestObject, ) (gen.PostNodeScheduleResponseObject, error)
PostNodeSchedule creates a cron entry on a target node.
func (*Schedule) PutNodeSchedule ¶ added in v0.2.0
func (s *Schedule) PutNodeSchedule( ctx context.Context, request gen.PutNodeScheduleRequestObject, ) (gen.PutNodeScheduleResponseObject, error)
PutNodeSchedule updates a cron entry on a target node.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.