Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCron ¶
func NewCron(logger logger.Logger) bindings.InputBinding
NewCron returns a new Cron event input binding.
func NewCronWithClock ¶ added in v1.10.1
Types ¶
type Binding ¶
type Binding struct {
// contains filtered or unexported fields
}
Binding represents Cron input binding.
func (*Binding) GetComponentMetadata ¶ added in v1.11.0
GetComponentMetadata returns the metadata of the component.
func (*Binding) Init ¶
Init initializes the Cron binding Examples from https://godoc.org/github.com/robfig/cron:
"15 * * * * *" - Every 15 sec "0 30 * * * *" - Every 30 min
Click to show internal directories.
Click to hide internal directories.