prebuild

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePrebuild

func DeletePrebuild(ctx *gin.Context)

DeletePrebuild godoc

@Tags			prebuild
@Summary		Delete prebuild
@Description	Delete prebuild
@Accept			json
@Param			configName	path	string	true	"Project config name"
@Param			prebuildId	path	string	true	"Prebuild ID"
@Param			force		query	bool	false	"Force"
@Success		204
@Router			/project-config/{configName}/prebuild/{prebuildId} [delete]

@id				DeletePrebuild

func GetPrebuild

func GetPrebuild(ctx *gin.Context)

GetPrebuild godoc

@Tags			prebuild
@Summary		Get prebuild
@Description	Get prebuild
@Accept			json
@Param			configName	path		string	true	"Project config name"
@Param			prebuildId	path		string	true	"Prebuild ID"
@Success		200			{object}	PrebuildDTO
@Router			/project-config/{configName}/prebuild/{prebuildId} [get]

@id				GetPrebuild

func ListPrebuilds

func ListPrebuilds(ctx *gin.Context)

@Tags prebuild @Summary List prebuilds @Description List prebuilds @Accept json @Success 200 {array} PrebuildDTO @Router /project-config/prebuild [get]

@id ListPrebuilds

func ListPrebuildsForProjectConfig

func ListPrebuildsForProjectConfig(ctx *gin.Context)

@Tags prebuild @Summary List prebuilds for project config @Description List prebuilds for project config @Accept json @Param configName path string true "Config name" @Success 200 {array} PrebuildDTO @Router /project-config/{configName}/prebuild [get]

@id ListPrebuildsForProjectConfig

func ProcessGitEvent

func ProcessGitEvent(ctx *gin.Context)

ProcessGitEvent godoc

@Tags			prebuild
@Summary		ProcessGitEvent
@Description	ProcessGitEvent
@Param			workspace	body	interface{}	true	"Webhook event"
@Success		200
@Router			/project-config/prebuild/process-git-event [post]

@id				ProcessGitEvent

func SetPrebuild

func SetPrebuild(ctx *gin.Context)

@Tags prebuild @Summary Set prebuild @Description Set prebuild @Accept json @Param configName path string true "Config name" @Param prebuild body CreatePrebuildDTO true "Prebuild" @Success 201 {string} prebuildId @Router /project-config/{configName}/prebuild [put]

@id SetPrebuild

Types

This section is empty.

Jump to

Keyboard shortcuts

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