appStoreDiscover

package
v0.0.0-...-19fb9ea Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AppStoreDiscoverRouter

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

type AppStoreDiscoverRouterImpl

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

func NewAppStoreDiscoverRouterImpl

func NewAppStoreDiscoverRouterImpl(appStoreRestHandler AppStoreRestHandler) *AppStoreDiscoverRouterImpl

func (AppStoreDiscoverRouterImpl) Init

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

type AppStoreRestHandler

type AppStoreRestHandler interface {
	FindAllApps(w http.ResponseWriter, r *http.Request)
	GetChartDetailsForVersion(w http.ResponseWriter, r *http.Request)
	GetChartVersions(w http.ResponseWriter, r *http.Request)
	GetReadme(w http.ResponseWriter, r *http.Request)
	SearchAppStoreChartByName(w http.ResponseWriter, r *http.Request)
}

type AppStoreRestHandlerImpl

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

func NewAppStoreRestHandlerImpl

func NewAppStoreRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, appStoreService service.AppStoreService,
	enforcer casbin.Enforcer) *AppStoreRestHandlerImpl

func (*AppStoreRestHandlerImpl) FindAllApps

func (handler *AppStoreRestHandlerImpl) FindAllApps(w http.ResponseWriter, r *http.Request)

func (*AppStoreRestHandlerImpl) GetChartDetailsForVersion

func (handler *AppStoreRestHandlerImpl) GetChartDetailsForVersion(w http.ResponseWriter, r *http.Request)

func (*AppStoreRestHandlerImpl) GetChartVersions

func (handler *AppStoreRestHandlerImpl) GetChartVersions(w http.ResponseWriter, r *http.Request)

func (*AppStoreRestHandlerImpl) GetReadme

func (handler *AppStoreRestHandlerImpl) GetReadme(w http.ResponseWriter, r *http.Request)

func (*AppStoreRestHandlerImpl) SearchAppStoreChartByName

func (handler *AppStoreRestHandlerImpl) SearchAppStoreChartByName(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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