Documentation ¶
Index ¶
- func CleanupJob(pJobIDstr string, pJobsMngrCh gf_images_jobs_core.JobsMngr, ...)
- func GetJobUpdateCh(pJobIDstr string, pJobsMngrCh gf_images_jobs_core.JobsMngr, ...) chan gf_images_jobs_core.JobUpdateMsg
- func RunClassifyImages(pClientTypeStr string, ...) ([]string, *gf_images_jobs_core.GFjobRunning, *gf_core.GFerror)
- func RunUploadedImages(pClientTypeStr string, ...) (*gf_images_jobs_core.GFjobRunning, *gf_core.GFerror)
- type GFjobExpectedOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupJob ¶
func CleanupJob(pJobIDstr string, pJobsMngrCh gf_images_jobs_core.JobsMngr, pRuntimeSys *gf_core.RuntimeSys)
func GetJobUpdateCh ¶
func GetJobUpdateCh(pJobIDstr string, pJobsMngrCh gf_images_jobs_core.JobsMngr, pRuntimeSys *gf_core.RuntimeSys) chan gf_images_jobs_core.JobUpdateMsg
func RunClassifyImages ¶
func RunClassifyImages(pClientTypeStr string, pImagesToProcessLst []gf_images_jobs_core.GFimageClassificationToProcess, pUserID gf_core.GF_ID, pJobsMngrCh gf_images_jobs_core.JobsMngr, pRuntimeSys *gf_core.RuntimeSys) ([]string, *gf_images_jobs_core.GFjobRunning, *gf_core.GFerror)
func RunUploadedImages ¶
func RunUploadedImages(pClientTypeStr string, pImagesToProcessLst []gf_images_jobs_core.GFimageUploadedToProcess, pFlowsNamesLst []string, pUserID gf_core.GF_ID, pJobsMngrCh gf_images_jobs_core.JobsMngr, pRuntimeSys *gf_core.RuntimeSys) (*gf_images_jobs_core.GFjobRunning, *gf_core.GFerror)
Types ¶
type GFjobExpectedOutput ¶
type GFjobExpectedOutput struct { Image_id_str gf_images_core.GFimageID `json:"image_id_str"` Image_source_url_str string `json:"image_source_url_str"` Thumbnail_small_relative_url_str string `json:"thumbnail_small_relative_url_str"` Thumbnail_medium_relative_url_str string `json:"thumbnail_medium_relative_url_str"` Thumbnail_large_relative_url_str string `json:"thumbnail_large_relative_url_str"` }
called "expected" because jobs are long-running processes, and they might fail at various stages of their processing. in that case some of these result values will be satisfied, others will not.
func RunExternImages ¶
func RunExternImages(pClientTypeStr string, pImagesExternToProcessLst []gf_images_jobs_core.GFimageExternToProcess, pFlowsNamesLst []string, pUserID gf_core.GF_ID, pJobsMngrCh gf_images_jobs_core.JobsMngr, pRuntimeSys *gf_core.RuntimeSys) (*gf_images_jobs_core.GFjobRunning, []*GFjobExpectedOutput, *gf_core.GFerror)
func RunLocalImgs ¶
func RunLocalImgs(pClientTypeStr string, pImagesToProcessLst []gf_images_jobs_core.GFimageLocalToProcess, pFlowsNamesLst []string, pUserID gf_core.GF_ID, pJobsMngrCh gf_images_jobs_core.JobsMngr, pRuntimeSys *gf_core.RuntimeSys) (*gf_images_jobs_core.GFjobRunning, []*GFjobExpectedOutput, *gf_core.GFerror)
-------------------------------------------------
Click to show internal directories.
Click to hide internal directories.