Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArgoApplicationWireSetEA = wire.NewSet( read.NewArgoApplicationReadServiceImpl, wire.Bind(new(read.ArgoApplicationReadService), new(*read.ArgoApplicationReadServiceImpl)), config.NewArgoApplicationConfigServiceImpl, wire.Bind(new(config.ArgoApplicationConfigService), new(*config.ArgoApplicationConfigServiceImpl)), argoApplication.NewArgoApplicationServiceImpl, wire.Bind(new(argoApplication.ArgoApplicationService), new(*argoApplication.ArgoApplicationServiceImpl)), NewArgoApplicationRestHandlerImpl, wire.Bind(new(ArgoApplicationRestHandler), new(*ArgoApplicationRestHandlerImpl)), NewArgoApplicationRouterImpl, wire.Bind(new(ArgoApplicationRouter), new(*ArgoApplicationRouterImpl)), )
View Source
var ArgoApplicationWireSetFull = wire.NewSet( read.NewArgoApplicationReadServiceImpl, wire.Bind(new(read.ArgoApplicationReadService), new(*read.ArgoApplicationReadServiceImpl)), config.NewArgoApplicationConfigServiceImpl, wire.Bind(new(config.ArgoApplicationConfigService), new(*config.ArgoApplicationConfigServiceImpl)), argoApplication.NewArgoApplicationServiceExtendedServiceImpl, wire.Bind(new(argoApplication.ArgoApplicationService), new(*argoApplication.ArgoApplicationServiceExtendedImpl)), 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, readService read.ArgoApplicationReadService, 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.