Documentation ¶
Index ¶
- type EchoRouter
- func (_m *EchoRouter) CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- func (_m *EchoRouter) TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
- type ServerInterface
- func (_m *ServerInterface) CreateDomainToken(ctx echo.Context, params public.CreateDomainTokenParams) error
- func (_m *ServerInterface) DeleteDomain(ctx echo.Context, _a1 uuid.UUID, params public.DeleteDomainParams) error
- func (_m *ServerInterface) GetSigningKeys(ctx echo.Context, params public.GetSigningKeysParams) error
- func (_m *ServerInterface) HostConf(ctx echo.Context, inventoryId uuid.UUID, fqdn string, ...) error
- func (_m *ServerInterface) ListDomains(ctx echo.Context, params public.ListDomainsParams) error
- func (_m *ServerInterface) ReadDomain(ctx echo.Context, _a1 uuid.UUID, params public.ReadDomainParams) error
- func (_m *ServerInterface) RegisterDomain(ctx echo.Context, params public.RegisterDomainParams) error
- func (_m *ServerInterface) UpdateDomainAgent(ctx echo.Context, _a1 uuid.UUID, params public.UpdateDomainAgentParams) error
- func (_m *ServerInterface) UpdateDomainUser(ctx echo.Context, _a1 uuid.UUID, params public.UpdateDomainUserParams) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoRouter ¶
EchoRouter is an autogenerated mock type for the EchoRouter type
func NewEchoRouter ¶
func NewEchoRouter(t interface { mock.TestingT Cleanup(func()) }) *EchoRouter
NewEchoRouter creates a new instance of EchoRouter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EchoRouter) CONNECT ¶
func (_m *EchoRouter) CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
CONNECT provides a mock function with given fields: path, h, m
func (*EchoRouter) DELETE ¶
func (_m *EchoRouter) DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
DELETE provides a mock function with given fields: path, h, m
func (*EchoRouter) GET ¶
func (_m *EchoRouter) GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
GET provides a mock function with given fields: path, h, m
func (*EchoRouter) HEAD ¶
func (_m *EchoRouter) HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
HEAD provides a mock function with given fields: path, h, m
func (*EchoRouter) OPTIONS ¶
func (_m *EchoRouter) OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
OPTIONS provides a mock function with given fields: path, h, m
func (*EchoRouter) PATCH ¶
func (_m *EchoRouter) PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PATCH provides a mock function with given fields: path, h, m
func (*EchoRouter) POST ¶
func (_m *EchoRouter) POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
POST provides a mock function with given fields: path, h, m
func (*EchoRouter) PUT ¶
func (_m *EchoRouter) PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
PUT provides a mock function with given fields: path, h, m
func (*EchoRouter) TRACE ¶
func (_m *EchoRouter) TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
TRACE provides a mock function with given fields: path, h, m
type ServerInterface ¶
ServerInterface is an autogenerated mock type for the ServerInterface type
func NewServerInterface ¶
func NewServerInterface(t interface { mock.TestingT Cleanup(func()) }) *ServerInterface
NewServerInterface creates a new instance of ServerInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServerInterface) CreateDomainToken ¶
func (_m *ServerInterface) CreateDomainToken(ctx echo.Context, params public.CreateDomainTokenParams) error
CreateDomainToken provides a mock function with given fields: ctx, params
func (*ServerInterface) DeleteDomain ¶
func (_m *ServerInterface) DeleteDomain(ctx echo.Context, _a1 uuid.UUID, params public.DeleteDomainParams) error
DeleteDomain provides a mock function with given fields: ctx, _a1, params
func (*ServerInterface) GetSigningKeys ¶
func (_m *ServerInterface) GetSigningKeys(ctx echo.Context, params public.GetSigningKeysParams) error
GetSigningKeys provides a mock function with given fields: ctx, params
func (*ServerInterface) HostConf ¶
func (_m *ServerInterface) HostConf(ctx echo.Context, inventoryId uuid.UUID, fqdn string, params public.HostConfParams) error
HostConf provides a mock function with given fields: ctx, inventoryId, fqdn, params
func (*ServerInterface) ListDomains ¶
func (_m *ServerInterface) ListDomains(ctx echo.Context, params public.ListDomainsParams) error
ListDomains provides a mock function with given fields: ctx, params
func (*ServerInterface) ReadDomain ¶
func (_m *ServerInterface) ReadDomain(ctx echo.Context, _a1 uuid.UUID, params public.ReadDomainParams) error
ReadDomain provides a mock function with given fields: ctx, _a1, params
func (*ServerInterface) RegisterDomain ¶
func (_m *ServerInterface) RegisterDomain(ctx echo.Context, params public.RegisterDomainParams) error
RegisterDomain provides a mock function with given fields: ctx, params
func (*ServerInterface) UpdateDomainAgent ¶
func (_m *ServerInterface) UpdateDomainAgent(ctx echo.Context, _a1 uuid.UUID, params public.UpdateDomainAgentParams) error
UpdateDomainAgent provides a mock function with given fields: ctx, _a1, params
func (*ServerInterface) UpdateDomainUser ¶
func (_m *ServerInterface) UpdateDomainUser(ctx echo.Context, _a1 uuid.UUID, params public.UpdateDomainUserParams) error
UpdateDomainUser provides a mock function with given fields: ctx, _a1, params