Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
@Summary delete blueprints @Description Delete BluePrints @Tags framework/blueprints @Param blueprintId path string true "blueprintId" @Success 200 @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /blueprints/{blueprintId} [delete]
func Get ¶
@Summary get blueprints @Description get blueprints @Tags framework/blueprints @Accept application/json @Param blueprintId path int true "blueprint id" @Success 200 {object} models.Blueprint @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /blueprints/{blueprintId} [get]
func GetBlueprintPipelines ¶ added in v0.13.0
@Summary get pipelines by blueprint id @Description get pipelines by blueprint id @Tags framework/blueprints @Accept application/json @Param blueprintId path int true "blueprint id" @Success 200 {object} shared.ResponsePipelines @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /blueprints/{blueprintId}/pipelines [get]
func Index ¶
@Summary get blueprints @Description get blueprints @Tags framework/blueprints @Accept application/json @Success 200 {object} gin.H @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /blueprints [get]
func Patch ¶
@Summary patch blueprints @Description patch blueprints @Tags framework/blueprints @Accept application/json @Param blueprintId path string true "blueprintId" @Success 200 {object} models.Blueprint @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /blueprints/{blueprintId} Patch
func Post ¶
@Summary post blueprints @Description post blueprints @Tags framework/blueprints @Accept application/json @Param blueprint body models.Blueprint true "json" @Success 200 {object} models.Blueprint @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /blueprints [post]
func Trigger ¶ added in v0.12.0
@Summary trigger blueprint @Description trigger a blueprint immediately @Tags framework/blueprints @Accept application/json @Param blueprintId path string true "blueprintId" @Success 200 {object} models.Pipeline @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /blueprints/{blueprintId}/trigger Post
Types ¶
This section is empty.