mockcontext

package
v1.0.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 6 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) CryptoSuite

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

CryptoSuite 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) EndpointConfig

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

EndpointConfig mocks base method

func (*MockClient) EnrollmentCertificate

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

EnrollmentCertificate mocks base method

func (*MockClient) GetMetrics

func (m *MockClient) GetMetrics() *metrics.ClientMetrics

GetMetrics mocks base method

func (*MockClient) Identifier

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

Identifier mocks base method

func (*MockClient) IdentityConfig

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

IdentityConfig 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) LocalDiscoveryProvider

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

LocalDiscoveryProvider 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) 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) CryptoSuite

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

CryptoSuite indicates an expected call of CryptoSuite

func (*MockClientMockRecorder) EndpointConfig

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

EndpointConfig indicates an expected call of EndpointConfig

func (*MockClientMockRecorder) EnrollmentCertificate

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

EnrollmentCertificate indicates an expected call of EnrollmentCertificate

func (*MockClientMockRecorder) GetMetrics

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

GetMetrics indicates an expected call of GetMetrics

func (*MockClientMockRecorder) Identifier

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

Identifier indicates an expected call of Identifier

func (*MockClientMockRecorder) IdentityConfig

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

IdentityConfig indicates an expected call of IdentityConfig

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) LocalDiscoveryProvider

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

LocalDiscoveryProvider indicates an expected call of LocalDiscoveryProvider

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) 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) CryptoSuite

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

CryptoSuite mocks base method

func (*MockProviders) EXPECT

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

func (*MockProviders) EndpointConfig

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

EndpointConfig mocks base method

func (*MockProviders) GetMetrics

func (m *MockProviders) GetMetrics() *metrics.ClientMetrics

GetMetrics mocks base method

func (*MockProviders) IdentityConfig

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

IdentityConfig mocks base method

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) LocalDiscoveryProvider

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

LocalDiscoveryProvider 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) CryptoSuite

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

CryptoSuite indicates an expected call of CryptoSuite

func (*MockProvidersMockRecorder) EndpointConfig

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

EndpointConfig indicates an expected call of EndpointConfig

func (*MockProvidersMockRecorder) GetMetrics

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

GetMetrics indicates an expected call of GetMetrics

func (*MockProvidersMockRecorder) IdentityConfig

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

IdentityConfig indicates an expected call of IdentityConfig

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) LocalDiscoveryProvider

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

LocalDiscoveryProvider indicates an expected call of LocalDiscoveryProvider

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