Documentation ¶
Index ¶
- func ConfigureRoutes(router *gin.Engine, db *gorm.DB, minioClient *minio.Client, ...)
- type BuilderRequest
- type Controller
- func (cont *Controller) DeleteFunction(c *gin.Context)
- func (cont *Controller) GetAllFunction(c *gin.Context)
- func (cont *Controller) GetOneFunction(c *gin.Context)
- func (cont *Controller) PostFunction(c *gin.Context)
- func (cont *Controller) PutFunction(c *gin.Context)
- func (c *Controller) RunFunction(ctx *gin.Context)
- type CreateFunctionDTO
- type ExecutionResponse
- type ExecutionResultDTO
- type GetFunctionDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuilderRequest ¶
type Controller ¶
type Controller struct { CodeStorageService *objectStorage.CodeStorageService DB *gorm.DB BuilderEndpoint string Scheduler *scheduler.Scheduler }
func (*Controller) DeleteFunction ¶
func (cont *Controller) DeleteFunction(c *gin.Context)
func (*Controller) GetAllFunction ¶
func (cont *Controller) GetAllFunction(c *gin.Context)
func (*Controller) GetOneFunction ¶
func (cont *Controller) GetOneFunction(c *gin.Context)
func (*Controller) PostFunction ¶
func (cont *Controller) PostFunction(c *gin.Context)
func (*Controller) PutFunction ¶
func (cont *Controller) PutFunction(c *gin.Context)
func (*Controller) RunFunction ¶
func (c *Controller) RunFunction(ctx *gin.Context)
type CreateFunctionDTO ¶
type ExecutionResponse ¶
type ExecutionResultDTO ¶
type ExecutionResultDTO struct { Time int64 `json:"time"` Response ExecutionResponse `json:"response"` }
Click to show internal directories.
Click to hide internal directories.