jobs

package
v0.0.0-...-b145e46 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 23 Imported by: 0

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.

Jump to

Keyboard shortcuts

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