Documentation ¶
Index ¶
- Constants
- Variables
- type HelmAppRestHandler
- type HelmAppRestHandlerImpl
- func (handler *HelmAppRestHandlerImpl) DeleteApplication(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) GetApplicationDetail(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) GetDesiredManifest(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) GetReleaseInfo(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) Hibernate(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) ListApplications(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) SaveHelmAppDetailsViewedTelemetryData(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) TemplateChart(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) UnHibernate(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) UpdateApplication(w http.ResponseWriter, r *http.Request)
- type HelmAppRouter
- type HelmAppRouterImpl
Constants ¶
View Source
const HELM_APP_ACCESS_COUNTER = "HelmAppAccessCounter"
View Source
const HELM_APP_UPDATE_COUNTER = "HelmAppUpdateCounter"
Variables ¶
View Source
var HelmAppWireSet = wire.NewSet( grpcUtil.GetConfiguration, gRPC.NewHelmAppClientImpl, wire.Bind(new(gRPC.HelmAppClient), new(*gRPC.HelmAppClientImpl)), service.GetHelmReleaseConfig, service.NewHelmAppServiceImpl, wire.Bind(new(service.HelmAppService), new(*service.HelmAppServiceImpl)), NewHelmAppRestHandlerImpl, wire.Bind(new(HelmAppRestHandler), new(*HelmAppRestHandlerImpl)), NewHelmAppRouterImpl, wire.Bind(new(HelmAppRouter), new(*HelmAppRouterImpl)), gRPC.GetConfig, rbac.NewEnforcerUtilHelmImpl, wire.Bind(new(rbac.EnforcerUtilHelm), new(*rbac.EnforcerUtilHelmImpl)), )
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 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)
Click to show internal directories.
Click to hide internal directories.