chartRepo

package
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const CHART_REPO_DELETE_SUCCESS_RESP = "Chart repo deleted successfully."
View Source
const CHART_STORE_VISITED_COUNTER = "ChartStoreVisitCount"

Variables

Functions

This section is empty.

Types

type ChartBinary added in v0.3.22

type ChartBinary struct {
	Version        string         `json:"binaryVersion"  validate:"required"`
	BinaryFile     multipart.File `json:"binaryFile"  validate:"required"`
	BinaryFileName string         `json:"binaryFileName" validate:"required"`
}

type ChartRepositoryRestHandler

type ChartRepositoryRestHandler interface {
	GetChartRepoById(w http.ResponseWriter, r *http.Request)
	GetChartRepoList(w http.ResponseWriter, r *http.Request)
	CreateChartRepo(w http.ResponseWriter, r *http.Request)
	UpdateChartRepo(w http.ResponseWriter, r *http.Request)
	ValidateChartRepo(w http.ResponseWriter, r *http.Request)
	TriggerChartSyncManual(w http.ResponseWriter, r *http.Request)
	DeleteChartRepo(w http.ResponseWriter, r *http.Request)
}

type ChartRepositoryRestHandlerImpl

type ChartRepositoryRestHandlerImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

func NewChartRepositoryRestHandlerImpl

func NewChartRepositoryRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, chartRepositoryService chartRepo.ChartRepositoryService,
	enforcer casbin.Enforcer, validator *validator.Validate, deleteService delete2.DeleteService,
	chartRefRepository chartRepoRepository.ChartRefRepository, refChartDir chartRepoRepository.RefChartDir, attributesService attributes.AttributesService) *ChartRepositoryRestHandlerImpl

func (*ChartRepositoryRestHandlerImpl) CreateChartRepo

func (handler *ChartRepositoryRestHandlerImpl) CreateChartRepo(w http.ResponseWriter, r *http.Request)

func (*ChartRepositoryRestHandlerImpl) DeleteChartRepo

func (handler *ChartRepositoryRestHandlerImpl) DeleteChartRepo(w http.ResponseWriter, r *http.Request)

func (*ChartRepositoryRestHandlerImpl) GetChartRepoById

func (handler *ChartRepositoryRestHandlerImpl) GetChartRepoById(w http.ResponseWriter, r *http.Request)

func (*ChartRepositoryRestHandlerImpl) GetChartRepoList

func (handler *ChartRepositoryRestHandlerImpl) GetChartRepoList(w http.ResponseWriter, r *http.Request)

func (*ChartRepositoryRestHandlerImpl) TriggerChartSyncManual

func (handler *ChartRepositoryRestHandlerImpl) TriggerChartSyncManual(w http.ResponseWriter, r *http.Request)

func (*ChartRepositoryRestHandlerImpl) UpdateChartRepo

func (handler *ChartRepositoryRestHandlerImpl) UpdateChartRepo(w http.ResponseWriter, r *http.Request)

func (*ChartRepositoryRestHandlerImpl) ValidateChartRepo

func (handler *ChartRepositoryRestHandlerImpl) ValidateChartRepo(w http.ResponseWriter, r *http.Request)

type ChartRepositoryRouter

type ChartRepositoryRouter interface {
	Init(configRouter *mux.Router)
}

type ChartRepositoryRouterImpl

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

func NewChartRepositoryRouterImpl

func NewChartRepositoryRouterImpl(chartRepositoryRestHandler ChartRepositoryRestHandler) *ChartRepositoryRouterImpl

func (ChartRepositoryRouterImpl) Init

func (router ChartRepositoryRouterImpl) Init(configRouter *mux.Router)

Jump to

Keyboard shortcuts

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