v1

package
Version: v0.0.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package v1 contains the v1 api and client models.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDeployment added in v0.0.7

func DeleteDeployment(c echo.Context, repoCache *environment.RepoCache, 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, appService app.Service, statusService deploymentstatus.Service) error

func GetEnvironmentConfig added in v0.0.37

func GetEnvironmentConfig(c echo.Context, environmentService environment.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, environmentService environment.Service) error

func ListApps

func ListApps(c echo.Context, appRepo core.AppRepository) error

func ListEnvironments added in v0.0.17

func ListEnvironments(c echo.Context, environmentRepository core.EnvironmentRepository) error

func PostApp

func PostApp(c echo.Context, appService app.Service) error

func PostDeployment

func PostDeployment(c echo.Context, repoCache *environment.RepoCache, appService app.Service, deploymentService deployment.Service, environmentService environment.Service) error

TODO: Refactor and add unit test coverage

func PostEnvironmentPing added in v0.0.17

func PostEnvironmentPing(c echo.Context, environmentService environment.Service) error

TODO: Once RBAC is implemented this should be limited to the controller.

func PostNamespace added in v0.0.10

func PostNamespace(c echo.Context, namespaceService namespace.Service) error

func PostValidateAppConfig

func PostValidateAppConfig(c echo.Context, appService app.Service, environmentService environment.Service) error

func PutDeploymentStatus

func PutDeploymentStatus(c echo.Context, deployments core.DeploymentRepository) error

func PutEnvironmentConfig added in v0.0.17

func PutEnvironmentConfig(c echo.Context, environmentService environment.Service) error

func PutRollout added in v0.0.6

func PutRollout(c echo.Context, rolloutService rollout.Service, environmentService environment.Service, repoCache *environment.RepoCache) error

func PutSecret

func PutSecret(c echo.Context, repoCache *environment.RepoCache, secretService secret.Service, environmentService environment.Service) error

func RegisterRoutes

func RegisterRoutes(e *echo.Echo, repoCache *environment.RepoCache, db *sql.DB)

Types

This section is empty.

Directories

Path Synopsis
model module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL