Documentation
¶
Index ¶
- type InfraConfigRestHandler
- type InfraConfigRestHandlerImpl
- func (handler *InfraConfigRestHandlerImpl) GetProfile(w http.ResponseWriter, r *http.Request)
- func (handler *InfraConfigRestHandlerImpl) GetProfileV0(w http.ResponseWriter, r *http.Request)
- 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 { UpdateInfraProfile(w http.ResponseWriter, r *http.Request) GetProfile(w http.ResponseWriter, r *http.Request) // Deprecated: UpdateInfraProfileV0 is deprecated in favour of UpdateInfraProfile UpdateInfraProfileV0(w http.ResponseWriter, r *http.Request) // Deprecated: GetProfileV0 is deprecated in favour of GetProfile GetProfileV0(w http.ResponseWriter, r *http.Request) }
type InfraConfigRestHandlerImpl ¶
type InfraConfigRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewInfraConfigRestHandlerImpl ¶
func NewInfraConfigRestHandlerImpl(logger *zap.SugaredLogger, infraProfileService infraConfig.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 ¶ added in v1.1.0
func (handler *InfraConfigRestHandlerImpl) GetProfileV0(w http.ResponseWriter, r *http.Request)
Deprecated
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)
Deprecated
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.