api

package
v0.0.0-...-73f0860 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

NewAuditsHandler returns an initialized instance of the 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

NewJobHandler returns an initialized version of 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

NewJobsHandler returns a new instance of 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

NewUpsertJobHandler returns a new instance of 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