Documentation
¶
Overview ¶
Package jobs contains the handlers registered and called by Cloud Scheduler.
The HTTP endpoints exposed by this module perform necessary authorization checks and route requests to registered handlers, collecting monitoring metrics from them.
Note that you still need to configure Cloud Scheduler jobs. By default, registered handlers are exposed as "/internal/cron/<handler-id>" endpoints. This URL path should be used when configuring Cloud Scheduler jobs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpireLeases ¶
func ExpireLeases(ctx context.Context, serviceClients frontend.ServiceClients) error
ExpireLeases ends all expired Leases and release the corresponding Devices.
func ImportUFSDevices ¶
func ImportUFSDevices(ctx context.Context, serviceClients frontend.ServiceClients, project string) error
ImportUFSDevices registers the cron to trigger import for all Device information from UFS.
func PersistToBigQuery ¶
func PersistToBigQuery(ctx context.Context, serviceClients frontend.ServiceClients, project string) error
PersistToBigQuery persists the current DM records to BigQuery.
Types ¶
This section is empty.