Documentation
¶
Index ¶
- type AppAutocomplete
- type AppFilteringRestHandler
- type AppFilteringRestHandlerImpl
- type AppListingRestHandler
- type AppListingRestHandlerImpl
- func (handler AppListingRestHandlerImpl) FetchAllDevtronManagedApps(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchAppDetails(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchAppDetailsV2(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchAppStageStatus(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchAppsByEnvironmentV2(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchJobOverviewCiPipelines(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchJobs(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchMinDetailOtherEnvironment(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchOtherEnvironment(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchOverviewAppsByEnvironment(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) FetchResourceTree(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) GetHostUrlsByBatch(w http.ResponseWriter, r *http.Request)
- func (handler AppListingRestHandlerImpl) RedirectToLinkouts(w http.ResponseWriter, r *http.Request)
- type AppStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAutocomplete ¶
type AppAutocomplete struct { Teams []team.TeamRequest Environments []bean2.EnvironmentBean Clusters []cluster.ClusterBean }
type AppFilteringRestHandler ¶
type AppFilteringRestHandler interface {
GetClusterTeamAndEnvListForAutocomplete(w http.ResponseWriter, r *http.Request)
}
type AppFilteringRestHandlerImpl ¶
type AppFilteringRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewAppFilteringRestHandlerImpl ¶
func NewAppFilteringRestHandlerImpl(logger *zap.SugaredLogger, teamService team.TeamService, enforcer casbin.Enforcer, userService user.UserService, clusterService cluster.ClusterService, environmentClusterMappingsService cluster.EnvironmentService, ) *AppFilteringRestHandlerImpl
func (AppFilteringRestHandlerImpl) GetClusterTeamAndEnvListForAutocomplete ¶
func (handler AppFilteringRestHandlerImpl) GetClusterTeamAndEnvListForAutocomplete(w http.ResponseWriter, r *http.Request)
type AppListingRestHandler ¶
type AppListingRestHandler interface { FetchAppDetails(w http.ResponseWriter, r *http.Request) FetchJobs(w http.ResponseWriter, r *http.Request) FetchJobOverviewCiPipelines(w http.ResponseWriter, r *http.Request) FetchAppDetailsV2(w http.ResponseWriter, r *http.Request) FetchResourceTree(w http.ResponseWriter, r *http.Request) FetchAllDevtronManagedApps(w http.ResponseWriter, r *http.Request) FetchAppStageStatus(w http.ResponseWriter, r *http.Request) FetchOtherEnvironment(w http.ResponseWriter, r *http.Request) FetchMinDetailOtherEnvironment(w http.ResponseWriter, r *http.Request) RedirectToLinkouts(w http.ResponseWriter, r *http.Request) GetHostUrlsByBatch(w http.ResponseWriter, r *http.Request) FetchAppsByEnvironmentV2(w http.ResponseWriter, r *http.Request) FetchOverviewAppsByEnvironment(w http.ResponseWriter, r *http.Request) }
type AppListingRestHandlerImpl ¶
type AppListingRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewAppListingRestHandlerImpl ¶
func NewAppListingRestHandlerImpl(application application.ServiceClient, appListingService app.AppListingService, enforcer casbin.Enforcer, pipeline pipeline.PipelineBuilder, logger *zap.SugaredLogger, enforcerUtil rbac.EnforcerUtil, deploymentGroupService deploymentGroup.DeploymentGroupService, userService user.UserService, helmAppClient gRPC.HelmAppClient, helmAppService client.HelmAppService, argoUserService argo.ArgoUserService, k8sCommonService k8s.K8sCommonService, installedAppService FullMode.InstalledAppDBExtendedService, installedAppResourceService resource.InstalledAppResourceService, cdApplicationStatusUpdateHandler cron.CdApplicationStatusUpdateHandler, pipelineRepository pipelineConfig.PipelineRepository, appStatusService appStatus.AppStatusService, installedAppRepository repository.InstalledAppRepository, genericNoteService genericNotes.GenericNoteService, k8sApplicationService application3.K8sApplicationService, deploymentTemplateService generateManifest.DeploymentTemplateService, ) *AppListingRestHandlerImpl
func (AppListingRestHandlerImpl) FetchAllDevtronManagedApps ¶
func (handler AppListingRestHandlerImpl) FetchAllDevtronManagedApps(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchAppDetails ¶
func (handler AppListingRestHandlerImpl) FetchAppDetails(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchAppDetailsV2 ¶
func (handler AppListingRestHandlerImpl) FetchAppDetailsV2(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchAppStageStatus ¶
func (handler AppListingRestHandlerImpl) FetchAppStageStatus(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchAppsByEnvironmentV2 ¶
func (handler AppListingRestHandlerImpl) FetchAppsByEnvironmentV2(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchJobOverviewCiPipelines ¶
func (handler AppListingRestHandlerImpl) FetchJobOverviewCiPipelines(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchJobs ¶
func (handler AppListingRestHandlerImpl) FetchJobs(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchMinDetailOtherEnvironment ¶
func (handler AppListingRestHandlerImpl) FetchMinDetailOtherEnvironment(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchOtherEnvironment ¶
func (handler AppListingRestHandlerImpl) FetchOtherEnvironment(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) FetchOverviewAppsByEnvironment ¶
func (handler AppListingRestHandlerImpl) FetchOverviewAppsByEnvironment(w http.ResponseWriter, r *http.Request)
TODO refactoring: use schema.NewDecoder().Decode(&queryStruct, r.URL.Query())
func (AppListingRestHandlerImpl) FetchResourceTree ¶
func (handler AppListingRestHandlerImpl) FetchResourceTree(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) GetHostUrlsByBatch ¶
func (handler AppListingRestHandlerImpl) GetHostUrlsByBatch(w http.ResponseWriter, r *http.Request)
func (AppListingRestHandlerImpl) RedirectToLinkouts ¶
func (handler AppListingRestHandlerImpl) RedirectToLinkouts(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.