admin

package
v0.24.0-rc3 Latest Latest
Warning

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

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

Documentation

Overview

Package admin provides the admin handlers for the Vela API.

Usage:

import "github.com/go-vela/server/api/admin"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllBuildsQueue added in v0.8.0

func AllBuildsQueue(c *gin.Context)

AllBuildsQueue represents the API handler to get running and pending builds.

func CleanResources added in v0.20.0

func CleanResources(c *gin.Context)

CleanResources represents the API handler to update stale resources.

func GetSettings added in v0.24.0

func GetSettings(c *gin.Context)

GetSettings represents the API handler to get platform settings.

func RegisterToken added in v0.19.0

func RegisterToken(c *gin.Context)

RegisterToken represents the API handler to generate a registration token for onboarding a worker.

func RestoreSettings added in v0.24.0

func RestoreSettings(c *gin.Context)

RestoreSettings represents the API handler to restore platform settings to the environment defaults.

func RotateOIDCKeys added in v0.24.0

func RotateOIDCKeys(c *gin.Context)

RotateOIDCKeys represents the API handler to rotate RSA keys in the OIDC provider service.

func UpdateBuild added in v0.3.0

func UpdateBuild(c *gin.Context)

UpdateBuild represents the API handler to update a build.

func UpdateDeployment added in v0.4.0

func UpdateDeployment(c *gin.Context)

UpdateDeployment represents the API handler to update a deployment.

func UpdateHook added in v0.3.0

func UpdateHook(c *gin.Context)

UpdateHook represents the API handler to update a hook.

func UpdateRepo added in v0.3.0

func UpdateRepo(c *gin.Context)

UpdateRepo represents the API handler to update a repo.

func UpdateSecret added in v0.3.0

func UpdateSecret(c *gin.Context)

UpdateSecret represents the API handler to update a secret.

func UpdateService added in v0.3.0

func UpdateService(c *gin.Context)

UpdateService represents the API handler to update a service.

func UpdateSettings added in v0.24.0

func UpdateSettings(c *gin.Context)

UpdateSettings represents the API handler to update the platform settings singleton.

func UpdateStep added in v0.3.0

func UpdateStep(c *gin.Context)

UpdateStep represents the API handler to update a step.

func UpdateUser added in v0.3.0

func UpdateUser(c *gin.Context)

UpdateUser represents the API handler to update a user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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