Documentation ¶
Overview ¶
Package user provides the user handlers for the Vela API.
Usage:
import "github.com/go-vela/server/api/user"
Index ¶
- func CreateToken(c *gin.Context)
- func CreateUser(c *gin.Context)
- func DeleteToken(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetCurrentUser(c *gin.Context)
- func GetSourceRepos(c *gin.Context)
- func GetUser(c *gin.Context)
- func ListUsers(c *gin.Context)
- func UpdateCurrentUser(c *gin.Context)
- func UpdateUser(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
CreateToken represents the API handler to create a user token in the configured backend.
func CreateUser ¶
CreateUser represents the API handler to create a user in the configured backend.
func DeleteToken ¶
DeleteToken represents the API handler to revoke and recreate a user token in the configured backend.
func DeleteUser ¶
DeleteUser represents the API handler to remove a user from the configured backend.
func GetCurrentUser ¶
GetCurrentUser represents the API handler to capture the currently authenticated user from the configured backend.
func GetSourceRepos ¶
GetSourceRepos represents the API handler to capture the list of repos for a user from the configured backend.
func ListUsers ¶
ListUsers represents the API handler to capture a list of users from the configured backend.
func UpdateCurrentUser ¶
UpdateCurrentUser represents the API handler to capture and update the currently authenticated user from the configured backend.
func UpdateUser ¶
UpdateUser represents the API handler to update a user in the configured backend.
Types ¶
This section is empty.