Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2020 inovex GmbH <https://www.inovex.de>
SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2020 inovex GmbH <https://www.inovex.de>
SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func (Scheduler) Schedule ¶
Schedule creates a scheduler tick at the specified time t. It takes the year, month, day, hour and minutes fields into account. Cloudwatch will execute the worker lambda function at that time.
func (Scheduler) Unschedule ¶
Unschedule disables the scheduler until another future task is created. It achieves this by specifying a past date for the Cloudwatch rule.
Click to show internal directories.
Click to hide internal directories.