Documentation
¶
Index ¶
- type AuthHandler
- type CommandHandler
- func NewAuthHandler(svc *service.Provider) CommandHandler
- func NewDeleteHandler(svc *service.Provider) CommandHandler
- func NewDeployHandler(svc *service.Provider) CommandHandler
- func NewReleaseHandler(svc *service.Provider) CommandHandler
- func NewRestartHandler(svc *service.Provider) CommandHandler
- func NewRunHandler(svc *service.Provider) CommandHandler
- func NewSetHandler(svc *service.Provider) CommandHandler
- func NewShowHandler(svc *service.Provider) CommandHandler
- type DeleteHandler
- type DeployHandler
- type Factory
- type ReleaseHandler
- type RestartHandler
- type RunHandler
- type SetHandler
- type ShowHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
AuthHandler is the handler for the AuthCmd
func (AuthHandler) Handle ¶
func (h AuthHandler) Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Handle handles the AuthCmd
type CommandHandler ¶
type CommandHandler interface {
Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
}
CommandHandler is the interface that Handles EvebotCommands
func NewAuthHandler ¶
func NewAuthHandler(svc *service.Provider) CommandHandler
NewAuthHandler creates a AuthHandler
func NewDeleteHandler ¶
func NewDeleteHandler(svc *service.Provider) CommandHandler
NewDeleteHandler creates a DeleteHandler
func NewDeployHandler ¶
func NewDeployHandler(svc *service.Provider) CommandHandler
NewDeployHandler creates a DeployHandler
func NewReleaseHandler ¶
func NewReleaseHandler(svc *service.Provider) CommandHandler
NewReleaseHandler creates a ReleaseHandler
func NewRestartHandler ¶
func NewRestartHandler(svc *service.Provider) CommandHandler
NewReleaseHandler creates a RestartHandler
func NewRunHandler ¶
func NewRunHandler(svc *service.Provider) CommandHandler
NewRunHandler creates a RunHandler
func NewSetHandler ¶
func NewSetHandler(svc *service.Provider) CommandHandler
NewSetHandler creates a SetHandler
func NewShowHandler ¶
func NewShowHandler(svc *service.Provider) CommandHandler
NewShowHandler creates a ShowHandler
type DeleteHandler ¶
type DeleteHandler struct {
// contains filtered or unexported fields
}
DeleteHandler is the handler for the DeleteCmd
func (DeleteHandler) Handle ¶
func (h DeleteHandler) Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Handle handles the DeleteCmd
type DeployHandler ¶
type DeployHandler struct {
// contains filtered or unexported fields
}
DeployHandler is the handler for the DeployCmd
func (DeployHandler) Handle ¶
func (h DeployHandler) Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Handle handles the DeployCmd
type Factory ¶
type Factory interface {
Items() map[string]func(svc *service.Provider) CommandHandler
}
func NewFactory ¶
func NewFactory() Factory
type ReleaseHandler ¶
type ReleaseHandler struct {
// contains filtered or unexported fields
}
ReleaseHandler is the handler for the ReleaseCmd
func (ReleaseHandler) Handle ¶
func (h ReleaseHandler) Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Handle handles the ReleaseCmd
type RestartHandler ¶
type RestartHandler struct {
// contains filtered or unexported fields
}
ReleaseHandler is the handler for the RestartHandler
func (RestartHandler) Handle ¶
func (h RestartHandler) Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Handle handles the RestartCmd
type RunHandler ¶
type RunHandler struct {
// contains filtered or unexported fields
}
RunHandler is the handler for the RunCmd
func (RunHandler) Handle ¶
func (h RunHandler) Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Handle handles the RunCmd
type SetHandler ¶
type SetHandler struct {
// contains filtered or unexported fields
}
SetHandler is the handler for the SetCmd
func (SetHandler) Handle ¶
func (h SetHandler) Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Handle handles the SetCmd
type ShowHandler ¶
type ShowHandler struct {
// contains filtered or unexported fields
}
ShowHandler is the handler for the ShowCmd
func (ShowHandler) Handle ¶
func (h ShowHandler) Handle(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Handle handles the ShowCmd