apiservermocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*FFISwaggerGen) Build added in v1.3.0

Build provides a mock function with given fields: ctx, 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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