apiservermocks

package
v1.2.0-2023-04-17-002 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FFISwaggerGen added in v1.1.0

type FFISwaggerGen struct {
	mock.Mock
}

FFISwaggerGen is an autogenerated mock type for the FFISwaggerGen type

func NewFFISwaggerGen added in v1.1.2

func NewFFISwaggerGen(t mockConstructorTestingTNewFFISwaggerGen) *FFISwaggerGen

NewFFISwaggerGen creates a new instance of FFISwaggerGen. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*FFISwaggerGen) Generate added in v1.1.0

func (_m *FFISwaggerGen) Generate(ctx context.Context, baseURL string, api *core.ContractAPI, ffi *fftypes.FFI) *openapi3.T

Generate provides a mock function with given fields: ctx, baseURL, api, ffi

type Server

type Server struct {
	mock.Mock
}

Server is an autogenerated mock type for the Server type

func NewServer added in v1.1.2

func NewServer(t mockConstructorTestingTNewServer) *Server

NewServer creates a new instance of Server. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Server) Serve

func (_m *Server) Serve(ctx context.Context, mgr namespace.Manager) error

Serve provides a mock function with given fields: ctx, mgr

Jump to

Keyboard shortcuts

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