Discover Packages
github.com/securekey/fabric-snaps
configmanager
pkg
mocks
package
Version:
v0.2.17-metrics
Opens a new window with list of versions in this module.
Published: Sep 13, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
NewMockStub(channelID)
SaveConfig(stub, mspID, peerID, appName, ver, configData)
SaveConfigFromFile(stub, mspID, peerID, appName, ver, configFile)
Types
Source Files
Documentation
Documentation
¶
func NewMockStub(channelID string) *mockstub.MockStub
func SaveConfig(stub *mockstub.MockStub, mspID, peerID, appName, ver string, configData []byte) error
func SaveConfigFromFile(stub *mockstub.MockStub, mspID, peerID, appName, ver, configFile string) error
NewMockStub creates a mock configuration snap stub
SaveConfig saves the config data to the configuration snap using the given stub
and caches the data in the configuration service
SaveConfigFromFile reads the config data from the given file and saves it to the configuration snap
using the given stub and caches the data in the configuration service
Source Files
¶
Click to show internal directories.
Click to hide internal directories.