mocked

package
v0.0.0-...-4e740ad Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocked is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandler

type MockHandler struct {
	// contains filtered or unexported fields
}

MockHandler is a mock of Handler interface.

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance.

func (*MockHandler) AddFile

func (m *MockHandler) AddFile(arg0 http.ResponseWriter, arg1 *http.Request) error

AddFile mocks base method.

func (*MockHandler) DeleteFile

func (m *MockHandler) DeleteFile(arg0 http.ResponseWriter, arg1 *http.Request) error

DeleteFile mocks base method.

func (*MockHandler) DisplayFileContents

func (m *MockHandler) DisplayFileContents(arg0 http.ResponseWriter, arg1 *http.Request) error

DisplayFileContents mocks base method.

func (*MockHandler) DownloadFile

func (m *MockHandler) DownloadFile(arg0 http.ResponseWriter, arg1 *http.Request) error

DownloadFile mocks base method.

func (*MockHandler) DownloadFolder

func (m *MockHandler) DownloadFolder(arg0 http.ResponseWriter, arg1 *http.Request) error

DownloadFolder mocks base method.

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHandler) GetNodeInfo

func (m *MockHandler) GetNodeInfo(arg0 http.ResponseWriter, arg1 *http.Request) error

GetNodeInfo mocks base method.

func (*MockHandler) Health

func (m *MockHandler) Health(arg0 http.ResponseWriter, arg1 *http.Request) error

Health mocks base method.

func (*MockHandler) ListNodes

func (m *MockHandler) ListNodes(arg0 http.ResponseWriter, arg1 *http.Request) error

ListNodes mocks base method.

func (*MockHandler) ListPins

func (m *MockHandler) ListPins(arg0 http.ResponseWriter, arg1 *http.Request) error

ListPins mocks base method.

func (*MockHandler) Mux

func (m *MockHandler) Mux() *http.ServeMux

Mux mocks base method.

func (*MockHandler) PinObject

func (m *MockHandler) PinObject(arg0 http.ResponseWriter, arg1 *http.Request) error

PinObject mocks base method.

func (*MockHandler) PingNode

func (m *MockHandler) PingNode(arg0 http.ResponseWriter, arg1 *http.Request) error

PingNode mocks base method.

type MockHandlerMockRecorder

type MockHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHandlerMockRecorder is the mock recorder for MockHandler.

func (*MockHandlerMockRecorder) AddFile

func (mr *MockHandlerMockRecorder) AddFile(arg0, arg1 any) *gomock.Call

AddFile indicates an expected call of AddFile.

func (*MockHandlerMockRecorder) DeleteFile

func (mr *MockHandlerMockRecorder) DeleteFile(arg0, arg1 any) *gomock.Call

DeleteFile indicates an expected call of DeleteFile.

func (*MockHandlerMockRecorder) DisplayFileContents

func (mr *MockHandlerMockRecorder) DisplayFileContents(arg0, arg1 any) *gomock.Call

DisplayFileContents indicates an expected call of DisplayFileContents.

func (*MockHandlerMockRecorder) DownloadFile

func (mr *MockHandlerMockRecorder) DownloadFile(arg0, arg1 any) *gomock.Call

DownloadFile indicates an expected call of DownloadFile.

func (*MockHandlerMockRecorder) DownloadFolder

func (mr *MockHandlerMockRecorder) DownloadFolder(arg0, arg1 any) *gomock.Call

DownloadFolder indicates an expected call of DownloadFolder.

func (*MockHandlerMockRecorder) GetNodeInfo

func (mr *MockHandlerMockRecorder) GetNodeInfo(arg0, arg1 any) *gomock.Call

GetNodeInfo indicates an expected call of GetNodeInfo.

func (*MockHandlerMockRecorder) Health

func (mr *MockHandlerMockRecorder) Health(arg0, arg1 any) *gomock.Call

Health indicates an expected call of Health.

func (*MockHandlerMockRecorder) ListNodes

func (mr *MockHandlerMockRecorder) ListNodes(arg0, arg1 any) *gomock.Call

ListNodes indicates an expected call of ListNodes.

func (*MockHandlerMockRecorder) ListPins

func (mr *MockHandlerMockRecorder) ListPins(arg0, arg1 any) *gomock.Call

ListPins indicates an expected call of ListPins.

func (*MockHandlerMockRecorder) Mux

func (mr *MockHandlerMockRecorder) Mux() *gomock.Call

Mux indicates an expected call of Mux.

func (*MockHandlerMockRecorder) PinObject

func (mr *MockHandlerMockRecorder) PinObject(arg0, arg1 any) *gomock.Call

PinObject indicates an expected call of PinObject.

func (*MockHandlerMockRecorder) PingNode

func (mr *MockHandlerMockRecorder) PingNode(arg0, arg1 any) *gomock.Call

PingNode indicates an expected call of PingNode.

Jump to

Keyboard shortcuts

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