Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WebhookHelmWireSet = wire.NewSet( webhookHelm.NewWebhookHelmServiceImpl, wire.Bind(new(webhookHelm.WebhookHelmService), new(*webhookHelm.WebhookHelmServiceImpl)), NewWebhookHelmRestHandlerImpl, wire.Bind(new(WebhookHelmRestHandler), new(*WebhookHelmRestHandlerImpl)), NewWebhookHelmRouterImpl, wire.Bind(new(WebhookHelmRouter), new(*WebhookHelmRouterImpl)), )
Functions ¶
This section is empty.
Types ¶
type WebhookHelmRestHandler ¶
type WebhookHelmRestHandler interface {
InstallOrUpdateApplication(w http.ResponseWriter, r *http.Request)
}
type WebhookHelmRestHandlerImpl ¶
type WebhookHelmRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewWebhookHelmRestHandlerImpl ¶
func NewWebhookHelmRestHandlerImpl(logger *zap.SugaredLogger, webhookHelmService webhookHelm.WebhookHelmService, userService user.UserService, enforcer casbin.Enforcer, validator *validator.Validate) *WebhookHelmRestHandlerImpl
func (WebhookHelmRestHandlerImpl) InstallOrUpdateApplication ¶
func (impl WebhookHelmRestHandlerImpl) InstallOrUpdateApplication(w http.ResponseWriter, r *http.Request)
type WebhookHelmRouter ¶
type WebhookHelmRouterImpl ¶
type WebhookHelmRouterImpl struct {
// contains filtered or unexported fields
}
func NewWebhookHelmRouterImpl ¶
func NewWebhookHelmRouterImpl(webhookHelmRestHandler WebhookHelmRestHandler) *WebhookHelmRouterImpl
func (WebhookHelmRouterImpl) InitWebhookHelmRouter ¶
func (impl WebhookHelmRouterImpl) InitWebhookHelmRouter(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.