appStore

package
v0.6.25-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 {
	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)
}

type InstalledAppRestHandlerImpl

type InstalledAppRestHandlerImpl struct {
	Logger *zap.SugaredLogger

	K8sApplicationService application2.K8sApplicationService
	// 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 service.InstalledAppService,
	validator *validator.Validate, clusterService cluster.ClusterService, acdServiceClient application.ServiceClient,
	appStoreDeploymentService service.AppStoreDeploymentService, helmAppClient client.HelmAppClient, helmAppService client.HelmAppService,
	argoUserService argo.ArgoUserService,
	cdApplicationStatusUpdateHandler cron.CdApplicationStatusUpdateHandler,
	installedAppRepository repository.InstalledAppRepository,
) *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) 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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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