mock_seghandler

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_seghandler is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorage

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

MockStorage is a mock of Storage interface

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) StoreRevs

func (m *MockStorage) StoreRevs(arg0 context.Context, arg1 []*path_mgmt.SignedRevInfo) error

StoreRevs mocks base method

func (*MockStorage) StoreSegs

func (m *MockStorage) StoreSegs(arg0 context.Context, arg1 []*seghandler.SegWithHP) (seghandler.SegStats, error)

StoreSegs mocks base method

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) StoreRevs

func (mr *MockStorageMockRecorder) StoreRevs(arg0, arg1 interface{}) *gomock.Call

StoreRevs indicates an expected call of StoreRevs

func (*MockStorageMockRecorder) StoreSegs

func (mr *MockStorageMockRecorder) StoreSegs(arg0, arg1 interface{}) *gomock.Call

StoreSegs indicates an expected call of StoreSegs

type MockVerifier

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

MockVerifier is a mock of Verifier interface

func NewMockVerifier

func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier

NewMockVerifier creates a new mock instance

func (*MockVerifier) EXPECT

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

func (*MockVerifier) Verify

func (m *MockVerifier) Verify(arg0 context.Context, arg1 seghandler.Segments, arg2 net.Addr) (chan segverifier.UnitResult, int)

Verify mocks base method

type MockVerifierMockRecorder

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

MockVerifierMockRecorder is the mock recorder for MockVerifier

func (*MockVerifierMockRecorder) Verify

func (mr *MockVerifierMockRecorder) Verify(arg0, arg1, arg2 interface{}) *gomock.Call

Verify indicates an expected call of Verify

Jump to

Keyboard shortcuts

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