fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/common/providers/test/mockcontext Index | Files

package mockcontext

import "github.com/hyperledger/fabric-sdk-go/pkg/common/providers/test/mockcontext"

Package mockcontext is a generated GoMock package.

Index

Package Files

mockcontext.gen.go

type MockClient Uses

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

MockClient is a mock of Client interface

func NewMockClient Uses

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) ChannelProvider Uses

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

ChannelProvider mocks base method

func (*MockClient) CryptoSuite Uses

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

CryptoSuite mocks base method

func (*MockClient) EXPECT Uses

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) EndpointConfig Uses

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

EndpointConfig mocks base method

func (*MockClient) EnrollmentCertificate Uses

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

EnrollmentCertificate mocks base method

func (*MockClient) GetMetrics Uses

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

GetMetrics mocks base method

func (*MockClient) Identifier Uses

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

Identifier mocks base method

func (*MockClient) IdentityConfig Uses

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

IdentityConfig mocks base method

func (*MockClient) IdentityManager Uses

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

IdentityManager mocks base method

func (*MockClient) InfraProvider Uses

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

InfraProvider mocks base method

func (*MockClient) LocalDiscoveryProvider Uses

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

LocalDiscoveryProvider mocks base method

func (*MockClient) PrivateKey Uses

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

PrivateKey mocks base method

func (*MockClient) PublicVersion Uses

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

PublicVersion mocks base method

func (*MockClient) Serialize Uses

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

Serialize mocks base method

func (*MockClient) Sign Uses

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

Sign mocks base method

func (*MockClient) SigningManager Uses

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

SigningManager mocks base method

func (*MockClient) UserStore Uses

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

UserStore mocks base method

func (*MockClient) Verify Uses

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

Verify mocks base method

type MockClientMockRecorder Uses

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) ChannelProvider Uses

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

ChannelProvider indicates an expected call of ChannelProvider

func (*MockClientMockRecorder) CryptoSuite Uses

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

CryptoSuite indicates an expected call of CryptoSuite

func (*MockClientMockRecorder) EndpointConfig Uses

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

EndpointConfig indicates an expected call of EndpointConfig

func (*MockClientMockRecorder) EnrollmentCertificate Uses

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

EnrollmentCertificate indicates an expected call of EnrollmentCertificate

func (*MockClientMockRecorder) GetMetrics Uses

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

GetMetrics indicates an expected call of GetMetrics

func (*MockClientMockRecorder) Identifier Uses

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

Identifier indicates an expected call of Identifier

func (*MockClientMockRecorder) IdentityConfig Uses

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

IdentityConfig indicates an expected call of IdentityConfig

func (*MockClientMockRecorder) IdentityManager Uses

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

IdentityManager indicates an expected call of IdentityManager

func (*MockClientMockRecorder) InfraProvider Uses

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

InfraProvider indicates an expected call of InfraProvider

func (*MockClientMockRecorder) LocalDiscoveryProvider Uses

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

LocalDiscoveryProvider indicates an expected call of LocalDiscoveryProvider

func (*MockClientMockRecorder) PrivateKey Uses

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

PrivateKey indicates an expected call of PrivateKey

func (*MockClientMockRecorder) PublicVersion Uses

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

PublicVersion indicates an expected call of PublicVersion

func (*MockClientMockRecorder) Serialize Uses

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

Serialize indicates an expected call of Serialize

func (*MockClientMockRecorder) Sign Uses

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

Sign indicates an expected call of Sign

func (*MockClientMockRecorder) SigningManager Uses

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

SigningManager indicates an expected call of SigningManager

func (*MockClientMockRecorder) UserStore Uses

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

UserStore indicates an expected call of UserStore

func (*MockClientMockRecorder) Verify Uses

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

Verify indicates an expected call of Verify

type MockProviders Uses

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

MockProviders is a mock of Providers interface

func NewMockProviders Uses

func NewMockProviders(ctrl *gomock.Controller) *MockProviders

NewMockProviders creates a new mock instance

func (*MockProviders) ChannelProvider Uses

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

ChannelProvider mocks base method

func (*MockProviders) CryptoSuite Uses

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

CryptoSuite mocks base method

func (*MockProviders) EXPECT Uses

func (m *MockProviders) EXPECT() *MockProvidersMockRecorder

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

func (*MockProviders) EndpointConfig Uses

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

EndpointConfig mocks base method

func (*MockProviders) GetMetrics Uses

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

GetMetrics mocks base method

func (*MockProviders) IdentityConfig Uses

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

IdentityConfig mocks base method

func (*MockProviders) IdentityManager Uses

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

IdentityManager mocks base method

func (*MockProviders) InfraProvider Uses

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

InfraProvider mocks base method

func (*MockProviders) LocalDiscoveryProvider Uses

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

LocalDiscoveryProvider mocks base method

func (*MockProviders) SigningManager Uses

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

SigningManager mocks base method

func (*MockProviders) UserStore Uses

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

UserStore mocks base method

type MockProvidersMockRecorder Uses

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

MockProvidersMockRecorder is the mock recorder for MockProviders

func (*MockProvidersMockRecorder) ChannelProvider Uses

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

ChannelProvider indicates an expected call of ChannelProvider

func (*MockProvidersMockRecorder) CryptoSuite Uses

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

CryptoSuite indicates an expected call of CryptoSuite

func (*MockProvidersMockRecorder) EndpointConfig Uses

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

EndpointConfig indicates an expected call of EndpointConfig

func (*MockProvidersMockRecorder) GetMetrics Uses

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

GetMetrics indicates an expected call of GetMetrics

func (*MockProvidersMockRecorder) IdentityConfig Uses

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

IdentityConfig indicates an expected call of IdentityConfig

func (*MockProvidersMockRecorder) IdentityManager Uses

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

IdentityManager indicates an expected call of IdentityManager

func (*MockProvidersMockRecorder) InfraProvider Uses

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

InfraProvider indicates an expected call of InfraProvider

func (*MockProvidersMockRecorder) LocalDiscoveryProvider Uses

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

LocalDiscoveryProvider indicates an expected call of LocalDiscoveryProvider

func (*MockProvidersMockRecorder) SigningManager Uses

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

SigningManager indicates an expected call of SigningManager

func (*MockProvidersMockRecorder) UserStore Uses

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

UserStore indicates an expected call of UserStore

Package mockcontext imports 6 packages (graph). Updated 2019-02-26. Refresh now. Tools for package owners.