Documentation ¶
Overview ¶
Package mockcontext is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) ChannelProvider() fab.ChannelProvider
- func (m *MockClient) CryptoSuite() core.CryptoSuite
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EndpointConfig() fab.EndpointConfig
- func (m *MockClient) EnrollmentCertificate() []byte
- func (m *MockClient) Identifier() *msp.IdentityIdentifier
- func (m *MockClient) IdentityConfig() msp.IdentityConfig
- func (m *MockClient) IdentityManager(arg0 string) (msp.IdentityManager, bool)
- func (m *MockClient) InfraProvider() fab.InfraProvider
- func (m *MockClient) LocalDiscoveryProvider() fab.LocalDiscoveryProvider
- func (m *MockClient) PrivateKey() core.Key
- func (m *MockClient) PublicVersion() msp.Identity
- func (m *MockClient) Serialize() ([]byte, error)
- func (m *MockClient) Sign(arg0 []byte) ([]byte, error)
- func (m *MockClient) SigningManager() core.SigningManager
- func (m *MockClient) UserStore() msp.UserStore
- func (m *MockClient) Verify(arg0, arg1 []byte) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ChannelProvider() *gomock.Call
- func (mr *MockClientMockRecorder) CryptoSuite() *gomock.Call
- func (mr *MockClientMockRecorder) EndpointConfig() *gomock.Call
- func (mr *MockClientMockRecorder) EnrollmentCertificate() *gomock.Call
- func (mr *MockClientMockRecorder) Identifier() *gomock.Call
- func (mr *MockClientMockRecorder) IdentityConfig() *gomock.Call
- func (mr *MockClientMockRecorder) IdentityManager(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InfraProvider() *gomock.Call
- func (mr *MockClientMockRecorder) LocalDiscoveryProvider() *gomock.Call
- func (mr *MockClientMockRecorder) PrivateKey() *gomock.Call
- func (mr *MockClientMockRecorder) PublicVersion() *gomock.Call
- func (mr *MockClientMockRecorder) Serialize() *gomock.Call
- func (mr *MockClientMockRecorder) Sign(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SigningManager() *gomock.Call
- func (mr *MockClientMockRecorder) UserStore() *gomock.Call
- func (mr *MockClientMockRecorder) Verify(arg0, arg1 interface{}) *gomock.Call
- type MockProviders
- func (m *MockProviders) ChannelProvider() fab.ChannelProvider
- func (m *MockProviders) CryptoSuite() core.CryptoSuite
- func (m *MockProviders) EXPECT() *MockProvidersMockRecorder
- func (m *MockProviders) EndpointConfig() fab.EndpointConfig
- func (m *MockProviders) IdentityConfig() msp.IdentityConfig
- func (m *MockProviders) IdentityManager(arg0 string) (msp.IdentityManager, bool)
- func (m *MockProviders) InfraProvider() fab.InfraProvider
- func (m *MockProviders) LocalDiscoveryProvider() fab.LocalDiscoveryProvider
- func (m *MockProviders) SigningManager() core.SigningManager
- func (m *MockProviders) UserStore() msp.UserStore
- type MockProvidersMockRecorder
- func (mr *MockProvidersMockRecorder) ChannelProvider() *gomock.Call
- func (mr *MockProvidersMockRecorder) CryptoSuite() *gomock.Call
- func (mr *MockProvidersMockRecorder) EndpointConfig() *gomock.Call
- func (mr *MockProvidersMockRecorder) IdentityConfig() *gomock.Call
- func (mr *MockProvidersMockRecorder) IdentityManager(arg0 interface{}) *gomock.Call
- func (mr *MockProvidersMockRecorder) InfraProvider() *gomock.Call
- func (mr *MockProvidersMockRecorder) LocalDiscoveryProvider() *gomock.Call
- func (mr *MockProvidersMockRecorder) SigningManager() *gomock.Call
- func (mr *MockProvidersMockRecorder) UserStore() *gomock.Call
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) 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) 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 ¶
func (m *MockProviders) EXPECT() *MockProvidersMockRecorder
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) 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) 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