mockcontext

package
v1.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockcontext is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) ChannelProvider

func (m *MockClient) ChannelProvider() fab.ChannelProvider

ChannelProvider mocks base method

func (*MockClient) Config

func (m *MockClient) Config() core.Config

Config mocks base method

func (*MockClient) CryptoSuite

func (m *MockClient) CryptoSuite() core.CryptoSuite

CryptoSuite mocks base method

func (*MockClient) DiscoveryProvider

func (m *MockClient) DiscoveryProvider() fab.DiscoveryProvider

DiscoveryProvider mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) EnrollmentCertificate

func (m *MockClient) EnrollmentCertificate() []byte

EnrollmentCertificate mocks base method

func (*MockClient) Identifier

func (m *MockClient) Identifier() *msp.IdentityIdentifier

Identifier mocks base method

func (*MockClient) IdentityManager

func (m *MockClient) IdentityManager(arg0 string) (msp.IdentityManager, bool)

IdentityManager mocks base method

func (*MockClient) InfraProvider

func (m *MockClient) InfraProvider() fab.InfraProvider

InfraProvider mocks base method

func (*MockClient) PrivateKey

func (m *MockClient) PrivateKey() core.Key

PrivateKey mocks base method

func (*MockClient) PublicVersion

func (m *MockClient) PublicVersion() msp.Identity

PublicVersion mocks base method

func (*MockClient) SelectionProvider

func (m *MockClient) SelectionProvider() fab.SelectionProvider

SelectionProvider mocks base method

func (*MockClient) Serialize

func (m *MockClient) Serialize() ([]byte, error)

Serialize mocks base method

func (*MockClient) Sign

func (m *MockClient) Sign(arg0 []byte) ([]byte, error)

Sign mocks base method

func (*MockClient) SigningManager

func (m *MockClient) SigningManager() core.SigningManager

SigningManager mocks base method

func (*MockClient) UserStore

func (m *MockClient) UserStore() msp.UserStore

UserStore mocks base method

func (*MockClient) Verify

func (m *MockClient) Verify(arg0, arg1 []byte) error

Verify mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) ChannelProvider

func (mr *MockClientMockRecorder) ChannelProvider() *gomock.Call

ChannelProvider indicates an expected call of ChannelProvider

func (*MockClientMockRecorder) Config

func (mr *MockClientMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockClientMockRecorder) CryptoSuite

func (mr *MockClientMockRecorder) CryptoSuite() *gomock.Call

CryptoSuite indicates an expected call of CryptoSuite

func (*MockClientMockRecorder) DiscoveryProvider

func (mr *MockClientMockRecorder) DiscoveryProvider() *gomock.Call

DiscoveryProvider indicates an expected call of DiscoveryProvider

func (*MockClientMockRecorder) EnrollmentCertificate

func (mr *MockClientMockRecorder) EnrollmentCertificate() *gomock.Call

EnrollmentCertificate indicates an expected call of EnrollmentCertificate

func (*MockClientMockRecorder) Identifier

func (mr *MockClientMockRecorder) Identifier() *gomock.Call

Identifier indicates an expected call of Identifier

func (*MockClientMockRecorder) IdentityManager

func (mr *MockClientMockRecorder) IdentityManager(arg0 interface{}) *gomock.Call

IdentityManager indicates an expected call of IdentityManager

func (*MockClientMockRecorder) InfraProvider

func (mr *MockClientMockRecorder) InfraProvider() *gomock.Call

InfraProvider indicates an expected call of InfraProvider

func (*MockClientMockRecorder) PrivateKey

func (mr *MockClientMockRecorder) PrivateKey() *gomock.Call

PrivateKey indicates an expected call of PrivateKey

func (*MockClientMockRecorder) PublicVersion

func (mr *MockClientMockRecorder) PublicVersion() *gomock.Call

PublicVersion indicates an expected call of PublicVersion

func (*MockClientMockRecorder) SelectionProvider

func (mr *MockClientMockRecorder) SelectionProvider() *gomock.Call

SelectionProvider indicates an expected call of SelectionProvider

func (*MockClientMockRecorder) Serialize

func (mr *MockClientMockRecorder) Serialize() *gomock.Call

Serialize indicates an expected call of Serialize

func (*MockClientMockRecorder) Sign

func (mr *MockClientMockRecorder) Sign(arg0 interface{}) *gomock.Call

Sign indicates an expected call of Sign

func (*MockClientMockRecorder) SigningManager

func (mr *MockClientMockRecorder) SigningManager() *gomock.Call

SigningManager indicates an expected call of SigningManager

func (*MockClientMockRecorder) UserStore

func (mr *MockClientMockRecorder) UserStore() *gomock.Call

UserStore indicates an expected call of UserStore

func (*MockClientMockRecorder) Verify

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

Verify indicates an expected call of Verify

type MockProviders

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

MockProviders is a mock of Providers interface

func NewMockProviders

func NewMockProviders(ctrl *gomock.Controller) *MockProviders

NewMockProviders creates a new mock instance

func (*MockProviders) ChannelProvider

func (m *MockProviders) ChannelProvider() fab.ChannelProvider

ChannelProvider mocks base method

func (*MockProviders) Config

func (m *MockProviders) Config() core.Config

Config mocks base method

func (*MockProviders) CryptoSuite

func (m *MockProviders) CryptoSuite() core.CryptoSuite

CryptoSuite mocks base method

func (*MockProviders) DiscoveryProvider

func (m *MockProviders) DiscoveryProvider() fab.DiscoveryProvider

DiscoveryProvider mocks base method

func (*MockProviders) EXPECT

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

func (*MockProviders) IdentityManager

func (m *MockProviders) IdentityManager(arg0 string) (msp.IdentityManager, bool)

IdentityManager mocks base method

func (*MockProviders) InfraProvider

func (m *MockProviders) InfraProvider() fab.InfraProvider

InfraProvider mocks base method

func (*MockProviders) SelectionProvider

func (m *MockProviders) SelectionProvider() fab.SelectionProvider

SelectionProvider mocks base method

func (*MockProviders) SigningManager

func (m *MockProviders) SigningManager() core.SigningManager

SigningManager mocks base method

func (*MockProviders) UserStore

func (m *MockProviders) UserStore() msp.UserStore

UserStore mocks base method

type MockProvidersMockRecorder

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

MockProvidersMockRecorder is the mock recorder for MockProviders

func (*MockProvidersMockRecorder) ChannelProvider

func (mr *MockProvidersMockRecorder) ChannelProvider() *gomock.Call

ChannelProvider indicates an expected call of ChannelProvider

func (*MockProvidersMockRecorder) Config

func (mr *MockProvidersMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockProvidersMockRecorder) CryptoSuite

func (mr *MockProvidersMockRecorder) CryptoSuite() *gomock.Call

CryptoSuite indicates an expected call of CryptoSuite

func (*MockProvidersMockRecorder) DiscoveryProvider

func (mr *MockProvidersMockRecorder) DiscoveryProvider() *gomock.Call

DiscoveryProvider indicates an expected call of DiscoveryProvider

func (*MockProvidersMockRecorder) IdentityManager

func (mr *MockProvidersMockRecorder) IdentityManager(arg0 interface{}) *gomock.Call

IdentityManager indicates an expected call of IdentityManager

func (*MockProvidersMockRecorder) InfraProvider

func (mr *MockProvidersMockRecorder) InfraProvider() *gomock.Call

InfraProvider indicates an expected call of InfraProvider

func (*MockProvidersMockRecorder) SelectionProvider

func (mr *MockProvidersMockRecorder) SelectionProvider() *gomock.Call

SelectionProvider indicates an expected call of SelectionProvider

func (*MockProvidersMockRecorder) SigningManager

func (mr *MockProvidersMockRecorder) SigningManager() *gomock.Call

SigningManager indicates an expected call of SigningManager

func (*MockProvidersMockRecorder) UserStore

func (mr *MockProvidersMockRecorder) UserStore() *gomock.Call

UserStore indicates an expected call of UserStore

Jump to

Keyboard shortcuts

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