Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
func NewBaseEvent ¶
type JobCreated ¶
func NewJobCreatedEvent ¶
func NewJobCreatedEvent(job *job.Job) (*JobCreated, error)
func (*JobCreated) Bytes ¶
func (j *JobCreated) Bytes() ([]byte, error)
type JobDeleted ¶
func NewJobDeleteEvent ¶
func (*JobDeleted) Bytes ¶
func (j *JobDeleted) Bytes() ([]byte, error)
type JobRunFailed ¶
func NewJobRunFailedEvent ¶
func NewJobRunFailedEvent(jobRun *scheduler.JobRun) (*JobRunFailed, error)
func (*JobRunFailed) Bytes ¶
func (j *JobRunFailed) Bytes() ([]byte, error)
type JobRunInProgress ¶
func NewJobRunInProgressEvent ¶
func NewJobRunInProgressEvent(jobRun *scheduler.JobRun) (*JobRunInProgress, error)
func (*JobRunInProgress) Bytes ¶
func (j *JobRunInProgress) Bytes() ([]byte, error)
type JobRunSuccess ¶
func NewJobRunSuccessEvent ¶
func NewJobRunSuccessEvent(jobRun *scheduler.JobRun) (*JobRunSuccess, error)
func (*JobRunSuccess) Bytes ¶
func (j *JobRunSuccess) Bytes() ([]byte, error)
type JobRunWaitUpstream ¶
func NewJobRunWaitUpstreamEvent ¶
func NewJobRunWaitUpstreamEvent(jobRun *scheduler.JobRun) (*JobRunWaitUpstream, error)
func (*JobRunWaitUpstream) Bytes ¶
func (j *JobRunWaitUpstream) Bytes() ([]byte, error)
type JobStateChange ¶ added in v0.9.0
func NewJobStateChangeEvent ¶ added in v0.9.0
func (*JobStateChange) Bytes ¶ added in v0.9.0
func (j *JobStateChange) Bytes() ([]byte, error)
type JobUpdated ¶
type JobUpdated struct { Event UpdateImpact job.UpdateImpact Job *job.Job }
func NewJobUpdateEvent ¶
func NewJobUpdateEvent(job *job.Job, updateImpact job.UpdateImpact) (*JobUpdated, error)
func (*JobUpdated) Bytes ¶
func (j *JobUpdated) Bytes() ([]byte, error)
type ResourceCreated ¶
func NewResourceCreatedEvent ¶
func NewResourceCreatedEvent(rsc *resource.Resource) (*ResourceCreated, error)
func (ResourceCreated) Bytes ¶
func (r ResourceCreated) Bytes() ([]byte, error)
type ResourceDeleted ¶ added in v0.12.0
func NewResourceDeleteEvent ¶ added in v0.12.0
func NewResourceDeleteEvent(rsc *resource.Resource) (*ResourceDeleted, error)
func (ResourceDeleted) Bytes ¶ added in v0.12.0
func (r ResourceDeleted) Bytes() ([]byte, error)
type ResourceUpdated ¶
type ResourceUpdated struct { Event Resource *resource.Resource UpdateImpact pbInt.ChangeImpact }
func NewResourceUpdatedEvent ¶
func NewResourceUpdatedEvent(rsc *resource.Resource, impact resource.UpdateImpact) (*ResourceUpdated, error)
func (ResourceUpdated) Bytes ¶
func (r ResourceUpdated) Bytes() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.