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

package mockmsp

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

Package mockmsp is a generated GoMock package.

Index

Package Files

mockmsp.gen.go

type MockIdentityConfig Uses

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

MockIdentityConfig is a mock of IdentityConfig interface

func NewMockIdentityConfig Uses

func NewMockIdentityConfig(ctrl *gomock.Controller) *MockIdentityConfig

NewMockIdentityConfig creates a new mock instance

func (*MockIdentityConfig) CAClientCert Uses

func (m *MockIdentityConfig) CAClientCert(arg0 string) ([]byte, bool)

CAClientCert mocks base method

func (*MockIdentityConfig) CAClientKey Uses

func (m *MockIdentityConfig) CAClientKey(arg0 string) ([]byte, bool)

CAClientKey mocks base method

func (*MockIdentityConfig) CAConfig Uses

func (m *MockIdentityConfig) CAConfig(arg0 string) (*msp.CAConfig, bool)

CAConfig mocks base method

func (*MockIdentityConfig) CAKeyStorePath Uses

func (m *MockIdentityConfig) CAKeyStorePath() string

CAKeyStorePath mocks base method

func (*MockIdentityConfig) CAServerCerts Uses

func (m *MockIdentityConfig) CAServerCerts(arg0 string) ([][]byte, bool)

CAServerCerts mocks base method

func (*MockIdentityConfig) Client Uses

func (m *MockIdentityConfig) Client() *msp.ClientConfig

Client mocks base method

func (*MockIdentityConfig) CredentialStorePath Uses

func (m *MockIdentityConfig) CredentialStorePath() string

CredentialStorePath mocks base method

func (*MockIdentityConfig) EXPECT Uses

func (m *MockIdentityConfig) EXPECT() *MockIdentityConfigMockRecorder

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

type MockIdentityConfigMockRecorder Uses

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

MockIdentityConfigMockRecorder is the mock recorder for MockIdentityConfig

func (*MockIdentityConfigMockRecorder) CAClientCert Uses

func (mr *MockIdentityConfigMockRecorder) CAClientCert(arg0 interface{}) *gomock.Call

CAClientCert indicates an expected call of CAClientCert

func (*MockIdentityConfigMockRecorder) CAClientKey Uses

func (mr *MockIdentityConfigMockRecorder) CAClientKey(arg0 interface{}) *gomock.Call

CAClientKey indicates an expected call of CAClientKey

func (*MockIdentityConfigMockRecorder) CAConfig Uses

func (mr *MockIdentityConfigMockRecorder) CAConfig(arg0 interface{}) *gomock.Call

CAConfig indicates an expected call of CAConfig

func (*MockIdentityConfigMockRecorder) CAKeyStorePath Uses

func (mr *MockIdentityConfigMockRecorder) CAKeyStorePath() *gomock.Call

CAKeyStorePath indicates an expected call of CAKeyStorePath

func (*MockIdentityConfigMockRecorder) CAServerCerts Uses

func (mr *MockIdentityConfigMockRecorder) CAServerCerts(arg0 interface{}) *gomock.Call

CAServerCerts indicates an expected call of CAServerCerts

func (*MockIdentityConfigMockRecorder) Client Uses

func (mr *MockIdentityConfigMockRecorder) Client() *gomock.Call

Client indicates an expected call of Client

func (*MockIdentityConfigMockRecorder) CredentialStorePath Uses

func (mr *MockIdentityConfigMockRecorder) CredentialStorePath() *gomock.Call

CredentialStorePath indicates an expected call of CredentialStorePath

type MockIdentityManager Uses

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

MockIdentityManager is a mock of IdentityManager interface

func NewMockIdentityManager Uses

func NewMockIdentityManager(ctrl *gomock.Controller) *MockIdentityManager

NewMockIdentityManager creates a new mock instance

func (*MockIdentityManager) CreateSigningIdentity Uses

func (m *MockIdentityManager) CreateSigningIdentity(arg0 ...msp.SigningIdentityOption) (msp.SigningIdentity, error)

CreateSigningIdentity mocks base method

func (*MockIdentityManager) EXPECT Uses

func (m *MockIdentityManager) EXPECT() *MockIdentityManagerMockRecorder

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

func (*MockIdentityManager) GetSigningIdentity Uses

func (m *MockIdentityManager) GetSigningIdentity(arg0 string) (msp.SigningIdentity, error)

GetSigningIdentity mocks base method

type MockIdentityManagerMockRecorder Uses

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

MockIdentityManagerMockRecorder is the mock recorder for MockIdentityManager

func (*MockIdentityManagerMockRecorder) CreateSigningIdentity Uses

func (mr *MockIdentityManagerMockRecorder) CreateSigningIdentity(arg0 ...interface{}) *gomock.Call

CreateSigningIdentity indicates an expected call of CreateSigningIdentity

func (*MockIdentityManagerMockRecorder) GetSigningIdentity Uses

func (mr *MockIdentityManagerMockRecorder) GetSigningIdentity(arg0 interface{}) *gomock.Call

GetSigningIdentity indicates an expected call of GetSigningIdentity

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) EXPECT Uses

func (m *MockProviders) EXPECT() *MockProvidersMockRecorder

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

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) 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) 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) UserStore Uses

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

UserStore indicates an expected call of UserStore

Package mockmsp imports 3 packages (graph). Updated 2019-02-27. Refresh now. Tools for package owners.