Documentation ¶
Index ¶
- type CLIHandlerInterface
- func (_m *CLIHandlerInterface) CreateCLIHandler(c *cli.Context) error
- func (_m *CLIHandlerInterface) DeleteCLIHandler(c *cli.Context) error
- func (_m *CLIHandlerInterface) GetCLIHandler(c *cli.Context) error
- func (_m *CLIHandlerInterface) ListCLIHandler(c *cli.Context) error
- func (_m *CLIHandlerInterface) RegisterCommands(app *cli.App)
- func (_m *CLIHandlerInterface) UpdateCLIHandler(c *cli.Context) error
- type HandlerInterface
- func (_m *HandlerInterface) CreateHandler(c *fiber.Ctx) error
- func (_m *HandlerInterface) DeleteHandler(c *fiber.Ctx) error
- func (_m *HandlerInterface) GetHandler(c *fiber.Ctx) error
- func (_m *HandlerInterface) ListHandler(c *fiber.Ctx) error
- func (_m *HandlerInterface) RegisterHandlers(app *fiber.App)
- func (_m *HandlerInterface) UpdateHandler(c *fiber.Ctx) error
- type RepoInterface
- func (_m *RepoInterface) Create(_a0 *models.Application) (uint, error)
- func (_m *RepoInterface) Delete(id uint) error
- func (_m *RepoInterface) Get(id uint) (*models.Application, error)
- func (_m *RepoInterface) List(page int, limit int) (*[]models.Application, error)
- func (_m *RepoInterface) Update(_a0 *models.Application) (uint, error)
- type ServiceInterface
- func (_m *ServiceInterface) CreateService(req models.ApplicationCreateReq) (*models.ApplicationCreateRes, error)
- func (_m *ServiceInterface) DeleteService(req models.ApplicationDeleteReq) (*models.ApplicationDeleteRes, error)
- func (_m *ServiceInterface) GetService(req models.ApplicationGetReq) (*models.ApplicationGetRes, error)
- func (_m *ServiceInterface) ListService(req models.ApplicationListReq) (*models.ApplicationListRes, error)
- func (_m *ServiceInterface) UpdateService(req models.ApplicationUpdateReq) (*models.ApplicationUpdateRes, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIHandlerInterface ¶
CLIHandlerInterface is an autogenerated mock type for the CLIHandlerInterface type
func (*CLIHandlerInterface) CreateCLIHandler ¶
func (_m *CLIHandlerInterface) CreateCLIHandler(c *cli.Context) error
CreateCLIHandler provides a mock function with given fields: c
func (*CLIHandlerInterface) DeleteCLIHandler ¶
func (_m *CLIHandlerInterface) DeleteCLIHandler(c *cli.Context) error
DeleteCLIHandler provides a mock function with given fields: c
func (*CLIHandlerInterface) GetCLIHandler ¶
func (_m *CLIHandlerInterface) GetCLIHandler(c *cli.Context) error
GetCLIHandler provides a mock function with given fields: c
func (*CLIHandlerInterface) ListCLIHandler ¶
func (_m *CLIHandlerInterface) ListCLIHandler(c *cli.Context) error
ListCLIHandler provides a mock function with given fields: c
func (*CLIHandlerInterface) RegisterCommands ¶
func (_m *CLIHandlerInterface) RegisterCommands(app *cli.App)
RegisterCommands provides a mock function with given fields: app
func (*CLIHandlerInterface) UpdateCLIHandler ¶
func (_m *CLIHandlerInterface) UpdateCLIHandler(c *cli.Context) error
UpdateCLIHandler provides a mock function with given fields: c
type HandlerInterface ¶
HandlerInterface is an autogenerated mock type for the HandlerInterface type
func (*HandlerInterface) CreateHandler ¶
func (_m *HandlerInterface) CreateHandler(c *fiber.Ctx) error
CreateHandler provides a mock function with given fields: c
func (*HandlerInterface) DeleteHandler ¶
func (_m *HandlerInterface) DeleteHandler(c *fiber.Ctx) error
DeleteHandler provides a mock function with given fields: c
func (*HandlerInterface) GetHandler ¶
func (_m *HandlerInterface) GetHandler(c *fiber.Ctx) error
GetHandler provides a mock function with given fields: c
func (*HandlerInterface) ListHandler ¶
func (_m *HandlerInterface) ListHandler(c *fiber.Ctx) error
ListHandler provides a mock function with given fields: c
func (*HandlerInterface) RegisterHandlers ¶
func (_m *HandlerInterface) RegisterHandlers(app *fiber.App)
RegisterHandlers provides a mock function with given fields: app
func (*HandlerInterface) UpdateHandler ¶
func (_m *HandlerInterface) UpdateHandler(c *fiber.Ctx) error
UpdateHandler provides a mock function with given fields: c
type RepoInterface ¶
RepoInterface is an autogenerated mock type for the RepoInterface type
func (*RepoInterface) Create ¶
func (_m *RepoInterface) Create(_a0 *models.Application) (uint, error)
Create provides a mock function with given fields: _a0
func (*RepoInterface) Delete ¶
func (_m *RepoInterface) Delete(id uint) error
Delete provides a mock function with given fields: id
func (*RepoInterface) Get ¶
func (_m *RepoInterface) Get(id uint) (*models.Application, error)
Get provides a mock function with given fields: id
func (*RepoInterface) List ¶
func (_m *RepoInterface) List(page int, limit int) (*[]models.Application, error)
List provides a mock function with given fields: page, limit
func (*RepoInterface) Update ¶
func (_m *RepoInterface) Update(_a0 *models.Application) (uint, error)
Update provides a mock function with given fields: _a0
type ServiceInterface ¶
ServiceInterface is an autogenerated mock type for the ServiceInterface type
func (*ServiceInterface) CreateService ¶
func (_m *ServiceInterface) CreateService(req models.ApplicationCreateReq) (*models.ApplicationCreateRes, error)
CreateService provides a mock function with given fields: req
func (*ServiceInterface) DeleteService ¶
func (_m *ServiceInterface) DeleteService(req models.ApplicationDeleteReq) (*models.ApplicationDeleteRes, error)
DeleteService provides a mock function with given fields: req
func (*ServiceInterface) GetService ¶
func (_m *ServiceInterface) GetService(req models.ApplicationGetReq) (*models.ApplicationGetRes, error)
GetService provides a mock function with given fields: req
func (*ServiceInterface) ListService ¶
func (_m *ServiceInterface) ListService(req models.ApplicationListReq) (*models.ApplicationListRes, error)
ListService provides a mock function with given fields: req
func (*ServiceInterface) UpdateService ¶
func (_m *ServiceInterface) UpdateService(req models.ApplicationUpdateReq) (*models.ApplicationUpdateRes, error)
UpdateService provides a mock function with given fields: req