appList

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 46 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        []bean6.TeamRequest
	Environments []bean2.EnvironmentBean
	Clusters     []bean5.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 environment.EnvironmentService,
	teamReadService read.TeamReadService,
) *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)

	//ent
	FetchAppPolicyConsequences(w http.ResponseWriter, r *http.Request)
	FetchAutocompleteJobCiPipelines(w http.ResponseWriter, r *http.Request)
	GetAllAppEnvsFromResourceNames(w http.ResponseWriter, r *http.Request)
}

type AppListingRestHandlerImpl

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

func NewAppListingRestHandlerImpl

func NewAppListingRestHandlerImpl(appListingService app.AppListingService,
	enforcer casbin.Enforcer,
	pipeline pipeline.PipelineBuilder,
	logger *zap.SugaredLogger, enforcerUtil rbac.EnforcerUtil,
	deploymentGroupService deploymentGroup.DeploymentGroupService, userService user.UserService,
	k8sCommonService k8s.K8sCommonService,
	installedAppService FullMode.InstalledAppDBExtendedService,
	installedAppResourceService resource.InstalledAppResourceService,
	pipelineRepository pipelineConfig.PipelineRepository,
	k8sApplicationService k8sApplication.K8sApplicationService,
	deploymentConfigService common2.DeploymentConfigService,
	resourceTreeService resourceTree.Service) *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) FetchAppPolicyConsequences added in v1.2.1

func (handler AppListingRestHandlerImpl) FetchAppPolicyConsequences(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) FetchAutocompleteJobCiPipelines added in v1.2.1

func (handler AppListingRestHandlerImpl) FetchAutocompleteJobCiPipelines(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) GetAllAppEnvsFromResourceNames added in v1.2.1

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