appStore

package
v0.7.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 44 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AppStoreRouter

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

type AppStoreRouterImpl

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

func NewAppStoreRouterImpl

func NewAppStoreRouterImpl(restHandler InstalledAppRestHandler,
	appStoreValuesRouter appStoreValues.AppStoreValuesRouter,
	appStoreDiscoverRouter appStoreDiscover.AppStoreDiscoverRouter,
	chartProviderRouter chartProvider.ChartProviderRouter,
	appStoreDeploymentRouter appStoreDeployment.AppStoreDeploymentRouter,
	appStoreStatusTimelineRestHandler AppStoreStatusTimelineRestHandler) *AppStoreRouterImpl

func (AppStoreRouterImpl) Init

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

type AppStoreStatusTimelineRestHandler added in v0.6.17

type AppStoreStatusTimelineRestHandler interface {
	FetchTimelinesForAppStore(w http.ResponseWriter, r *http.Request)
}

type AppStoreStatusTimelineRestHandlerImpl added in v0.6.17

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

func NewAppStoreStatusTimelineRestHandlerImpl added in v0.6.17

func NewAppStoreStatusTimelineRestHandlerImpl(logger *zap.SugaredLogger,
	pipelineStatusTimelineService status.PipelineStatusTimelineService,
	enforcerUtil rbac.EnforcerUtil,
	enforcer casbin.Enforcer) *AppStoreStatusTimelineRestHandlerImpl

func (AppStoreStatusTimelineRestHandlerImpl) FetchTimelinesForAppStore added in v0.6.17

func (handler AppStoreStatusTimelineRestHandlerImpl) FetchTimelinesForAppStore(w http.ResponseWriter, r *http.Request)

type InstalledAppRestHandler

type InstalledAppRestHandler interface {
	FetchAppOverview(w http.ResponseWriter, r *http.Request)
	GetAllInstalledApp(w http.ResponseWriter, r *http.Request)
	DeployBulk(w http.ResponseWriter, r *http.Request)
	CheckAppExists(w http.ResponseWriter, r *http.Request)
	DefaultComponentInstallation(w http.ResponseWriter, r *http.Request)
	FetchAppDetailsForInstalledApp(w http.ResponseWriter, r *http.Request)
	DeleteArgoInstalledAppWithNonCascade(w http.ResponseWriter, r *http.Request)
	FetchAppDetailsForInstalledAppV2(w http.ResponseWriter, r *http.Request)
	FetchResourceTree(w http.ResponseWriter, r *http.Request)
	FetchResourceTreeForACDApp(w http.ResponseWriter, r *http.Request)
	FetchNotesForArgoInstalledApp(w http.ResponseWriter, r *http.Request)
	MigrateDeploymentTypeForChartStore(w http.ResponseWriter, r *http.Request)
	TriggerChartStoreAppAfterMigration(w http.ResponseWriter, r *http.Request)
}

type InstalledAppRestHandlerImpl

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

func NewInstalledAppRestHandlerImpl

func NewInstalledAppRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService,
	enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, enforcerUtilHelm rbac.EnforcerUtilHelm,
	installedAppService FullMode.InstalledAppDBExtendedService,
	installedAppResourceService resource.InstalledAppResourceService,
	chartGroupService chartGroup.ChartGroupService, validator *validator.Validate, clusterService cluster.ClusterService,
	acdServiceClient application.ServiceClient, appStoreDeploymentService service.AppStoreDeploymentService,
	appStoreDeploymentDBService service.AppStoreDeploymentDBService,
	helmAppClient client.HelmAppClient, argoUserService argo.ArgoUserService,
	cdApplicationStatusUpdateHandler cron.CdApplicationStatusUpdateHandler,
	installedAppRepository repository.InstalledAppRepository,
	appCrudOperationService app2.AppCrudOperationService,
	installedAppDeploymentTypeChangeService deploymentTypeChange.InstalledAppDeploymentTypeChangeService) *InstalledAppRestHandlerImpl

func (*InstalledAppRestHandlerImpl) CheckAppExists

func (handler *InstalledAppRestHandlerImpl) CheckAppExists(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) DefaultComponentInstallation

func (impl *InstalledAppRestHandlerImpl) DefaultComponentInstallation(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) DeleteArgoInstalledAppWithNonCascade added in v0.6.18

func (handler *InstalledAppRestHandlerImpl) DeleteArgoInstalledAppWithNonCascade(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) DeployBulk

func (handler *InstalledAppRestHandlerImpl) DeployBulk(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) FetchAppDetailsForInstalledApp

func (handler *InstalledAppRestHandlerImpl) FetchAppDetailsForInstalledApp(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) FetchAppDetailsForInstalledAppV2 added in v0.6.17

func (handler *InstalledAppRestHandlerImpl) FetchAppDetailsForInstalledAppV2(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) FetchAppOverview added in v0.6.26

func (handler *InstalledAppRestHandlerImpl) FetchAppOverview(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) FetchNotesForArgoInstalledApp added in v0.6.15

func (handler *InstalledAppRestHandlerImpl) FetchNotesForArgoInstalledApp(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) FetchResourceTree added in v0.6.17

func (handler *InstalledAppRestHandlerImpl) FetchResourceTree(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) FetchResourceTreeForACDApp added in v0.6.15

func (handler *InstalledAppRestHandlerImpl) FetchResourceTreeForACDApp(w http.ResponseWriter, r *http.Request)

func (InstalledAppRestHandlerImpl) GetAllInstalledApp

func (handler InstalledAppRestHandlerImpl) GetAllInstalledApp(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) MigrateDeploymentTypeForChartStore added in v0.6.29

func (handler *InstalledAppRestHandlerImpl) MigrateDeploymentTypeForChartStore(w http.ResponseWriter, r *http.Request)

func (*InstalledAppRestHandlerImpl) TriggerChartStoreAppAfterMigration added in v0.6.29

func (handler *InstalledAppRestHandlerImpl) TriggerChartStoreAppAfterMigration(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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