Documentation ¶
Index ¶
- type CustomCoreFactory
- func (f *CustomCoreFactory) CreateCryptoSuiteProvider(cryptoSuiteConfig core.CryptoSuiteConfig) (core.CryptoSuite, error)
- func (f *CustomCoreFactory) CreateInfraProvider(config fab.EndpointConfig) (fab.InfraProvider, error)
- func (f *CustomCoreFactory) CreateSigningManager(cryptoProvider core.CryptoSuite) (core.SigningManager, error)
- type CustomMSPFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomCoreFactory ¶
type CustomCoreFactory struct {
// contains filtered or unexported fields
}
CustomCoreFactory is a custom factory for tests.
func NewCustomCoreFactory ¶
func NewCustomCoreFactory(customCryptoSuite core.CryptoSuite) *CustomCoreFactory
NewCustomCoreFactory creates a new instance of customCoreFactory
func (*CustomCoreFactory) CreateCryptoSuiteProvider ¶
func (f *CustomCoreFactory) CreateCryptoSuiteProvider(cryptoSuiteConfig core.CryptoSuiteConfig) (core.CryptoSuite, error)
CreateCryptoSuiteProvider creates custom crypto provider
func (*CustomCoreFactory) CreateInfraProvider ¶
func (f *CustomCoreFactory) CreateInfraProvider(config fab.EndpointConfig) (fab.InfraProvider, error)
CreateInfraProvider creates InfraProvider
func (*CustomCoreFactory) CreateSigningManager ¶
func (f *CustomCoreFactory) CreateSigningManager(cryptoProvider core.CryptoSuite) (core.SigningManager, error)
CreateSigningManager creates SigningManager
type CustomMSPFactory ¶
type CustomMSPFactory struct {
// contains filtered or unexported fields
}
CustomMSPFactory is a custom factory for tests.
func NewCustomMSPFactory ¶
func NewCustomMSPFactory(customUserStore msp.UserStore) *CustomMSPFactory
NewCustomMSPFactory creates a custom MSPFactory
func (*CustomMSPFactory) CreateIdentityManagerProvider ¶
func (f *CustomMSPFactory) CreateIdentityManagerProvider(endpointConfig fab.EndpointConfig, cryptoProvider core.CryptoSuite, userStore msp.UserStore) (msp.IdentityManagerProvider, error)
CreateIdentityManagerProvider creates an IdentityManager provider
func (*CustomMSPFactory) CreateUserStore ¶
func (f *CustomMSPFactory) CreateUserStore(config msp.IdentityConfig) (msp.UserStore, error)
CreateUserStore creates UserStore
Click to show internal directories.
Click to hide internal directories.