gf_images_jobs_client

package
Version: v0.0.0-...-f734a71 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Job__cleanup

func Job__cleanup(p_job_id_str string,
	p_jobs_mngr_ch gf_images_jobs_core.Jobs_mngr,
	p_runtime_sys *gf_core.Runtime_sys)

-------------------------------------------------

func Job__get_update_ch

func Job__get_update_ch(p_job_id_str string,
	p_jobs_mngr_ch gf_images_jobs_core.Jobs_mngr,
	p_runtime_sys *gf_core.Runtime_sys) chan gf_images_jobs_core.Job_update_msg

-------------------------------------------------

func Run_uploaded_imgs

func Run_uploaded_imgs(p_client_type_str string,
	p_images_to_process_lst []gf_images_jobs_core.GF_image_uploaded_to_process,
	p_flows_names_lst []string,
	p_jobs_mngr_ch gf_images_jobs_core.Jobs_mngr,
	p_runtime_sys *gf_core.Runtime_sys) (*gf_images_jobs_core.GF_job_running, *gf_core.GF_error)

-------------------------------------------------

Types

type GF_job_expected_output

type GF_job_expected_output struct {
	Image_id_str                      gf_images_core.Gf_image_id `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 Run_extern_imgs

func Run_extern_imgs(p_client_type_str string,
	p_images_extern_to_process_lst []gf_images_jobs_core.GF_image_extern_to_process,
	p_flows_names_lst []string,
	p_jobs_mngr_ch gf_images_jobs_core.Jobs_mngr,
	p_runtime_sys *gf_core.Runtime_sys) (*gf_images_jobs_core.GF_job_running, []*GF_job_expected_output, *gf_core.GF_error)

------------------------------------------------- START

func Run_local_imgs

func Run_local_imgs(p_client_type_str string,
	p_images_to_process_lst []gf_images_jobs_core.GF_image_local_to_process,
	p_flows_names_lst []string,
	p_jobs_mngr_ch gf_images_jobs_core.Jobs_mngr,
	p_runtime_sys *gf_core.Runtime_sys) (*gf_images_jobs_core.GF_job_running, []*GF_job_expected_output, *gf_core.GF_error)

------------------------------------------------- CLIENT -------------------------------------------------

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL