Documentation
¶
Index ¶
- type InfraConfigRestHandler
- type InfraConfigRestHandlerEnt
- type InfraConfigRestHandlerImpl
- func (handler *InfraConfigRestHandlerImpl) GetProfile(w http.ResponseWriter, r *http.Request)
- func (handler *InfraConfigRestHandlerImpl) GetProfileV0(w http.ResponseWriter, r *http.Request)deprecated
- func (handler *InfraConfigRestHandlerImpl) UpdateInfraProfile(w http.ResponseWriter, r *http.Request)
- func (handler *InfraConfigRestHandlerImpl) UpdateInfraProfileV0(w http.ResponseWriter, r *http.Request)
- type InfraConfigRouter
- type InfraConfigRouterImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfraConfigRestHandler ¶
type InfraConfigRestHandler interface { GetProfile(w http.ResponseWriter, r *http.Request) UpdateInfraProfile(w http.ResponseWriter, r *http.Request) // Deprecated: GetProfileV0 is deprecated in favour of GetProfile GetProfileV0(w http.ResponseWriter, r *http.Request) // Deprecated: UpdateInfraProfileV0 is deprecated in favour of UpdateInfraProfile UpdateInfraProfileV0(w http.ResponseWriter, r *http.Request) InfraConfigRestHandlerEnt }
type InfraConfigRestHandlerEnt ¶ added in v1.2.2
type InfraConfigRestHandlerEnt interface { }
type InfraConfigRestHandlerImpl ¶
type InfraConfigRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewInfraConfigRestHandlerImpl ¶
func NewInfraConfigRestHandlerImpl(logger *zap.SugaredLogger, infraProfileService service.InfraConfigService, userService user.UserService, enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, validator *validator.Validate) *InfraConfigRestHandlerImpl
func (*InfraConfigRestHandlerImpl) GetProfile ¶
func (handler *InfraConfigRestHandlerImpl) GetProfile(w http.ResponseWriter, r *http.Request)
func (*InfraConfigRestHandlerImpl) GetProfileV0
deprecated
added in
v1.1.0
func (handler *InfraConfigRestHandlerImpl) GetProfileV0(w http.ResponseWriter, r *http.Request)
Deprecated: GetProfileV0 is deprecated in favour of GetProfile
func (*InfraConfigRestHandlerImpl) UpdateInfraProfile ¶
func (handler *InfraConfigRestHandlerImpl) UpdateInfraProfile(w http.ResponseWriter, r *http.Request)
func (*InfraConfigRestHandlerImpl) UpdateInfraProfileV0 ¶ added in v1.1.0
func (handler *InfraConfigRestHandlerImpl) UpdateInfraProfileV0(w http.ResponseWriter, r *http.Request)
type InfraConfigRouter ¶
type InfraConfigRouterImpl ¶
type InfraConfigRouterImpl struct {
// contains filtered or unexported fields
}
func NewInfraProfileRouterImpl ¶
func NewInfraProfileRouterImpl(infraConfigRestHandler InfraConfigRestHandler) *InfraConfigRouterImpl
func (*InfraConfigRouterImpl) InitInfraConfigRouter ¶
func (impl *InfraConfigRouterImpl) InitInfraConfigRouter(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.