mocks

package
v0.0.0-...-8b501b0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGraph

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

MockGraph is a mock of Graph interface

func NewMockGraph

func NewMockGraph(ctrl *gomock.Controller) *MockGraph

NewMockGraph creates a new mock instance

func (*MockGraph) EXPECT

func (m *MockGraph) EXPECT() *MockGraphMockRecorder

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

func (*MockGraph) RemoveStaleEdges

func (m *MockGraph) RemoveStaleEdges(arg0 uuid.UUID, arg1 time.Time) error

RemoveStaleEdges mocks base method

func (*MockGraph) UpsertEdge

func (m *MockGraph) UpsertEdge(arg0 *graph.Edge) error

UpsertEdge mocks base method

func (m *MockGraph) UpsertLink(arg0 *graph.Link) error

UpsertLink mocks base method

type MockGraphMockRecorder

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

MockGraphMockRecorder is the mock recorder for MockGraph

func (*MockGraphMockRecorder) RemoveStaleEdges

func (mr *MockGraphMockRecorder) RemoveStaleEdges(arg0, arg1 interface{}) *gomock.Call

RemoveStaleEdges indicates an expected call of RemoveStaleEdges

func (*MockGraphMockRecorder) UpsertEdge

func (mr *MockGraphMockRecorder) UpsertEdge(arg0 interface{}) *gomock.Call

UpsertEdge indicates an expected call of UpsertEdge

func (mr *MockGraphMockRecorder) UpsertLink(arg0 interface{}) *gomock.Call

UpsertLink indicates an expected call of UpsertLink

type MockIndexer

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

MockIndexer is a mock of Indexer interface

func NewMockIndexer

func NewMockIndexer(ctrl *gomock.Controller) *MockIndexer

NewMockIndexer creates a new mock instance

func (*MockIndexer) EXPECT

func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder

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

func (*MockIndexer) Index

func (m *MockIndexer) Index(arg0 *index.Document) error

Index mocks base method

type MockIndexerMockRecorder

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

MockIndexerMockRecorder is the mock recorder for MockIndexer

func (*MockIndexerMockRecorder) Index

func (mr *MockIndexerMockRecorder) Index(arg0 interface{}) *gomock.Call

Index indicates an expected call of Index

type MockPrivateNetworkDetector

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

MockPrivateNetworkDetector is a mock of PrivateNetworkDetector interface

func NewMockPrivateNetworkDetector

func NewMockPrivateNetworkDetector(ctrl *gomock.Controller) *MockPrivateNetworkDetector

NewMockPrivateNetworkDetector creates a new mock instance

func (*MockPrivateNetworkDetector) EXPECT

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

func (*MockPrivateNetworkDetector) IsPrivate

func (m *MockPrivateNetworkDetector) IsPrivate(arg0 string) (bool, error)

IsPrivate mocks base method

type MockPrivateNetworkDetectorMockRecorder

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

MockPrivateNetworkDetectorMockRecorder is the mock recorder for MockPrivateNetworkDetector

func (*MockPrivateNetworkDetectorMockRecorder) IsPrivate

func (mr *MockPrivateNetworkDetectorMockRecorder) IsPrivate(arg0 interface{}) *gomock.Call

IsPrivate indicates an expected call of IsPrivate

type MockURLGetter

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

MockURLGetter is a mock of URLGetter interface

func NewMockURLGetter

func NewMockURLGetter(ctrl *gomock.Controller) *MockURLGetter

NewMockURLGetter creates a new mock instance

func (*MockURLGetter) EXPECT

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

func (*MockURLGetter) Get

func (m *MockURLGetter) Get(arg0 string) (*http.Response, error)

Get mocks base method

type MockURLGetterMockRecorder

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

MockURLGetterMockRecorder is the mock recorder for MockURLGetter

func (*MockURLGetterMockRecorder) Get

func (mr *MockURLGetterMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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