sourcejob

package
v1.3.51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertSourceJob

func InsertSourceJob(sourceJob SourceJob) (int, int, error)

func RemoveSourceJob

func RemoveSourceJob(sourceID int, jobID int) error

func UpdateSourceJob

func UpdateSourceJob(sourceJob SourceJob) error

Types

type SourceJob

type SourceJob struct {
	SourceID    *int      `json:"sourceId"`
	JobID       *int      `json:"jobId"`
	UUID        string    `json:"uuid"`
	Description string    `json:"description"`
	CreatedBy   string    `json:"createdBy"`
	CreatedAt   time.Time `json:"createdAt"`
	UpdatedBy   string    `json:"updatedBy"`
	UpdatedAt   time.Time `json:"updatedAt"`
}

Asset

func GetSourceJob

func GetSourceJob(sourceID int, jobID int) (*SourceJob, error)

func GetSourceJobBySourceID

func GetSourceJobBySourceID(sourceID int) (*SourceJob, error)

func GetSourceJobList

func GetSourceJobList() ([]SourceJob, error)

func GetTopTenSourceJobs

func GetTopTenSourceJobs() ([]SourceJob, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL