Documentation ¶
Index ¶
- func CreateSiteHandler(c *gin.Context)
- func DeleteSiteHandler(c *gin.Context)
- func DeploySiteHandler(c *gin.Context)
- func GetStateHandler(c *gin.Context)
- func InfoHandler(c *gin.Context)
- func KeyVaultInfoHandler(c *gin.Context)
- func ListSiteHandler(c *gin.Context)
- func PatchSiteHandler(c *gin.Context)
- func PutStateHandler(c *gin.Context)
- func ShowSiteHandler(c *gin.Context)
- func StatusHandler(c *gin.Context)
- func UploadAuthHandler(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSiteHandler ¶
CreateSiteHandler is the handler for POST /site, which creates a new site
func DeleteSiteHandler ¶
DeleteSiteHandler is the handler for DELETE /site/{domain}, which deletes a site
func DeploySiteHandler ¶
DeploySiteHandler is the handler for POST/PUT /site/{domain}/app, which deploys an app
func GetStateHandler ¶
GetStateHandler is the handler for GET /state, which dumps the state
func InfoHandler ¶
InfoHandler is the handler for GET /info, which returns information about the agent running
func KeyVaultInfoHandler ¶
KeyVaultInfoHandler is the handler for GET /keyvaultinfo, which returns the name of the Azure Key Vault instance used
func ListSiteHandler ¶
ListSiteHandler is the handler for GET /site, which lists all sites
func PatchSiteHandler ¶
PatchSiteHandler is the handler for PATCH /site/{domain}, which replaces a site
func PutStateHandler ¶
PutStateHandler is the handler for PUT /state (and POST /state), which replaces the state with the input
func ShowSiteHandler ¶
ShowSiteHandler is the handler for GET /site/{domain}, which shows a site
func StatusHandler ¶
StatusHandler is the handler for GET /status (with an optional domain as in /status/:domain), which returns the status and health of the node
func UploadAuthHandler ¶
UploadAuthHandler is the handler for POST /uploadauth, which returns the SAS token to authorize uploads to Azure Blob Storage
Types ¶
This section is empty.