appList

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

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 {
	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,
	deploymentConfigService common2.DeploymentConfigService,
	argoApplicationService argoApplication2.ArgoApplicationService,
) *AppListingRestHandlerImpl

func (AppListingRestHandlerImpl) FetchAllDevtronManagedApps

func (handler AppListingRestHandlerImpl) FetchAllDevtronManagedApps(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)

type AppStatus

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

Jump to

Keyboard shortcuts

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