api

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: AGPL-3.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandler

func RegisterHandler(connPool *pgxpool.Pool, firebaseTenantClientPool auth.AuthClientPool, openaiOptions core.GinServerOptions, router *gin.Engine)

Types

type CronHandler

type CronHandler struct {
	*JobAuditLogHandler
	*SeedHandler
	*RegisteredJobHandler
	// contains filtered or unexported fields
}

func (*CronHandler) DeleteJob

func (h *CronHandler) DeleteJob(c *gin.Context, id types.UUID)

DeleteJob implements api.ServerInterface.

func (*CronHandler) GetJobByID

func (h *CronHandler) GetJobByID(c *gin.Context, id types.UUID, params api.GetJobByIDParams)

FindJobByID implements api.ServerInterface.

func (*CronHandler) ListJobs

func (h *CronHandler) ListJobs(c *gin.Context, params api.ListJobsParams)

ListJobs implements api.ServerInterface.

type JobAuditLogHandler

type JobAuditLogHandler struct {
	// contains filtered or unexported fields
}

https://pkg.go.dev/github.com/go-playground/validator/v10#hdr-One_Of

func (*JobAuditLogHandler) DeleteJobAuditLog

func (h *JobAuditLogHandler) DeleteJobAuditLog(c *gin.Context, id types.UUID)

DeleteJobAuditLog implements api.ServerInterface.

func (*JobAuditLogHandler) GetJobAuditLogByID

func (h *JobAuditLogHandler) GetJobAuditLogByID(c *gin.Context, id types.UUID)

FindJobAuditLogByID implements api.ServerInterface.

func (*JobAuditLogHandler) ListJobAuditLogs

func (h *JobAuditLogHandler) ListJobAuditLogs(c *gin.Context, params api.ListJobAuditLogsParams)

ListJobAuditLogs implements api.ServerInterface.

type RegisteredJobHandler

type RegisteredJobHandler struct {
	// contains filtered or unexported fields
}

func (*RegisteredJobHandler) GetJobAuditLogs

func (h *RegisteredJobHandler) GetJobAuditLogs(c *gin.Context, jobID types.UUID, params api.GetJobAuditLogsParams)

GetJobAuditLogs godoc

func (*RegisteredJobHandler) GetRegisteredJob

func (h *RegisteredJobHandler) GetRegisteredJob(c *gin.Context, jobID types.UUID)

GetRegisteredJob godoc

func (*RegisteredJobHandler) ListRegisteredJobs

func (h *RegisteredJobHandler) ListRegisteredJobs(c *gin.Context, params api.ListRegisteredJobsParams)

ListRegisteredJobs godoc

func (*RegisteredJobHandler) UpdateRegisteredJob

func (h *RegisteredJobHandler) UpdateRegisteredJob(c *gin.Context, jobID types.UUID)

UpdateRegisteredJob godoc

type SeedHandler

type SeedHandler struct {
	// contains filtered or unexported fields
}

func (*SeedHandler) SeedReferenceData

func (h *SeedHandler) SeedReferenceData(c *gin.Context)

SeedReferenceData implements the OpenAPI endpoint for seeding reference data

func (*SeedHandler) SeedSampleData

func (h *SeedHandler) SeedSampleData(c *gin.Context)

Jump to

Keyboard shortcuts

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