mockmsp

package
v0.0.1-bate.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockmsp is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIdentityConfig

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

MockIdentityConfig is a mock of IdentityConfig interface

func NewMockIdentityConfig

func NewMockIdentityConfig(ctrl *gomock.Controller) *MockIdentityConfig

NewMockIdentityConfig creates a new mock instance

func (*MockIdentityConfig) CAClientCert

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

CAClientCert mocks base method

func (*MockIdentityConfig) CAClientKey

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

CAClientKey mocks base method

func (*MockIdentityConfig) CAConfig

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

CAConfig mocks base method

func (*MockIdentityConfig) CAKeyStorePath

func (m *MockIdentityConfig) CAKeyStorePath() string

CAKeyStorePath mocks base method

func (*MockIdentityConfig) CAServerCerts

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

CAServerCerts mocks base method

func (*MockIdentityConfig) Client

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

Client mocks base method

func (*MockIdentityConfig) CredentialStorePath

func (m *MockIdentityConfig) CredentialStorePath() string

CredentialStorePath mocks base method

func (*MockIdentityConfig) EXPECT

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

func (*MockIdentityConfig) TLSCACertPool

func (m *MockIdentityConfig) TLSCACertPool() tls.CertPool

TLSCACertPool mocks base method

type MockIdentityConfigMockRecorder

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

MockIdentityConfigMockRecorder is the mock recorder for MockIdentityConfig

func (*MockIdentityConfigMockRecorder) CAClientCert

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

CAClientCert indicates an expected call of CAClientCert

func (*MockIdentityConfigMockRecorder) CAClientKey

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

CAClientKey indicates an expected call of CAClientKey

func (*MockIdentityConfigMockRecorder) CAConfig

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

CAConfig indicates an expected call of CAConfig

func (*MockIdentityConfigMockRecorder) CAKeyStorePath

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

CAKeyStorePath indicates an expected call of CAKeyStorePath

func (*MockIdentityConfigMockRecorder) CAServerCerts

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

CAServerCerts indicates an expected call of CAServerCerts

func (*MockIdentityConfigMockRecorder) Client

Client indicates an expected call of Client

func (*MockIdentityConfigMockRecorder) CredentialStorePath

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

CredentialStorePath indicates an expected call of CredentialStorePath

func (*MockIdentityConfigMockRecorder) TLSCACertPool

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

TLSCACertPool indicates an expected call of TLSCACertPool

type MockIdentityManager

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

MockIdentityManager is a mock of IdentityManager interface

func NewMockIdentityManager

func NewMockIdentityManager(ctrl *gomock.Controller) *MockIdentityManager

NewMockIdentityManager creates a new mock instance

func (*MockIdentityManager) CreateSigningIdentity

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

CreateSigningIdentity mocks base method

func (*MockIdentityManager) EXPECT

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

func (*MockIdentityManager) GetSigningIdentity

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

GetSigningIdentity mocks base method

type MockIdentityManagerMockRecorder

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

MockIdentityManagerMockRecorder is the mock recorder for MockIdentityManager

func (*MockIdentityManagerMockRecorder) CreateSigningIdentity

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

CreateSigningIdentity indicates an expected call of CreateSigningIdentity

func (*MockIdentityManagerMockRecorder) GetSigningIdentity

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

GetSigningIdentity indicates an expected call of GetSigningIdentity

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

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

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