Documentation
¶
Index ¶
- func AbortWithValidatorPayload(c *gin.Context, err error)
- func CodeToStr(err error) string
- func ToHttpStatus(err error) int
- type ActionHandler
- func (h *ActionHandler) Create(c *gin.Context)
- func (h *ActionHandler) Delete(c *gin.Context)
- func (h *ActionHandler) Get(c *gin.Context)
- func (h *ActionHandler) Paginate(c *gin.Context)
- func (h *ActionHandler) UpdateEnabled(c *gin.Context)
- func (h *ActionHandler) UpdateLabel(c *gin.Context)
- func (h *ActionHandler) UpdateMatchApplication(c *gin.Context)
- func (h *ActionHandler) UpdateMatchEvent(c *gin.Context)
- func (h *ActionHandler) UpdateMatchHost(c *gin.Context)
- func (h *ActionHandler) UpdateMatchProvider(c *gin.Context)
- func (h *ActionHandler) UpdatePayload(c *gin.Context)
- type ActionInvocationHandler
- type CommentHandler
- type ConstantHandler
- type EventHandler
- type FilterPresetHandler
- type HealthHandler
- type InfoHandler
- type SecretHandler
- type UpdateHandler
- type UpdateStateDefinitionHandler
- func (h *UpdateStateDefinitionHandler) Create(c *gin.Context)
- func (h *UpdateStateDefinitionHandler) Delete(c *gin.Context)
- func (h *UpdateStateDefinitionHandler) Get(c *gin.Context)
- func (h *UpdateStateDefinitionHandler) GetAll(c *gin.Context)
- func (h *UpdateStateDefinitionHandler) Reorder(c *gin.Context)
- func (h *UpdateStateDefinitionHandler) Update(c *gin.Context)
- type UpdateStateTransitionHandler
- type WebhookHandler
- func (h *WebhookHandler) Create(c *gin.Context)
- func (h *WebhookHandler) Delete(c *gin.Context)
- func (h *WebhookHandler) Get(c *gin.Context)
- func (h *WebhookHandler) Paginate(c *gin.Context)
- func (h *WebhookHandler) UpdateIgnoreHost(c *gin.Context)
- func (h *WebhookHandler) UpdateIgnoreHostReplacement(c *gin.Context)
- func (h *WebhookHandler) UpdateLabel(c *gin.Context)
- type WebhookInvocationHandler
- type WebinterfaceHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToHttpStatus ¶
Types ¶
type ActionHandler ¶
type ActionHandler struct {
// contains filtered or unexported fields
}
func NewActionHandler ¶
func NewActionHandler(s *service.ActionService) *ActionHandler
func (*ActionHandler) Create ¶
func (h *ActionHandler) Create(c *gin.Context)
func (*ActionHandler) Delete ¶
func (h *ActionHandler) Delete(c *gin.Context)
func (*ActionHandler) Get ¶
func (h *ActionHandler) Get(c *gin.Context)
func (*ActionHandler) Paginate ¶
func (h *ActionHandler) Paginate(c *gin.Context)
func (*ActionHandler) UpdateEnabled ¶
func (h *ActionHandler) UpdateEnabled(c *gin.Context)
func (*ActionHandler) UpdateLabel ¶
func (h *ActionHandler) UpdateLabel(c *gin.Context)
func (*ActionHandler) UpdateMatchApplication ¶
func (h *ActionHandler) UpdateMatchApplication(c *gin.Context)
func (*ActionHandler) UpdateMatchEvent ¶
func (h *ActionHandler) UpdateMatchEvent(c *gin.Context)
func (*ActionHandler) UpdateMatchHost ¶
func (h *ActionHandler) UpdateMatchHost(c *gin.Context)
func (*ActionHandler) UpdateMatchProvider ¶
func (h *ActionHandler) UpdateMatchProvider(c *gin.Context)
func (*ActionHandler) UpdatePayload ¶
func (h *ActionHandler) UpdatePayload(c *gin.Context)
type ActionInvocationHandler ¶
type ActionInvocationHandler struct {
// contains filtered or unexported fields
}
func NewActionInvocationHandler ¶
func NewActionInvocationHandler(as *service.ActionService, ais *service.ActionInvocationService) *ActionInvocationHandler
func (*ActionInvocationHandler) Delete ¶
func (h *ActionInvocationHandler) Delete(c *gin.Context)
func (*ActionInvocationHandler) Get ¶
func (h *ActionInvocationHandler) Get(c *gin.Context)
func (*ActionInvocationHandler) Paginate ¶
func (h *ActionInvocationHandler) Paginate(c *gin.Context)
func (*ActionInvocationHandler) Test ¶
func (h *ActionInvocationHandler) Test(c *gin.Context)
type CommentHandler ¶
type CommentHandler struct {
// contains filtered or unexported fields
}
func NewCommentHandler ¶
func NewCommentHandler(us *service.UpdateService, cs *service.CommentService) *CommentHandler
func (*CommentHandler) Create ¶
func (h *CommentHandler) Create(c *gin.Context)
func (*CommentHandler) Delete ¶
func (h *CommentHandler) Delete(c *gin.Context)
func (*CommentHandler) GetAllByUpdateId ¶
func (h *CommentHandler) GetAllByUpdateId(c *gin.Context)
func (*CommentHandler) UpdateContent ¶
func (h *CommentHandler) UpdateContent(c *gin.Context)
type ConstantHandler ¶
type ConstantHandler struct {
// contains filtered or unexported fields
}
func NewConstantHandler ¶
func NewConstantHandler(s *service.ConstantService) *ConstantHandler
func (*ConstantHandler) Create ¶
func (h *ConstantHandler) Create(c *gin.Context)
func (*ConstantHandler) Delete ¶
func (h *ConstantHandler) Delete(c *gin.Context)
func (*ConstantHandler) Get ¶
func (h *ConstantHandler) Get(c *gin.Context)
func (*ConstantHandler) GetAll ¶
func (h *ConstantHandler) GetAll(c *gin.Context)
func (*ConstantHandler) UpdateValue ¶
func (h *ConstantHandler) UpdateValue(c *gin.Context)
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler(s *service.EventService) *EventHandler
func (*EventHandler) Delete ¶
func (h *EventHandler) Delete(c *gin.Context)
func (*EventHandler) Get ¶
func (h *EventHandler) Get(c *gin.Context)
func (*EventHandler) Window ¶
func (h *EventHandler) Window(c *gin.Context)
type FilterPresetHandler ¶
type FilterPresetHandler struct {
// contains filtered or unexported fields
}
func NewFilterPresetHandler ¶
func NewFilterPresetHandler(s *service.FilterPresetService) *FilterPresetHandler
func (*FilterPresetHandler) Create ¶
func (h *FilterPresetHandler) Create(c *gin.Context)
func (*FilterPresetHandler) Delete ¶
func (h *FilterPresetHandler) Delete(c *gin.Context)
func (*FilterPresetHandler) GetByType ¶
func (h *FilterPresetHandler) GetByType(c *gin.Context)
type HealthHandler ¶
type HealthHandler struct {
}
func NewHealthHandler ¶
func NewHealthHandler() *HealthHandler
func (*HealthHandler) Show ¶
func (h *HealthHandler) Show(c *gin.Context)
type InfoHandler ¶
type InfoHandler struct {
// contains filtered or unexported fields
}
func NewInfoHandler ¶
func NewInfoHandler(a *config.App) *InfoHandler
func (*InfoHandler) Show ¶
func (h *InfoHandler) Show(c *gin.Context)
type SecretHandler ¶
type SecretHandler struct {
// contains filtered or unexported fields
}
func NewSecretHandler ¶
func NewSecretHandler(s *service.SecretService) *SecretHandler
func (*SecretHandler) Create ¶
func (h *SecretHandler) Create(c *gin.Context)
func (*SecretHandler) Delete ¶
func (h *SecretHandler) Delete(c *gin.Context)
func (*SecretHandler) Get ¶
func (h *SecretHandler) Get(c *gin.Context)
func (*SecretHandler) GetAll ¶
func (h *SecretHandler) GetAll(c *gin.Context)
func (*SecretHandler) UpdateValue ¶
func (h *SecretHandler) UpdateValue(c *gin.Context)
type UpdateHandler ¶
type UpdateHandler struct {
// contains filtered or unexported fields
}
func NewUpdateHandler ¶
func NewUpdateHandler(s *service.UpdateService, c *config.App) *UpdateHandler
func (*UpdateHandler) Delete ¶
func (h *UpdateHandler) Delete(c *gin.Context)
func (*UpdateHandler) Get ¶
func (h *UpdateHandler) Get(c *gin.Context)
func (*UpdateHandler) Paginate ¶
func (h *UpdateHandler) Paginate(c *gin.Context)
func (*UpdateHandler) UpdateState ¶
func (h *UpdateHandler) UpdateState(c *gin.Context)
type UpdateStateDefinitionHandler ¶
type UpdateStateDefinitionHandler struct {
// contains filtered or unexported fields
}
func NewUpdateStateDefinitionHandler ¶
func NewUpdateStateDefinitionHandler(s *service.UpdateStateDefinitionService) *UpdateStateDefinitionHandler
func (*UpdateStateDefinitionHandler) Create ¶
func (h *UpdateStateDefinitionHandler) Create(c *gin.Context)
func (*UpdateStateDefinitionHandler) Delete ¶
func (h *UpdateStateDefinitionHandler) Delete(c *gin.Context)
func (*UpdateStateDefinitionHandler) Get ¶
func (h *UpdateStateDefinitionHandler) Get(c *gin.Context)
func (*UpdateStateDefinitionHandler) GetAll ¶
func (h *UpdateStateDefinitionHandler) GetAll(c *gin.Context)
func (*UpdateStateDefinitionHandler) Reorder ¶
func (h *UpdateStateDefinitionHandler) Reorder(c *gin.Context)
func (*UpdateStateDefinitionHandler) Update ¶
func (h *UpdateStateDefinitionHandler) Update(c *gin.Context)
type UpdateStateTransitionHandler ¶
type UpdateStateTransitionHandler struct {
// contains filtered or unexported fields
}
func NewUpdateStateTransitionHandler ¶
func NewUpdateStateTransitionHandler(s *service.UpdateStateTransitionService) *UpdateStateTransitionHandler
func (*UpdateStateTransitionHandler) Create ¶
func (h *UpdateStateTransitionHandler) Create(c *gin.Context)
func (*UpdateStateTransitionHandler) Delete ¶
func (h *UpdateStateTransitionHandler) Delete(c *gin.Context)
func (*UpdateStateTransitionHandler) GetAll ¶
func (h *UpdateStateTransitionHandler) GetAll(c *gin.Context)
func (*UpdateStateTransitionHandler) GetByFromStateId ¶
func (h *UpdateStateTransitionHandler) GetByFromStateId(c *gin.Context)
type WebhookHandler ¶
type WebhookHandler struct {
// contains filtered or unexported fields
}
func NewWebhookHandler ¶
func NewWebhookHandler(s *service.WebhookService) *WebhookHandler
func (*WebhookHandler) Create ¶
func (h *WebhookHandler) Create(c *gin.Context)
func (*WebhookHandler) Delete ¶
func (h *WebhookHandler) Delete(c *gin.Context)
func (*WebhookHandler) Get ¶
func (h *WebhookHandler) Get(c *gin.Context)
func (*WebhookHandler) Paginate ¶
func (h *WebhookHandler) Paginate(c *gin.Context)
func (*WebhookHandler) UpdateIgnoreHost ¶
func (h *WebhookHandler) UpdateIgnoreHost(c *gin.Context)
func (*WebhookHandler) UpdateIgnoreHostReplacement ¶
func (h *WebhookHandler) UpdateIgnoreHostReplacement(c *gin.Context)
func (*WebhookHandler) UpdateLabel ¶
func (h *WebhookHandler) UpdateLabel(c *gin.Context)
type WebhookInvocationHandler ¶
type WebhookInvocationHandler struct {
// contains filtered or unexported fields
}
func NewWebhookInvocationHandler ¶
func NewWebhookInvocationHandler(i *service.WebhookInvocationService, w *service.WebhookService) *WebhookInvocationHandler
func (*WebhookInvocationHandler) Execute ¶
func (h *WebhookInvocationHandler) Execute(c *gin.Context)
type WebinterfaceHandler ¶
type WebinterfaceHandler struct {
// contains filtered or unexported fields
}
func NewWebinterfaceHandler ¶
func NewWebinterfaceHandler(wc *config.Webinterface, ac *config.Auth) *WebinterfaceHandler
func (*WebinterfaceHandler) GetConfig ¶
func (h *WebinterfaceHandler) GetConfig(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.