Documentation ¶
Index ¶
- Variables
- type AppStoreRouter
- type AppStoreRouterImpl
- type AppStoreStatusTimelineRestHandler
- type AppStoreStatusTimelineRestHandlerImpl
- type InstalledAppRestHandler
- type InstalledAppRestHandlerImpl
- func (handler *InstalledAppRestHandlerImpl) CheckAppExists(w http.ResponseWriter, r *http.Request)
- func (impl *InstalledAppRestHandlerImpl) DefaultComponentInstallation(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) DeleteArgoInstalledAppWithNonCascade(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) DeployBulk(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) FetchAppDetailsForInstalledAppV2(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) FetchAppOverview(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) FetchNotesForArgoInstalledApp(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) FetchResourceTree(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) FetchResourceTreeForACDApp(w http.ResponseWriter, r *http.Request)
- func (handler InstalledAppRestHandlerImpl) GetAllInstalledApp(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) MigrateDeploymentTypeForChartStore(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) TriggerChartStoreAppAfterMigration(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var AppStoreWireSet = wire.NewSet( service.NewDeletePostProcessorImpl, wire.Bind(new(service.DeletePostProcessor), new(*service.DeletePostProcessorImpl)), service.NewAppAppStoreValidatorImpl, wire.Bind(new(service.AppStoreValidator), new(*service.AppStoreValidatorImpl)), )
Functions ¶
This section is empty.
Types ¶
type AppStoreRouter ¶
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) 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) 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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.