appStoreDeployment

package
v0.0.0-...-987a61a Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AppStoreDeploymentRestHandler

type AppStoreDeploymentRestHandler interface {
	InstallApp(w http.ResponseWriter, r *http.Request)
	GetInstalledAppsByAppStoreId(w http.ResponseWriter, r *http.Request)
	DeleteInstalledApp(w http.ResponseWriter, r *http.Request)
	LinkHelmApplicationToChartStore(w http.ResponseWriter, r *http.Request)
	UpdateInstalledApp(w http.ResponseWriter, r *http.Request)
	GetInstalledAppVersion(w http.ResponseWriter, r *http.Request)
}

type AppStoreDeploymentRestHandlerImpl

type AppStoreDeploymentRestHandlerImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

func NewAppStoreDeploymentRestHandlerImpl

func NewAppStoreDeploymentRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService,
	enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, enforcerUtilHelm rbac.EnforcerUtilHelm, appStoreDeploymentService service.AppStoreDeploymentService,
	validator *validator.Validate, helmAppService client.HelmAppService, appStoreDeploymentServiceC appStoreDeploymentCommon.AppStoreDeploymentCommonService,
) *AppStoreDeploymentRestHandlerImpl

func (AppStoreDeploymentRestHandlerImpl) DeleteInstalledApp

func (handler AppStoreDeploymentRestHandlerImpl) DeleteInstalledApp(w http.ResponseWriter, r *http.Request)

func (AppStoreDeploymentRestHandlerImpl) GetInstalledAppVersion

func (handler AppStoreDeploymentRestHandlerImpl) GetInstalledAppVersion(w http.ResponseWriter, r *http.Request)

func (AppStoreDeploymentRestHandlerImpl) GetInstalledAppsByAppStoreId

func (handler AppStoreDeploymentRestHandlerImpl) GetInstalledAppsByAppStoreId(w http.ResponseWriter, r *http.Request)

func (AppStoreDeploymentRestHandlerImpl) InstallApp

func (*AppStoreDeploymentRestHandlerImpl) LinkHelmApplicationToChartStore

func (handler *AppStoreDeploymentRestHandlerImpl) LinkHelmApplicationToChartStore(w http.ResponseWriter, r *http.Request)

func (AppStoreDeploymentRestHandlerImpl) UpdateInstalledApp

func (handler AppStoreDeploymentRestHandlerImpl) UpdateInstalledApp(w http.ResponseWriter, r *http.Request)

type AppStoreDeploymentRouter

type AppStoreDeploymentRouter interface {
	Init(configRouter *mux.Router)
}

type AppStoreDeploymentRouterImpl

type AppStoreDeploymentRouterImpl struct {
	// contains filtered or unexported fields
}

func NewAppStoreDeploymentRouterImpl

func NewAppStoreDeploymentRouterImpl(appStoreDeploymentRestHandler AppStoreDeploymentRestHandler) *AppStoreDeploymentRouterImpl

func (AppStoreDeploymentRouterImpl) Init

func (router AppStoreDeploymentRouterImpl) Init(configRouter *mux.Router)

type CommonDeploymentRestHandler

type CommonDeploymentRestHandler interface {
	GetDeploymentHistory(w http.ResponseWriter, r *http.Request)
	GetDeploymentHistoryValues(w http.ResponseWriter, r *http.Request)
	RollbackApplication(w http.ResponseWriter, r *http.Request)
}

type CommonDeploymentRestHandlerImpl

type CommonDeploymentRestHandlerImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

func NewCommonDeploymentRestHandlerImpl

func NewCommonDeploymentRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService,
	enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, enforcerUtilHelm rbac.EnforcerUtilHelm, appStoreDeploymentService service.AppStoreDeploymentService,
	validator *validator.Validate, helmAppService client.HelmAppService, appStoreDeploymentServiceC appStoreDeploymentCommon.AppStoreDeploymentCommonService,
	helmAppRestHandler client.HelmAppRestHandler) *CommonDeploymentRestHandlerImpl

func (*CommonDeploymentRestHandlerImpl) GetDeploymentHistory

func (handler *CommonDeploymentRestHandlerImpl) GetDeploymentHistory(w http.ResponseWriter, r *http.Request)

func (*CommonDeploymentRestHandlerImpl) GetDeploymentHistoryValues

func (handler *CommonDeploymentRestHandlerImpl) GetDeploymentHistoryValues(w http.ResponseWriter, r *http.Request)

func (*CommonDeploymentRestHandlerImpl) RollbackApplication

func (handler *CommonDeploymentRestHandlerImpl) RollbackApplication(w http.ResponseWriter, r *http.Request)

type CommonDeploymentRouter

type CommonDeploymentRouter interface {
	Init(configRouter *mux.Router)
}

type CommonDeploymentRouterImpl

type CommonDeploymentRouterImpl struct {
	// contains filtered or unexported fields
}

func NewCommonDeploymentRouterImpl

func NewCommonDeploymentRouterImpl(commonDeploymentRestHandler CommonDeploymentRestHandler) *CommonDeploymentRouterImpl

func (CommonDeploymentRouterImpl) Init

func (router CommonDeploymentRouterImpl) Init(configRouter *mux.Router)

Jump to

Keyboard shortcuts

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