Documentation
¶
Index ¶
- func CreateRepositoryHandler(rs repository.Service) repositories.CreateRepositoryHandlerFunc
- func GetOwnerRepositoriesHandler(rs repository.Service) repositories.GetOwnerRepositoriesHandlerFunc
- func GetRepositoryBranchesHandler(rs repository.Service) repositories.GetRepositoryBranchesHandlerFunc
- func GetRepositoryHandler(rs repository.Service) repositories.GetRepositoryHandlerFunc
- func GetRepositoryTreeHandler(rs repository.Service) repositories.GetRepositoryTreeHandlerFunc
- func GetUserHandler(us user.Service) users.GetUserHandlerFunc
- func GetUserMeHandler(us user.Service) users.GetUserMeHandlerFunc
- func ListUsersHandler(us user.Service) users.ListUsersHandlerFunc
- func UpdateUserHandler(us user.Service) users.UpdateUserHandlerFunc
- type API
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRepositoryHandler ¶
func CreateRepositoryHandler(rs repository.Service) repositories.CreateRepositoryHandlerFunc
CreateRepositoryHandler creates a new repository from given input
func GetOwnerRepositoriesHandler ¶
func GetOwnerRepositoriesHandler(rs repository.Service) repositories.GetOwnerRepositoriesHandlerFunc
GetOwnerRepositoriesHandler gets a repository by the owner's username
func GetRepositoryBranchesHandler ¶
func GetRepositoryBranchesHandler(rs repository.Service) repositories.GetRepositoryBranchesHandlerFunc
GetRepositoryBranchesHandler gets all branches of a repository
func GetRepositoryHandler ¶
func GetRepositoryHandler(rs repository.Service) repositories.GetRepositoryHandlerFunc
GetRepositoryHandler gets a repository by name and the owner's username
func GetRepositoryTreeHandler ¶
func GetRepositoryTreeHandler(rs repository.Service) repositories.GetRepositoryTreeHandlerFunc
GetRepositoryTreeHandler gets a repository's tree for a given rev and path
func GetUserHandler ¶
func GetUserHandler(us user.Service) users.GetUserHandlerFunc
GetUserHandler gets a user from the user.Service and returns a API response
func GetUserMeHandler ¶
func GetUserMeHandler(us user.Service) users.GetUserMeHandlerFunc
GetUserMeHandler gets the currently authenticated user
func ListUsersHandler ¶
func ListUsersHandler(us user.Service) users.ListUsersHandlerFunc
ListUsersHandler gets a list of users from the user.Service and returns a API response
func UpdateUserHandler ¶
func UpdateUserHandler(us user.Service) users.UpdateUserHandlerFunc
UpdateUserHandler receives a updated user and returns a API response after updating
Types ¶
Directories
¶
Path | Synopsis |
---|---|
Package restapi SourcePods OpenAPI This is the API for SourcePods - git in the cloud.
|
Package restapi SourcePods OpenAPI This is the API for SourcePods - git in the cloud. |
Click to show internal directories.
Click to hide internal directories.