Documentation ¶
Overview ¶
Package v1 contains the v1 api and client models.
Index ¶
- func DeleteDeployment(c echo.Context, stateRepo git.Repo, deploymentService deployment.Service) error
- func GetApp(c echo.Context, apps core.AppRepository) error
- func GetAppStatus(c echo.Context, apps core.AppRepository, ...) error
- func GetNamespaces(c echo.Context, namespaces core.NamespaceRepository) error
- func GetSecrets(c echo.Context, secrets core.SecretMetaRepository, stageService stage.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.Repo, appService app.Service, ...) error
- func PostNamespace(c echo.Context, namespaceService namespace.Service, repo git.Repo) error
- func PostStagePing(c echo.Context, stageService stage.Service) error
- func PostValidateAppConfig(c echo.Context) error
- func PutDeploymentStatus(c echo.Context, deployments core.DeploymentRepository) error
- func PutRollout(c echo.Context, rolloutService rollout.Service, stageService stage.Service, ...) error
- func PutSecret(c echo.Context, stateRepo git.Repo, secretService secret.Service, ...) error
- func PutStageConfig(c echo.Context, stageService stage.Service) error
- func RegisterRoutes(e *echo.Echo, repo git.Repo, db *sql.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDeployment ¶ added in v0.0.7
func DeleteDeployment(c echo.Context, stateRepo git.Repo, deploymentService deployment.Service) error
func GetApp ¶ added in v0.0.10
func GetApp(c echo.Context, apps core.AppRepository) error
func GetAppStatus ¶ added in v0.0.10
func GetAppStatus(c echo.Context, apps core.AppRepository, statusService deploymentstatus.Service) error
func GetNamespaces ¶ added in v0.0.10
func GetNamespaces(c echo.Context, namespaces core.NamespaceRepository) error
func GetSecrets ¶
func GetSecrets(c echo.Context, secrets core.SecretMetaRepository, stageService stage.Service) error
func ListApps ¶
func ListApps(c echo.Context, appRepo core.AppRepository) error
func ListStages ¶
func ListStages(c echo.Context, stageRepository core.StageRepository) error
func PostDeployment ¶
func PostDeployment(c echo.Context, stateRepo git.Repo, appService app.Service, deploymentService deployment.Service, stageService stage.Service) error
TODO: Refactor and add unit test coverage
func PostNamespace ¶ added in v0.0.10
func PostStagePing ¶
TODO: Once RBAC is implemented this should be limited to the controller.
func PostValidateAppConfig ¶
func PostValidateAppConfig(c echo.Context) error
func PutDeploymentStatus ¶
func PutDeploymentStatus(c echo.Context, deployments core.DeploymentRepository) error
func PutRollout ¶ added in v0.0.6
func PutStageConfig ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.