Documentation ¶
Index ¶
- type DeploymentChartInfo
- type DeploymentConfigRestHandler
- type DeploymentConfigRestHandlerImpl
- func (handler *DeploymentConfigRestHandlerImpl) CreateChartFromFile(w http.ResponseWriter, r *http.Request)
- func (handler *DeploymentConfigRestHandlerImpl) GetUploadedCharts(w http.ResponseWriter, r *http.Request)
- func (handler *DeploymentConfigRestHandlerImpl) SaveChart(w http.ResponseWriter, r *http.Request)
- type DeploymentConfigRouter
- type DeploymentConfigRouterImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentChartInfo ¶ added in v0.4.1
type DeploymentConfigRestHandler ¶
type DeploymentConfigRestHandler interface { CreateChartFromFile(w http.ResponseWriter, r *http.Request) SaveChart(w http.ResponseWriter, r *http.Request) GetUploadedCharts(w http.ResponseWriter, r *http.Request) }
type DeploymentConfigRestHandlerImpl ¶
type DeploymentConfigRestHandlerImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewDeploymentConfigRestHandlerImpl ¶
func NewDeploymentConfigRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, enforcer casbin.Enforcer, validator *validator.Validate, refChartDir chartRepoRepository.RefChartDir, chartService chart.ChartService, chartRefRepository chartRepoRepository.ChartRefRepository) *DeploymentConfigRestHandlerImpl
func (*DeploymentConfigRestHandlerImpl) CreateChartFromFile ¶
func (handler *DeploymentConfigRestHandlerImpl) CreateChartFromFile(w http.ResponseWriter, r *http.Request)
func (*DeploymentConfigRestHandlerImpl) GetUploadedCharts ¶ added in v0.4.10
func (handler *DeploymentConfigRestHandlerImpl) GetUploadedCharts(w http.ResponseWriter, r *http.Request)
func (*DeploymentConfigRestHandlerImpl) SaveChart ¶ added in v0.4.1
func (handler *DeploymentConfigRestHandlerImpl) SaveChart(w http.ResponseWriter, r *http.Request)
type DeploymentConfigRouter ¶
type DeploymentConfigRouterImpl ¶
type DeploymentConfigRouterImpl struct {
// contains filtered or unexported fields
}
func NewDeploymentRouterImpl ¶
func NewDeploymentRouterImpl(deploymentRestHandler DeploymentConfigRestHandler) *DeploymentConfigRouterImpl
func (DeploymentConfigRouterImpl) Init ¶
func (router DeploymentConfigRouterImpl) Init(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.