Documentation
¶
Overview ¶
Package v1 contains the v1 api and client models.
Index ¶
- Constants
- func GetSecrets(c echo.Context, secretService secret.Service, stageService stage.Service) error
- func GetStatus(c echo.Context, statusService deploymentstatus.Service) error
- func ListApps(c echo.Context, appRepo core.AppRepository) error
- func ListStages(c echo.Context, stageRepository core.StageRepository) error
- func PostApp(c echo.Context, appService app.Service) error
- func PostDeployment(c echo.Context, stateRepo git.GitRepoProvider, appService app.Service, ...) error
- func PostStagePing(c echo.Context, stageService stage.Service) error
- func PostValidateAppConfig(c echo.Context) error
- func PutDeploymentStatus(c echo.Context, deploymentStatusService deploymentstatus.Service) error
- func PutRollout(c echo.Context, rolloutService rollout.Service, stageService stage.Service, ...) error
- func PutSecret(c echo.Context, stateRepo git.GitRepoProvider, secretService secret.Service, ...) error
- func PutStageConfig(c echo.Context, stageService stage.Service) error
- func RegisterRoutes(e *echo.Echo, repo git.GitRepoProvider, db *sql.DB)
Constants ¶
View Source
const DefaultNamespace = "apps"
Variables ¶
This section is empty.
Functions ¶
func GetSecrets ¶
func ListStages ¶
func ListStages(c echo.Context, stageRepository core.StageRepository) error
func PostDeployment ¶
func PostDeployment(c echo.Context, stateRepo git.GitRepoProvider, appService app.Service, deploymentService deployment.Service, stageService stage.Service) error
TODO: Refactor and add unit test coverage
func PostStagePing ¶
TODO: Once RBAC is implemented this should be limited to the controller.
func PostValidateAppConfig ¶
func PutDeploymentStatus ¶
func PutDeploymentStatus(c echo.Context, deploymentStatusService deploymentstatus.Service) error
func PutRollout ¶ added in v0.0.6
func RegisterRoutes ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.