blueprints

package
v0.12.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *gin.Context)

@Summary delete blueprints @Description Delete BluePrints @Tags 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

func Get(c *gin.Context)

@Summary get blueprints @Description get blueprints @Tags 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 Index

func Index(c *gin.Context)

@Summary get blueprints @Description get blueprints @Tags 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

func Patch(c *gin.Context)

@Summary patch blueprints @Description patch blueprints @Tags 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

func Post(c *gin.Context)

@Summary post blueprints @Description post blueprints @Tags Blueprints @Accept application/json @Param blueprint body string 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

func Trigger(c *gin.Context)

@Summary trigger blueprint @Description trigger a blueprint immediately @Tags 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.

Jump to

Keyboard shortcuts

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