Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArgoApplicationWireSet = wire.NewSet( argoApplication.NewArgoApplicationServiceImpl, wire.Bind(new(argoApplication.ArgoApplicationService), new(*argoApplication.ArgoApplicationServiceImpl)), NewArgoApplicationRestHandlerImpl, wire.Bind(new(ArgoApplicationRestHandler), new(*ArgoApplicationRestHandlerImpl)), NewArgoApplicationRouterImpl, wire.Bind(new(ArgoApplicationRouter), new(*ArgoApplicationRouterImpl)), )
Functions ¶
This section is empty.
Types ¶
type ArgoApplicationRestHandler ¶
type ArgoApplicationRestHandler interface { ListApplications(w http.ResponseWriter, r *http.Request) GetApplicationDetail(w http.ResponseWriter, r *http.Request) }
type ArgoApplicationRestHandlerImpl ¶
type ArgoApplicationRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewArgoApplicationRestHandlerImpl ¶
func NewArgoApplicationRestHandlerImpl(argoApplicationService argoApplication.ArgoApplicationService, logger *zap.SugaredLogger, enforcer casbin.Enforcer) *ArgoApplicationRestHandlerImpl
func (*ArgoApplicationRestHandlerImpl) GetApplicationDetail ¶
func (handler *ArgoApplicationRestHandlerImpl) GetApplicationDetail(w http.ResponseWriter, r *http.Request)
func (*ArgoApplicationRestHandlerImpl) ListApplications ¶
func (handler *ArgoApplicationRestHandlerImpl) ListApplications(w http.ResponseWriter, r *http.Request)
type ArgoApplicationRouter ¶
type ArgoApplicationRouterImpl ¶
type ArgoApplicationRouterImpl struct {
// contains filtered or unexported fields
}
func NewArgoApplicationRouterImpl ¶
func NewArgoApplicationRouterImpl(argoApplicationRestHandler ArgoApplicationRestHandler) *ArgoApplicationRouterImpl
func (*ArgoApplicationRouterImpl) InitArgoApplicationRouter ¶
func (impl *ArgoApplicationRouterImpl) InitArgoApplicationRouter(argoApplicationRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.