client

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const HELM_APP_ACCESS_COUNTER = "HelmAppAccessCounter"
View Source
const HELM_APP_UPDATE_COUNTER = "HelmAppUpdateCounter"

Variables

Functions

This section is empty.

Types

type HelmAppRestHandler

type HelmAppRestHandler interface {
	ListApplications(w http.ResponseWriter, r *http.Request)
	GetApplicationDetail(w http.ResponseWriter, r *http.Request)
	Hibernate(w http.ResponseWriter, r *http.Request)
	UnHibernate(w http.ResponseWriter, r *http.Request)
	GetReleaseInfo(w http.ResponseWriter, r *http.Request)
	GetDesiredManifest(w http.ResponseWriter, r *http.Request)
	DeleteApplication(w http.ResponseWriter, r *http.Request)
	UpdateApplication(w http.ResponseWriter, r *http.Request)
	TemplateChart(w http.ResponseWriter, r *http.Request)
	SaveHelmAppDetailsViewedTelemetryData(w http.ResponseWriter, r *http.Request)
}

type HelmAppRestHandlerImpl

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

func NewHelmAppRestHandlerImpl

func NewHelmAppRestHandlerImpl(logger *zap.SugaredLogger,
	helmAppService service2.HelmAppService, enforcer casbin.Enforcer,
	clusterService cluster.ClusterService, enforcerUtil rbac.EnforcerUtilHelm,
	appStoreDeploymentService service.AppStoreDeploymentService, installedAppService EAMode.InstalledAppDBService,
	userAuthService user.UserService, attributesService attributes.AttributesService, serverEnvConfig *serverEnvConfig.ServerEnvConfig) *HelmAppRestHandlerImpl

func (*HelmAppRestHandlerImpl) DeleteApplication

func (handler *HelmAppRestHandlerImpl) DeleteApplication(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) GetApplicationDetail

func (handler *HelmAppRestHandlerImpl) GetApplicationDetail(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) GetDesiredManifest

func (handler *HelmAppRestHandlerImpl) GetDesiredManifest(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) GetReleaseInfo added in v0.3.20

func (handler *HelmAppRestHandlerImpl) GetReleaseInfo(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) Hibernate

func (handler *HelmAppRestHandlerImpl) Hibernate(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) ListApplications

func (handler *HelmAppRestHandlerImpl) ListApplications(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) SaveHelmAppDetailsViewedTelemetryData added in v0.6.7

func (handler *HelmAppRestHandlerImpl) SaveHelmAppDetailsViewedTelemetryData(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) TemplateChart added in v0.4.4

func (handler *HelmAppRestHandlerImpl) TemplateChart(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) UnHibernate

func (handler *HelmAppRestHandlerImpl) UnHibernate(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) UpdateApplication

func (handler *HelmAppRestHandlerImpl) UpdateApplication(w http.ResponseWriter, r *http.Request)

type HelmAppRouter

type HelmAppRouter interface {
	InitAppListRouter(helmRouter *mux.Router)
}

type HelmAppRouterImpl

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

func NewHelmAppRouterImpl

func NewHelmAppRouterImpl(helmAppRestHandler HelmAppRestHandler) *HelmAppRouterImpl

func (*HelmAppRouterImpl) InitAppListRouter

func (impl *HelmAppRouterImpl) InitAppListRouter(helmRouter *mux.Router)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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