api

package
v0.0.0-...-08ef123 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ISOTimeFormat is the standard ISO-8601 time format for date and time in UTC to the second precision.
	ISOTimeFormat = "2006-01-02T15:04:05Z"
	// ISOTimeFormatOffset is the standard ISO-8601 time format for date and time in UTC to the second precision,
	// where the offset is presented as +/-hh:mm.
	ISOTimeFormatOffset = "2006-01-02T15:04:05-07:00"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionTaken

type ActionTaken string

ActionTaken enumerates the list of action taken on job

const (
	JobCreated ActionTaken = "Created"
	JobEdited  ActionTaken = "Updated"
)

type AuditsHandler

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

AuditsHandler executes a given request to the FaaS function.

func NewAuditsHandler

func NewAuditsHandler(conf *models.Config) *AuditsHandler

func (*AuditsHandler) Handle

func (h *AuditsHandler) Handle(ctx context.Context, request fdk.Request) fdk.Response

type JobHandler

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

JobHandler executes a given request to the FaaS function.

func NewJobHandler

func NewJobHandler(conf *models.Config) *JobHandler

func (*JobHandler) Handle

func (h *JobHandler) Handle(ctx context.Context, request fdk.Request) fdk.Response

type JobsHandler

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

JobsHandler executes a given request to the FaaS function.

func NewJobsHandler

func NewJobsHandler(conf *models.Config) *JobsHandler

func (*JobsHandler) Handle

func (h *JobsHandler) Handle(ctx context.Context, request fdk.Request) fdk.Response

type UpsertJobHandler

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

UpsertJobHandler executes a given request to the FaaS function.

func NewUpsertJobHandler

func NewUpsertJobHandler(conf *models.Config) *UpsertJobHandler

func (*UpsertJobHandler) Handle

func (h *UpsertJobHandler) Handle(ctx context.Context, request fdk.Request) fdk.Response

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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