Documentation ¶
Overview ¶
Package admin provides the admin handlers for the Vela API.
Usage:
import "github.com/go-vela/server/api/admin"
Index ¶
- func AllBuildsQueue(c *gin.Context)
- func CleanResources(c *gin.Context)
- func GetSettings(c *gin.Context)
- func RegisterToken(c *gin.Context)
- func RestoreSettings(c *gin.Context)
- func RotateOIDCKeys(c *gin.Context)
- func UpdateBuild(c *gin.Context)
- func UpdateDeployment(c *gin.Context)
- func UpdateHook(c *gin.Context)
- func UpdateRepo(c *gin.Context)
- func UpdateSecret(c *gin.Context)
- func UpdateService(c *gin.Context)
- func UpdateSettings(c *gin.Context)
- func UpdateStep(c *gin.Context)
- func UpdateUser(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllBuildsQueue ¶ added in v0.8.0
AllBuildsQueue represents the API handler to capture all running and pending builds stored in the database.
func CleanResources ¶ added in v0.20.0
CleanResources represents the API handler to update any user stored in the database.
func GetSettings ¶ added in v0.24.0
GetSettings represents the API handler to captures settings stored in the database.
func RegisterToken ¶ added in v0.19.0
RegisterToken represents the API handler to generate a registration token for onboarding a worker.
func RestoreSettings ¶ added in v0.24.0
RestoreSettings represents the API handler to restore settings stored in the database to the environment defaults.
func RotateOIDCKeys ¶ added in v0.24.0
RotateOIDCKeys represents the API handler to rotate RSA keys in OIDC provider service.
func UpdateBuild ¶ added in v0.3.0
UpdateBuild represents the API handler to update any build stored in the database.
func UpdateDeployment ¶ added in v0.4.0
UpdateDeployment represents the API handler to update any deployment stored in the database.
func UpdateHook ¶ added in v0.3.0
UpdateHook represents the API handler to update any hook stored in the database.
func UpdateRepo ¶ added in v0.3.0
UpdateRepo represents the API handler to update any repo stored in the database.
func UpdateSecret ¶ added in v0.3.0
UpdateSecret represents the API handler to update any secret stored in the database.
func UpdateService ¶ added in v0.3.0
UpdateService represents the API handler to update any service stored in the database.
func UpdateSettings ¶ added in v0.24.0
UpdateSettings represents the API handler to update the settings singleton stored in the database.
func UpdateStep ¶ added in v0.3.0
UpdateStep represents the API handler to update any step stored in the database.
func UpdateUser ¶ added in v0.3.0
UpdateUser represents the API handler to update any user stored in the database.
Types ¶
This section is empty.