Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct {
// contains filtered or unexported fields
}
Binding represents Cron input binding.
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
func (*Binding) Invoke ¶
func (b *Binding) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
Invoke exposes way to stop previously started cron.
func (*Binding) Operations ¶
func (b *Binding) Operations() []bindings.OperationKind
Operations method returns the supported operations by this binding.
Click to show internal directories.
Click to hide internal directories.