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 get running and pending builds.
func CleanResources ¶ added in v0.20.0
CleanResources represents the API handler to update stale resources.
func GetSettings ¶ added in v0.24.0
GetSettings represents the API handler to get platform settings.
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 platform settings to the environment defaults.
func RotateOIDCKeys ¶ added in v0.24.0
RotateOIDCKeys represents the API handler to rotate RSA keys in the OIDC provider service.
func UpdateBuild ¶ added in v0.3.0
UpdateBuild represents the API handler to update a build.
func UpdateDeployment ¶ added in v0.4.0
UpdateDeployment represents the API handler to update a deployment.
func UpdateHook ¶ added in v0.3.0
UpdateHook represents the API handler to update a hook.
func UpdateRepo ¶ added in v0.3.0
UpdateRepo represents the API handler to update a repo.
func UpdateSecret ¶ added in v0.3.0
UpdateSecret represents the API handler to update a secret.
func UpdateService ¶ added in v0.3.0
UpdateService represents the API handler to update a service.
func UpdateSettings ¶ added in v0.24.0
UpdateSettings represents the API handler to update the platform settings singleton.
func UpdateStep ¶ added in v0.3.0
UpdateStep represents the API handler to update a step.
func UpdateUser ¶ added in v0.3.0
UpdateUser represents the API handler to update a user.
Types ¶
This section is empty.