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.
func CreateUser ¶
CreateUser represents the API handler to create a user.
func DeleteToken ¶
DeleteToken represents the API handler to revoke and recreate a user token.
func DeleteUser ¶
DeleteUser represents the API handler to remove a user.
func GetCurrentUser ¶
GetCurrentUser represents the API handler to capture the currently authenticated user.
func GetSourceRepos ¶
GetSourceRepos represents the API handler to get a list of repos for a user.
func UpdateCurrentUser ¶
UpdateCurrentUser represents the API handler to capture and update the currently authenticated user.
func UpdateUser ¶
UpdateUser represents the API handler to update a user.
Types ¶
This section is empty.