-
Notifications
You must be signed in to change notification settings - Fork 28
/
deployment.go
53 lines (46 loc) · 1.43 KB
/
deployment.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (c) 2021 Target Brands, Inc. All rights reserved.
//
// Use of this source code is governed by the LICENSE file in this repository.
package admin
import (
"net/http"
"github.com/gin-gonic/gin"
)
// swagger:operation GET /api/v1/admin/deployments admin AdminAllDeployments
//
// Get all of the deployments in the database (Not Implemented)
//
// ---
// produces:
// - application/json
// parameters:
// responses:
// '501':
// description: This endpoint is not implemented
// schema:
// type: string
// AllDeployments represents the API handler to
// captures all deployments stored in the database.
func AllDeployments(c *gin.Context) {
// nolint: lll // ignore long line length due to return message
c.JSON(http.StatusNotImplemented, "The server does not support the functionality required to fulfill the request.")
}
// swagger:operation PUT /api/v1/admin/deployment admin AdminUpdateDeployment
//
// Get All (Not Implemented)
//
// ---
// produces:
// - application/json
// parameters:
// responses:
// '501':
// description: This endpoint is not implemented
// schema:
// type: string
// UpdateDeployment represents the API handler to
// update any deployment stored in the database.
func UpdateDeployment(c *gin.Context) {
// nolint: lll // ignore long line length due to return message
c.JSON(http.StatusNotImplemented, "The server does not support the functionality required to fulfill the request.")
}