mocks

package
v0.0.0-...-b3db260 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIHandlerInterface

type CLIHandlerInterface struct {
	mock.Mock
}

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

type HandlerInterface struct {
	mock.Mock
}

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

type RepoInterface struct {
	mock.Mock
}

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

type ServiceInterface struct {
	mock.Mock
}

ServiceInterface is an autogenerated mock type for the ServiceInterface type

func (*ServiceInterface) CreateService

CreateService provides a mock function with given fields: req

func (*ServiceInterface) DeleteService

DeleteService provides a mock function with given fields: req

func (*ServiceInterface) GetService

GetService provides a mock function with given fields: req

func (*ServiceInterface) ListService

ListService provides a mock function with given fields: req

func (*ServiceInterface) UpdateService

UpdateService provides a mock function with given fields: req

Jump to

Keyboard shortcuts

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