infraConfig

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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)
}

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) UpdateInfraProfile

func (handler *InfraConfigRestHandlerImpl) UpdateInfraProfile(w http.ResponseWriter, r *http.Request)

type InfraConfigRouter

type InfraConfigRouter interface {
	InitInfraConfigRouter(configRouter *mux.Router)
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL