Documentation ¶
Index ¶
- type JsonResponse
- type ScopedVariableRestHandler
- type ScopedVariableRestHandlerImpl
- func (handler *ScopedVariableRestHandlerImpl) CreateVariables(w http.ResponseWriter, r *http.Request)
- func (handler *ScopedVariableRestHandlerImpl) GetJsonForVariables(w http.ResponseWriter, r *http.Request)
- func (handler *ScopedVariableRestHandlerImpl) GetScopedVariables(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonResponse ¶
type JsonResponse struct { Manifest *models.ScopedVariableManifest `json:"manifest"` JsonSchema string `json:"jsonSchema"` }
type ScopedVariableRestHandler ¶
type ScopedVariableRestHandler interface { CreateVariables(w http.ResponseWriter, r *http.Request) GetScopedVariables(w http.ResponseWriter, r *http.Request) GetJsonForVariables(w http.ResponseWriter, r *http.Request) }
type ScopedVariableRestHandlerImpl ¶
type ScopedVariableRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewScopedVariableRestHandlerImpl ¶
func NewScopedVariableRestHandlerImpl(logger *zap.SugaredLogger, userAuthService user.UserService, validator *validator.Validate, pipelineBuilder pipeline.PipelineBuilder, enforcerUtil rbac.EnforcerUtil, enforcer casbin.Enforcer, scopedVariableService variables.ScopedVariableService) *ScopedVariableRestHandlerImpl
func (*ScopedVariableRestHandlerImpl) CreateVariables ¶
func (handler *ScopedVariableRestHandlerImpl) CreateVariables(w http.ResponseWriter, r *http.Request)
func (*ScopedVariableRestHandlerImpl) GetJsonForVariables ¶
func (handler *ScopedVariableRestHandlerImpl) GetJsonForVariables(w http.ResponseWriter, r *http.Request)
func (*ScopedVariableRestHandlerImpl) GetScopedVariables ¶
func (handler *ScopedVariableRestHandlerImpl) GetScopedVariables(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.