public

package
v0.0.0-...-1a88b7f Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 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 EchoRouter

type EchoRouter struct {
	mock.Mock
}

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

type ServerInterface struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

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