Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job is the type of executor job.
func New ¶
func New(ctx context.Context, cli client.Client, meta v1alpha1.ActionMeta, contextData map[string]interface{}) (*Job, error)
New creates a new job. It will fetch cached Action instance from Registry using provided ActionMeta. sourceType and event will be passed to the Action.Run method.
func (*Job) AllowConcurrency ¶
AllowConcurrency returns whether the job allows concurrency.
Click to show internal directories.
Click to hide internal directories.