SYMBOL INDEX (735 symbols across 47 files) FILE: fabric-cli/cmd/fabric-cli/action/action.go constant defaultUser (line 43) | defaultUser = "User1" constant adminUser (line 44) | adminUser = "Admin" type ArgStruct (line 48) | type ArgStruct struct type Action (line 54) | type Action struct method Initialize (line 68) | func (action *Action) Initialize(flags *pflag.FlagSet) error { method Terminate (line 171) | func (action *Action) Terminate() { method Flags (line 179) | func (action *Action) Flags() *pflag.FlagSet { method EndpointConfig (line 184) | func (action *Action) EndpointConfig() fab.EndpointConfig { method ChannelClient (line 189) | func (action *Action) ChannelClient(...channel.ClientOption) (*channel... method OrgAdminChannelClient (line 205) | func (action *Action) OrgAdminChannelClient(orgID string) (*channel.Cl... method AdminChannelClient (line 223) | func (action *Action) AdminChannelClient() (*channel.Client, error) { method Printer (line 228) | func (action *Action) Printer() printer.Printer { method LocalContext (line 233) | func (action *Action) LocalContext() (context.Local, error) { method ChannelProvider (line 246) | func (action *Action) ChannelProvider() (context.ChannelProvider, erro... method EventClient (line 264) | func (action *Action) EventClient(opts ...event.ClientOption) (*event.... method LedgerClient (line 277) | func (action *Action) LedgerClient() (*ledger.Client, error) { method Peer (line 290) | func (action *Action) Peer() fab.Peer { method Peers (line 298) | func (action *Action) Peers() []fab.Peer { method PeersByOrg (line 303) | func (action *Action) PeersByOrg() map[string][]fab.Peer { method OrgOfPeer (line 308) | func (action *Action) OrgOfPeer(peerURL string) (string, error) { method Client (line 317) | func (action *Action) Client(channelID string) (*channel.Client, error) { method ResourceMgmtClient (line 326) | func (action *Action) ResourceMgmtClient() (*resmgmt.Client, error) { method ResourceMgmtClientForOrg (line 331) | func (action *Action) ResourceMgmtClientForOrg(orgID string) (*resmgmt... method ClientForUser (line 340) | func (action *Action) ClientForUser(channelID string, user mspapi.Sign... method ResourceMgmtClientForUser (line 357) | func (action *Action) ResourceMgmtClientForUser(user mspapi.SigningIde... method ChannelMgmtClientForUser (line 371) | func (action *Action) ChannelMgmtClientForUser(channelID string, user ... method context (line 387) | func (action *Action) context(user mspapi.SigningIdentity) (context.Cl... method OrgID (line 399) | func (action *Action) OrgID() string { method GetOrgID (line 415) | func (action *Action) GetOrgID(mspID string) (string, error) { method User (line 427) | func (action *Action) User() (mspapi.SigningIdentity, error) { method newUser (line 435) | func (action *Action) newUser(orgID, username, pwd string) (mspapi.Sig... method OrgUser (line 461) | func (action *Action) OrgUser(orgID, username string) (mspapi.SigningI... method OrgAdminUser (line 481) | func (action *Action) OrgAdminUser(orgID string) (mspapi.SigningIdenti... method PeerFromURL (line 490) | func (action *Action) PeerFromURL(url string) (fab.Peer, bool) { method Orderers (line 500) | func (action *Action) Orderers() ([]fab.Orderer, error) { method RandomOrderer (line 519) | func (action *Action) RandomOrderer() (fab.Orderer, error) { method getPeers (line 565) | func (action *Action) getPeers(allPeers []fab.Peer, peerURLs []string,... method PeerConfig (line 588) | func (action *Action) PeerConfig() (*fab.PeerConfig, error) { method CreateDiscoveryService (line 607) | func (action *Action) CreateDiscoveryService(channelID string) (fab.Di... method GetPeers (line 613) | func (action *Action) GetPeers() ([]fab.Peer, error) { function ArgsArray (line 531) | func ArgsArray() ([]ArgStruct, error) { function levelFromName (line 548) | func levelFromName(levelName string) logging.Level { function containsString (line 617) | func containsString(sarr []string, s string) bool { type cryptoSuiteProviderFactory (line 627) | type cryptoSuiteProviderFactory struct method CreateCryptoSuiteProvider (line 632) | func (f *cryptoSuiteProviderFactory) CreateCryptoSuiteProvider(config ... FILE: fabric-cli/cmd/fabric-cli/action/svcproviderfactory.go type serviceProviderFactory (line 23) | type serviceProviderFactory struct method CreateChannelProvider (line 43) | func (f *serviceProviderFactory) CreateChannelProvider(config fab.Endp... function newServiceProviderFactory (line 27) | func newServiceProviderFactory() (*serviceProviderFactory, error) { type fabricSelectionChannelProvider (line 31) | type fabricSelectionChannelProvider struct method Close (line 58) | func (cp *fabricSelectionChannelProvider) Close() { method Initialize (line 73) | func (cp *fabricSelectionChannelProvider) Initialize(providers context... method ChannelService (line 81) | func (cp *fabricSelectionChannelProvider) ChannelService(ctx fab.Clien... type fabricSelectionChannelService (line 37) | type fabricSelectionChannelService struct method Selection (line 118) | func (cs *fabricSelectionChannelService) Selection() (fab.SelectionSer... type closable (line 53) | type closable interface type providerInit (line 69) | type providerInit interface FILE: fabric-cli/cmd/fabric-cli/chaincode/chaincodecmd.go function Cmd (line 24) | func Cmd() *cobra.Command { FILE: fabric-cli/cmd/fabric-cli/chaincode/getinfocmd.go constant lifecycleSCC (line 25) | lifecycleSCC = "lscc" constant getCCDataFunc (line 27) | getCCDataFunc = "getccdata" constant getCollConfigFunc (line 28) | getCollConfigFunc = "getcollectionsconfig" function getGetInfoCmd (line 56) | func getGetInfoCmd() *cobra.Command { type getInfoAction (line 64) | type getInfoAction struct method invoke (line 77) | func (action *getInfoAction) invoke() error { method getCCData (line 100) | func (action *getInfoAction) getCCData(channelClient *channel.Client) ... method getCollConfig (line 123) | func (action *getInfoAction) getCollConfig(channelClient *channel.Clie... function newGetInfoAction (line 68) | func newGetInfoAction(flags *pflag.FlagSet) (*getInfoAction, error) { FILE: fabric-cli/cmd/fabric-cli/chaincode/installcmd.go function getInstallCmd (line 53) | func getInstallCmd() *cobra.Command { type installAction (line 64) | type installAction struct method invoke (line 74) | func (action *installAction) invoke() error { method installChaincode (line 90) | func (action *installAction) installChaincode(orgID string, targets []... function newInstallAction (line 68) | func newInstallAction(flags *pflag.FlagSet) (*installAction, error) { FILE: fabric-cli/cmd/fabric-cli/chaincode/instantiatecmd.go function getInstantiateCmd (line 57) | func getInstantiateCmd() *cobra.Command { type instantiateAction (line 71) | type instantiateAction struct method invoke (line 84) | func (a *instantiateAction) invoke() error { method newChaincodePolicy (line 141) | func (a *instantiateAction) newChaincodePolicy() (*common.SignaturePol... function newInstantiateAction (line 75) | func newInstantiateAction(flags *pflag.FlagSet) (*instantiateAction, err... function newChaincodePolicy (line 151) | func newChaincodePolicy(policyString string) (*common.SignaturePolicyEnv... type collectionConfigJSON (line 159) | type collectionConfigJSON struct function getCollectionConfigFromFile (line 166) | func getCollectionConfigFromFile(ccFile string) ([]*pb.CollectionConfig,... function getCollectionConfig (line 178) | func getCollectionConfig(cconf []collectionConfigJSON) ([]*pb.Collection... FILE: fabric-cli/cmd/fabric-cli/chaincode/invokecmd.go function getInvokeCmd (line 54) | func getInvokeCmd() *cobra.Command { type invokeAction (line 74) | type invokeAction struct method invoke (line 86) | func (a *invokeAction) invoke() error { function newInvokeAction (line 80) | func newInvokeAction(flags *pflag.FlagSet) (*invokeAction, error) { function average (line 238) | func average(durations []time.Duration) float64 { function min (line 250) | func min(durations []time.Duration) float64 { function max (line 255) | func max(durations []time.Duration) float64 { function minMax (line 260) | func minMax(durations []time.Duration) (min float64, max float64) { FILE: fabric-cli/cmd/fabric-cli/chaincode/invokeerror/invokeerror.go type ErrorCode (line 11) | type ErrorCode constant PersistentError (line 16) | PersistentError ErrorCode = iota constant TransientError (line 20) | TransientError constant TimeoutOnCommit (line 24) | TimeoutOnCommit type Error (line 29) | type Error interface type invokeError (line 36) | type invokeError struct method ErrorCode (line 74) | func (e *invokeError) ErrorCode() ErrorCode { function New (line 42) | func New(code ErrorCode, msg string) Error { function Wrap (line 50) | func Wrap(code ErrorCode, cause error, msg string) Error { function Wrapf (line 58) | func Wrapf(code ErrorCode, cause error, fmt string, args ...interface{})... function Errorf (line 66) | func Errorf(code ErrorCode, fmt string, args ...interface{}) Error { FILE: fabric-cli/cmd/fabric-cli/chaincode/invoketask/invoketask.go type Task (line 24) | type Task struct method Attempts (line 67) | func (t *Task) Attempts() int { method LastError (line 72) | func (t *Task) LastError() error { method Invoke (line 77) | func (t *Task) Invoke() { method doInvoke (line 88) | func (t *Task) doInvoke() error { function New (line 44) | func New(ctxt utils.Context, id string, channelClient *channel.Client, t... FILE: fabric-cli/cmd/fabric-cli/chaincode/multitask/multitask.go type MultiTask (line 12) | type MultiTask struct method Add (line 25) | func (m *MultiTask) Add(task task.Task) { method Invoke (line 30) | func (m *MultiTask) Invoke() { method Attempts (line 40) | func (m *MultiTask) Attempts() int { method LastError (line 49) | func (m *MultiTask) LastError() error { function New (line 18) | func New(completedCB func()) *MultiTask { FILE: fabric-cli/cmd/fabric-cli/chaincode/querycmd.go function getQueryCmd (line 54) | func getQueryCmd() *cobra.Command { type queryAction (line 71) | type queryAction struct method query (line 83) | func (a *queryAction) query() error { function newQueryAction (line 77) | func newQueryAction(flags *pflag.FlagSet) (*queryAction, error) { FILE: fabric-cli/cmd/fabric-cli/chaincode/querytask/querytask.go type Task (line 21) | type Task struct method Invoke (line 59) | func (t *Task) Invoke() { method Attempts (line 109) | func (t *Task) Attempts() int { method LastError (line 114) | func (t *Task) LastError() error { function New (line 39) | func New(ctxt utils.Context, id string, channelClient *channel.Client, t... FILE: fabric-cli/cmd/fabric-cli/chaincode/task/task.go type Task (line 10) | type Task interface FILE: fabric-cli/cmd/fabric-cli/chaincode/upgradecmd.go function getUpgradeCmd (line 56) | func getUpgradeCmd() *cobra.Command { type upgradeAction (line 70) | type upgradeAction struct method invoke (line 83) | func (a *upgradeAction) invoke() error { method newChaincodePolicy (line 139) | func (a *upgradeAction) newChaincodePolicy() (*fabricCommon.SignatureP... function newUpgradeAction (line 74) | func newUpgradeAction(flags *pflag.FlagSet) (*upgradeAction, error) { FILE: fabric-cli/cmd/fabric-cli/chaincode/utils/util.go constant randFunc (line 25) | randFunc = "$rand(" constant padFunc (line 26) | padFunc = "$pad(" constant seqFunc (line 27) | seqFunc = "$seq(" constant setFunc (line 28) | setFunc = "$set(" constant fileFunc (line 29) | fileFunc = "$file(" constant varExp (line 30) | varExp = "${" type Context (line 37) | type Context interface function AsBytes (line 53) | func AsBytes(ctxt Context, args []string) [][]byte { function getArg (line 70) | func getArg(ctxt Context, r *rand.Rand, arg string) string { function evaluateSeqExpression (line 82) | func evaluateSeqExpression(arg string) string { function evaluateRandExpression (line 91) | func evaluateRandExpression(r *rand.Rand, arg string) string { function evaluatePadExpression (line 103) | func evaluatePadExpression(arg string) string { function evaluateFileExpression (line 126) | func evaluateFileExpression(arg string) string { function evaluateSetExpression (line 136) | func evaluateSetExpression(ctxt Context, arg string) string { function evaluateVarExpression (line 154) | func evaluateVarExpression(ctxt Context, arg string) string { function evaluateExpression (line 165) | func evaluateExpression(expression, funcType, endDelim string, evaluate ... function NewContext (line 197) | func NewContext() Context { type defaultContext (line 203) | type defaultContext struct method SetVar (line 207) | func (c *defaultContext) SetVar(k, v string) { method GetVar (line 211) | func (c *defaultContext) GetVar(k string) (string, bool) { function readFile (line 216) | func readFile(filePath string) (string, error) { FILE: fabric-cli/cmd/fabric-cli/chaincode/utils/util_test.go function TestEvaluatePadExpression (line 17) | func TestEvaluatePadExpression(t *testing.T) { function TestFailEvaluatePadExpression (line 25) | func TestFailEvaluatePadExpression(t *testing.T) { function TestEvaluateRandExpression (line 39) | func TestEvaluateRandExpression(t *testing.T) { function TestFailEvaluateRandExpression (line 50) | func TestFailEvaluateRandExpression(t *testing.T) { function TestEvaluateSeqExpression (line 65) | func TestEvaluateSeqExpression(t *testing.T) { function TestFailEvaluateSeqExpression (line 71) | func TestFailEvaluateSeqExpression(t *testing.T) { function TestEvaluateFileExpression (line 75) | func TestEvaluateFileExpression(t *testing.T) { function TestFailEvaluateFileExpression (line 79) | func TestFailEvaluateFileExpression(t *testing.T) { function TestEvaluateSetExpression (line 83) | func TestEvaluateSetExpression(t *testing.T) { function TestFailEvaluateSetExpression (line 89) | func TestFailEvaluateSetExpression(t *testing.T) { function TestGetArg (line 98) | func TestGetArg(t *testing.T) { FILE: fabric-cli/cmd/fabric-cli/channel/channelcmd.go function Cmd (line 24) | func Cmd() *cobra.Command { FILE: fabric-cli/cmd/fabric-cli/channel/channelcreatecmd.go function getChannelCreateCmd (line 41) | func getChannelCreateCmd() *cobra.Command { type channelCreateAction (line 49) | type channelCreateAction struct method invoke (line 59) | func (a *channelCreateAction) invoke() error { function newChannelCreateAction (line 53) | func newChannelCreateAction(flags *pflag.FlagSet) (*channelCreateAction,... FILE: fabric-cli/cmd/fabric-cli/channel/channeljoincmd.go function getChannelJoinCmd (line 41) | func getChannelJoinCmd() *cobra.Command { type channelJoinAction (line 49) | type channelJoinAction struct method invoke (line 65) | func (a *channelJoinAction) invoke() error { method joinChannel (line 82) | func (a *channelJoinAction) joinChannel(orgID string, peers []fab.Peer... function newChannelJoinAction (line 53) | func newChannelJoinAction(flags *pflag.FlagSet) (*channelJoinAction, err... FILE: fabric-cli/cmd/fabric-cli/cmd/fabric-cli.go function newFabricCLICmd (line 20) | func newFabricCLICmd() *cobra.Command { function Execute (line 51) | func Execute() { FILE: fabric-cli/cmd/fabric-cli/config/config.go constant loggerName (line 29) | loggerName = "fabriccli" constant userStatePath (line 30) | userStatePath = "/tmp/enroll_user" constant AutoDetectSelectionProvider (line 33) | AutoDetectSelectionProvider = "auto" constant StaticSelectionProvider (line 36) | StaticSelectionProvider = "static" constant DynamicSelectionProvider (line 39) | DynamicSelectionProvider = "dynamic" constant FabricSelectionProvider (line 42) | FabricSelectionProvider = "fabric" constant UserFlag (line 47) | UserFlag = "user" constant userDescription (line 48) | userDescription = "The user" constant defaultUser (line 49) | defaultUser = "" constant PasswordFlag (line 51) | PasswordFlag = "pw" constant passwordDescription (line 52) | passwordDescription = "The password of the user" constant defaultPassword (line 53) | defaultPassword = "" constant ChaincodeVersionFlag (line 55) | ChaincodeVersionFlag = "v" constant chaincodeVersionDescription (line 56) | chaincodeVersionDescription = "The chaincode version" constant defaultChaincodeVersion (line 57) | defaultChaincodeVersion = "v0" constant LoggingLevelFlag (line 59) | LoggingLevelFlag = "logging-level" constant loggingLevelDescription (line 60) | loggingLevelDescription = "Logging level - ERROR, WARN, INFO, DEBUG" constant defaultLoggingLevel (line 61) | defaultLoggingLevel = "ERROR" constant OrgIDsFlag (line 63) | OrgIDsFlag = "orgid" constant orgIDsDescription (line 64) | orgIDsDescription = "A comma-separated list of organization IDs" constant defaultOrgIDs (line 65) | defaultOrgIDs = "" constant ChannelIDFlag (line 67) | ChannelIDFlag = "cid" constant channelIDDescription (line 68) | channelIDDescription = "The channel ID" constant defaultChannelID (line 69) | defaultChannelID = "" constant ChaincodeIDFlag (line 71) | ChaincodeIDFlag = "ccid" constant chaincodeIDDescription (line 72) | chaincodeIDDescription = "The Chaincode ID" constant defaultChaincodeID (line 73) | defaultChaincodeID = "" constant ChaincodePathFlag (line 75) | ChaincodePathFlag = "ccp" constant chaincodePathDescription (line 76) | chaincodePathDescription = "The chaincode path" constant defaultChaincodePath (line 77) | defaultChaincodePath = "" constant ConfigFileFlag (line 79) | ConfigFileFlag = "config" constant configFileDescription (line 80) | configFileDescription = "The path of the config.yaml file" constant defaultConfigFile (line 81) | defaultConfigFile = "" constant PeerURLFlag (line 83) | PeerURLFlag = "peer" constant peerURLDescription (line 84) | peerURLDescription = "A comma-separated list of peer targets, e.g. 'grpc... constant defaultPeerURL (line 85) | defaultPeerURL = "" constant OrdererFlag (line 87) | OrdererFlag = "orderer" constant ordererURLDescription (line 88) | ordererURLDescription = "The URL of the orderer, e.g. grpcs://localhost:... constant defaultOrdererURL (line 89) | defaultOrdererURL = "" constant PrintFormatFlag (line 91) | PrintFormatFlag = "format" constant printFormatDescription (line 92) | printFormatDescription = "The output format - display, json, raw" constant WriterFlag (line 94) | WriterFlag = "writer" constant writerDescription (line 95) | writerDescription = "The writer - stdout, stderr, log" constant Base64Flag (line 97) | Base64Flag = "base64" constant base64Description (line 98) | base64Description = "If true then binary values are encoded in base64 (o... constant CertificateFileFlag (line 100) | CertificateFileFlag = "cacert" constant certificateDescription (line 101) | certificateDescription = "The path of the ca-cert.pem file" constant defaultCertificate (line 102) | defaultCertificate = "" constant ArgsFlag (line 104) | ArgsFlag = "args" constant argsDescription (line 105) | argsDescription = `The args in JSON format. Example: {"Func":"function",... constant IterationsFlag (line 107) | IterationsFlag = "iterations" constant iterationsDescription (line 108) | iterationsDescription = "The number of times to invoke the chaincode" constant defaultIterations (line 109) | defaultIterations = "1" constant SleepFlag (line 111) | SleepFlag = "sleep" constant sleepTimeDescription (line 112) | sleepTimeDescription = "The number of milliseconds to sleep between invo... constant defaultSleepTime (line 113) | defaultSleepTime = "0" constant TxFileFlag (line 115) | TxFileFlag = "txfile" constant txFileDescription (line 116) | txFileDescription = "The path of the channel.tx file" constant defaultTxFile (line 117) | defaultTxFile = "" constant ChaincodeEventFlag (line 119) | ChaincodeEventFlag = "event" constant chaincodeEventDescription (line 120) | chaincodeEventDescription = "The name of the chaincode event to listen for" constant defaultChaincodeEvent (line 121) | defaultChaincodeEvent = "" constant SeekTypeFlag (line 123) | SeekTypeFlag = "seek" constant seekTypeDescription (line 124) | seekTypeDescription = "The seek type. Possible values: oldest - delivers... constant defaultSeekType (line 125) | defaultSeekType = string(seek.Newest) constant TxIDFlag (line 127) | TxIDFlag = "txid" constant txIDDescription (line 128) | txIDDescription = "The transaction ID" constant defaultTxID (line 129) | defaultTxID = "" constant BlockNumFlag (line 131) | BlockNumFlag = "num" constant blockNumDescription (line 132) | blockNumDescription = "The block number" constant defaultBlockNum (line 133) | defaultBlockNum = "0" constant BlockHashFlag (line 135) | BlockHashFlag = "hash" constant blockHashDescription (line 136) | blockHashDescription = "The block hash" constant defaultBlockHash (line 137) | defaultBlockHash = "" constant TraverseFlag (line 139) | TraverseFlag = "traverse" constant traverseDescription (line 140) | traverseDescription = "Blocks will be traversed starting with the given ... constant defaultTraverse (line 141) | defaultTraverse = "0" constant ChaincodePolicyFlag (line 143) | ChaincodePolicyFlag = "policy" constant chaincodePolicyDescription (line 144) | chaincodePolicyDescription = "The chaincode policy, e.g. OutOf(1,'Org1MS... constant defaultChaincodePolicy (line 145) | defaultChaincodePolicy = "" constant CollectionConfigFileFlag (line 147) | CollectionConfigFileFlag = "collconfig" constant collectionConfigFileDescription (line 148) | collectionConfigFileDescription = "The path of the JSON file that contai... constant defaultCollectionConfigFile (line 149) | defaultCollectionConfigFile = "" constant TimeoutFlag (line 151) | TimeoutFlag = "timeout" constant timeoutDescription (line 152) | timeoutDescription = "The timeout (in milliseconds) for the operation" constant defaultTimeout (line 153) | defaultTimeout = "5000" constant PrintPayloadOnlyFlag (line 155) | PrintPayloadOnlyFlag = "payload" constant printPayloadOnlyDescription (line 156) | printPayloadOnlyDescription = "If specified then only the payload from t... constant defaultPrintPayloadOnly (line 157) | defaultPrintPayloadOnly = "false" constant ValidateFlag (line 159) | ValidateFlag = "validate" constant validateDescription (line 160) | validateDescription = "If specified then endorsement responses from quer... constant defaultValidate (line 161) | defaultValidate = "false" constant ConcurrencyFlag (line 163) | ConcurrencyFlag = "concurrency" constant concurrencyDescription (line 164) | concurrencyDescription = "Specifies the number of concurrent requests se... constant defaultConcurrency (line 165) | defaultConcurrency = "1" constant MaxAttemptsFlag (line 167) | MaxAttemptsFlag = "attempts" constant maxAttemptsDescription (line 168) | maxAttemptsDescription = "Specifies the maximum number of attempts to be... constant defaultMaxAttempts (line 169) | defaultMaxAttempts = "3" constant InitialBackoffFlag (line 171) | InitialBackoffFlag = "backoff" constant initialBackoffDescription (line 172) | initialBackoffDescription = "The initial backoff is the time (in millise... constant defaultInitialBackoff (line 173) | defaultInitialBackoff = "1000" constant MaxBackoffFlag (line 175) | MaxBackoffFlag = "maxbackoff" constant maxBackoffDescription (line 176) | maxBackoffDescription = "The maximum backoff time (in milliseconds)" constant defaultMaxBackoff (line 177) | defaultMaxBackoff = "5000" constant BackoffFactorFlag (line 179) | BackoffFactorFlag = "backofffactor" constant backoffFactorDescription (line 180) | backoffFactorDescription = "The factor by which the backoff time is mult... constant defaultBackoffFactor (line 181) | defaultBackoffFactor = "2" constant VerboseFlag (line 183) | VerboseFlag = "verbose" constant verboseDescription (line 184) | verboseDescription = "If specified then the transaction proposal respons... constant defaultVerbosity (line 185) | defaultVerbosity = "false" constant SelectionProviderFlag (line 187) | SelectionProviderFlag = "selectprovider" constant selectionProviderDescription (line 188) | selectionProviderDescription = "The peer selection provider for invoke/q... constant defaultSelectionProvider (line 189) | defaultSelectionProvider = AutoDetectSelectionProvider constant GoPathFlag (line 191) | GoPathFlag = "gopath" constant goPathDescription (line 192) | goPathDescription = "GOPATH for chaincode install command. If not set, G... constant defaultGoPath (line 193) | defaultGoPath = "" type options (line 199) | type options struct function init (line 240) | func init() { type CLIConfig (line 255) | type CLIConfig struct method Logger (line 296) | func (c *CLIConfig) Logger() *logging.Logger { method LoggingLevel (line 301) | func (c *CLIConfig) LoggingLevel() string { method OrgID (line 318) | func (c *CLIConfig) OrgID() string { method OrgIDs (line 326) | func (c *CLIConfig) OrgIDs() []string { method ChannelID (line 344) | func (c *CLIConfig) ChannelID() string { method UserName (line 355) | func (c *CLIConfig) UserName() string { method UserPassword (line 366) | func (c *CLIConfig) UserPassword() string { method ChaincodeID (line 377) | func (c *CLIConfig) ChaincodeID() string { method ChaincodeEvent (line 388) | func (c *CLIConfig) ChaincodeEvent() string { method SeekType (line 402) | func (c *CLIConfig) SeekType() seek.Type { method ChaincodePath (line 413) | func (c *CLIConfig) ChaincodePath() string { method ChaincodeVersion (line 424) | func (c *CLIConfig) ChaincodeVersion() string { method PeerURL (line 435) | func (c *CLIConfig) PeerURL() string { method PeerURLs (line 440) | func (c *CLIConfig) PeerURLs() []string { method OrdererURL (line 458) | func (c *CLIConfig) OrdererURL() string { method Iterations (line 469) | func (c *CLIConfig) Iterations() int { method SleepTime (line 485) | func (c *CLIConfig) SleepTime() int64 { method BlockNum (line 501) | func (c *CLIConfig) BlockNum() uint64 { method BlockHash (line 517) | func (c *CLIConfig) BlockHash() string { method Traverse (line 528) | func (c *CLIConfig) Traverse() int { method PrintFormat (line 544) | func (c *CLIConfig) PrintFormat() string { method Writer (line 555) | func (c *CLIConfig) Writer() string { method Base64 (line 566) | func (c *CLIConfig) Base64() bool { method OrdererTLSCertificate (line 577) | func (c *CLIConfig) OrdererTLSCertificate() string { method Args (line 588) | func (c *CLIConfig) Args() string { method TxFile (line 599) | func (c *CLIConfig) TxFile() string { method TxID (line 610) | func (c *CLIConfig) TxID() string { method ChaincodePolicy (line 621) | func (c *CLIConfig) ChaincodePolicy() string { method CollectionConfigFile (line 632) | func (c *CLIConfig) CollectionConfigFile() string { method Timeout (line 643) | func (c *CLIConfig) Timeout(timeoutType fab.TimeoutType) time.Duration { method PrintPayloadOnly (line 661) | func (c *CLIConfig) PrintPayloadOnly() bool { method Validate (line 672) | func (c *CLIConfig) Validate() bool { method Concurrency (line 683) | func (c *CLIConfig) Concurrency() uint16 { method MaxAttempts (line 701) | func (c *CLIConfig) MaxAttempts() int { method InitialBackoff (line 718) | func (c *CLIConfig) InitialBackoff() time.Duration { method MaxBackoff (line 734) | func (c *CLIConfig) MaxBackoff() time.Duration { method BackoffFactor (line 751) | func (c *CLIConfig) BackoffFactor() float64 { method Verbose (line 768) | func (c *CLIConfig) Verbose() bool { method SelectionProvider (line 779) | func (c *CLIConfig) SelectionProvider() string { method GoPath (line 796) | func (c *CLIConfig) GoPath() string { method IsLoggingEnabledFor (line 805) | func (c *CLIConfig) IsLoggingEnabledFor(level logging.Level) bool { function InitConfig (line 262) | func InitConfig(flags *pflag.FlagSet) error { function IsFlagSet (line 280) | func IsFlagSet(name string) bool { function Provider (line 286) | func Provider() core.ConfigProvider { function Config (line 291) | func Config() *CLIConfig { function InitLoggingLevel (line 306) | func InitLoggingLevel(flags *pflag.FlagSet, defaultValueAndDescription .... function InitConfigFile (line 312) | func InitConfigFile(flags *pflag.FlagSet, defaultValueAndDescription ...... function InitOrgIDs (line 338) | func InitOrgIDs(flags *pflag.FlagSet, defaultValueAndDescription ...stri... function InitChannelID (line 349) | func InitChannelID(flags *pflag.FlagSet, defaultValueAndDescription ...s... function InitUserName (line 360) | func InitUserName(flags *pflag.FlagSet, defaultValueAndDescription ...st... function InitUserPassword (line 371) | func InitUserPassword(flags *pflag.FlagSet, defaultValueAndDescription .... function InitChaincodeID (line 382) | func InitChaincodeID(flags *pflag.FlagSet, defaultValueAndDescription ..... function InitChaincodeEvent (line 393) | func InitChaincodeEvent(flags *pflag.FlagSet, defaultValueAndDescription... function InitSeekType (line 407) | func InitSeekType(flags *pflag.FlagSet, defaultValueAndDescription ...st... function InitChaincodePath (line 418) | func InitChaincodePath(flags *pflag.FlagSet, defaultValueAndDescription ... function InitChaincodeVersion (line 429) | func InitChaincodeVersion(flags *pflag.FlagSet, defaultValueAndDescripti... function InitPeerURL (line 452) | func InitPeerURL(flags *pflag.FlagSet, defaultValueAndDescription ...str... function InitOrdererURL (line 463) | func InitOrdererURL(flags *pflag.FlagSet, defaultValueAndDescription ...... function InitIterations (line 474) | func InitIterations(flags *pflag.FlagSet, defaultValueAndDescription ...... function InitSleepTime (line 490) | func InitSleepTime(flags *pflag.FlagSet, defaultValueAndDescription ...s... function InitBlockNum (line 506) | func InitBlockNum(flags *pflag.FlagSet, defaultValueAndDescription ...st... function InitBlockHash (line 522) | func InitBlockHash(flags *pflag.FlagSet, defaultValueAndDescription ...s... function InitTraverse (line 533) | func InitTraverse(flags *pflag.FlagSet, defaultValueAndDescription ...st... function InitPrintFormat (line 549) | func InitPrintFormat(flags *pflag.FlagSet, defaultValueAndDescription ..... function InitWriter (line 560) | func InitWriter(flags *pflag.FlagSet, defaultValueAndDescription ...stri... function InitBase64 (line 571) | func InitBase64(flags *pflag.FlagSet, defaultValueAndDescription ...stri... function InitOrdererTLSCertificate (line 582) | func InitOrdererTLSCertificate(flags *pflag.FlagSet, defaultValueAndDesc... function InitArgs (line 593) | func InitArgs(flags *pflag.FlagSet, defaultValueAndDescription ...string) { function InitTxFile (line 604) | func InitTxFile(flags *pflag.FlagSet, defaultValueAndDescription ...stri... function InitTxID (line 615) | func InitTxID(flags *pflag.FlagSet, defaultValueAndDescription ...string) { function InitChaincodePolicy (line 626) | func InitChaincodePolicy(flags *pflag.FlagSet, defaultValueAndDescriptio... function InitCollectionConfigFile (line 637) | func InitCollectionConfigFile(flags *pflag.FlagSet, defaultValueAndDescr... function InitTimeout (line 649) | func InitTimeout(flags *pflag.FlagSet, defaultValueAndDescription ...str... function InitPrintPayloadOnly (line 666) | func InitPrintPayloadOnly(flags *pflag.FlagSet, defaultValueAndDescripti... function InitValidate (line 677) | func InitValidate(flags *pflag.FlagSet, defaultValueAndDescription ...st... function InitConcurrency (line 688) | func InitConcurrency(flags *pflag.FlagSet, defaultValueAndDescription ..... function InitMaxAttempts (line 706) | func InitMaxAttempts(flags *pflag.FlagSet, defaultValueAndDescription ..... function InitInitialBackoff (line 723) | func InitInitialBackoff(flags *pflag.FlagSet, defaultValueAndDescription... function InitMaxBackoff (line 739) | func InitMaxBackoff(flags *pflag.FlagSet, defaultValueAndDescription ...... function InitBackoffFactor (line 756) | func InitBackoffFactor(flags *pflag.FlagSet, defaultValueAndDescription ... function InitVerbosity (line 773) | func InitVerbosity(flags *pflag.FlagSet, defaultValueAndDescription ...s... function InitSelectionProvider (line 784) | func InitSelectionProvider(flags *pflag.FlagSet, defaultValueAndDescript... function InitGoPath (line 790) | func InitGoPath(flags *pflag.FlagSet, defaultValueAndDescription ...stri... function getEmptyArgs (line 811) | func getEmptyArgs() string { function getDefaultValueAndDescription (line 815) | func getDefaultValueAndDescription(defaultValue string, defaultDescripti... FILE: fabric-cli/cmd/fabric-cli/event/eventcmd.go function Cmd (line 23) | func Cmd() *cobra.Command { FILE: fabric-cli/cmd/fabric-cli/event/inputevent.go type inputEvent (line 14) | type inputEvent struct method WaitForEnter (line 19) | func (c *inputEvent) WaitForEnter() chan bool { method readFromCLI (line 24) | func (c *inputEvent) readFromCLI() { FILE: fabric-cli/cmd/fabric-cli/event/listenblockcmd.go function getListenBlockCmd (line 40) | func getListenBlockCmd() *cobra.Command { type listenBlockAction (line 49) | type listenBlockAction struct method invoke (line 60) | func (a *listenBlockAction) invoke() error { function newlistenBlockAction (line 54) | func newlistenBlockAction(flags *pflag.FlagSet) (*listenBlockAction, err... FILE: fabric-cli/cmd/fabric-cli/event/listencccmd.go function getListenCCCmd (line 50) | func getListenCCCmd() *cobra.Command { type listenccAction (line 59) | type listenccAction struct method invoke (line 70) | func (a *listenccAction) invoke() error { function newListenCCAction (line 64) | func newListenCCAction(flags *pflag.FlagSet) (*listenccAction, error) { FILE: fabric-cli/cmd/fabric-cli/event/listenfilteredblockcmd.go function getListenFilteredBlockCmd (line 40) | func getListenFilteredBlockCmd() *cobra.Command { type listenFilteredBlockAction (line 49) | type listenFilteredBlockAction struct method invoke (line 60) | func (a *listenFilteredBlockAction) invoke() error { function newlistenFilteredBlockAction (line 54) | func newlistenFilteredBlockAction(flags *pflag.FlagSet) (*listenFiltered... FILE: fabric-cli/cmd/fabric-cli/event/listentxcmd.go function getListenTXCmd (line 44) | func getListenTXCmd() *cobra.Command { type listentxAction (line 52) | type listentxAction struct method invoke (line 63) | func (a *listentxAction) invoke() error { function newListenTXAction (line 57) | func newListenTXAction(flags *pflag.FlagSet) (*listentxAction, error) { FILE: fabric-cli/cmd/fabric-cli/executor/executor.go type State (line 20) | type State constant NEW (line 24) | NEW State = iota constant STARTED (line 27) | STARTED constant TERMINATED (line 30) | TERMINATED type Executor (line 37) | type Executor struct method Start (line 84) | func (e *Executor) Start() bool { method Submit (line 101) | func (e *Executor) Submit(task worker.Task) error { method SubmitDelayed (line 116) | func (e *Executor) SubmitDelayed(task worker.Task, delay time.Duration... method Wait (line 135) | func (e *Executor) Wait() { method Stop (line 142) | func (e *Executor) Stop(wait bool) bool { method dispatch (line 169) | func (e *Executor) dispatch() { function NewConcurrent (line 51) | func NewConcurrent(name string, concurrency uint16) *Executor { function NewBoundedConcurrent (line 63) | func NewBoundedConcurrent(name string, concurrency uint16, queueLength u... function New (line 73) | func New(name string, queueLength uint16, pool *worker.Pool) *Executor { FILE: fabric-cli/cmd/fabric-cli/executor/worker/worker.go type State (line 14) | type State constant READY (line 18) | READY State = iota constant STOPPED (line 21) | STOPPED type Task (line 25) | type Task interface type Events (line 30) | type Events interface type Worker (line 42) | type Worker struct method Name (line 59) | func (w *Worker) Name() string { method Submit (line 64) | func (w *Worker) Submit(task Task) { method invoke (line 68) | func (w *Worker) invoke(task Task) { method Start (line 78) | func (w *Worker) Start() { method Stop (line 101) | func (w *Worker) Stop() { function newWorker (line 49) | func newWorker(name string, events Events) *Worker { FILE: fabric-cli/cmd/fabric-cli/executor/worker/workerpool.go type Pool (line 17) | type Pool struct method Name (line 42) | func (p *Pool) Name() string { method Start (line 47) | func (p *Pool) Start() { method Stop (line 57) | func (p *Pool) Stop(wait bool) { method Submit (line 80) | func (p *Pool) Submit(task Task) { method StateChange (line 97) | func (p *Pool) StateChange(w *Worker, state State) { method TaskStarted (line 115) | func (p *Pool) TaskStarted(w *Worker, task Task) { method TaskCompleted (line 120) | func (p *Pool) TaskCompleted(w *Worker, task Task) { function NewPool (line 26) | func NewPool(name string, concurrency uint16) *Pool { FILE: fabric-cli/cmd/fabric-cli/fabric-cli.go function main (line 13) | func main() { FILE: fabric-cli/cmd/fabric-cli/printer/blockprinter.go constant AnchorPeersKey (line 31) | AnchorPeersKey = "AnchorPeers" constant ReadersPolicyKey (line 34) | ReadersPolicyKey = "Readers" constant WritersPolicyKey (line 37) | WritersPolicyKey = "Writers" constant AdminsPolicyKey (line 40) | AdminsPolicyKey = "Admins" constant MSPKey (line 43) | MSPKey = "MSP" constant ConsensusTypeKey (line 46) | ConsensusTypeKey = "ConsensusType" constant BatchSizeKey (line 49) | BatchSizeKey = "BatchSize" constant BatchTimeoutKey (line 52) | BatchTimeoutKey = "BatchTimeout" constant ChannelRestrictionsKey (line 55) | ChannelRestrictionsKey = "ChannelRestrictions" constant KafkaBrokersKey (line 58) | KafkaBrokersKey = "KafkaBrokers" constant ChannelCreationPolicyKey (line 61) | ChannelCreationPolicyKey = "ChannelCreationPolicy" constant ConsortiumKey (line 64) | ConsortiumKey = "Consortium" constant HashingAlgorithmKey (line 67) | HashingAlgorithmKey = "HashingAlgorithm" constant BlockDataHashingStructureKey (line 70) | BlockDataHashingStructureKey = "BlockDataHashingStructure" constant OrdererAddressesKey (line 73) | OrdererAddressesKey = "OrdererAddresses" constant ChannelGroupKey (line 76) | ChannelGroupKey = "Channel" constant CapabilitiesKey (line 79) | CapabilitiesKey = "Capabilities" constant collectionSeparator (line 81) | collectionSeparator = "~" type Printer (line 85) | type Printer interface type BlockPrinter (line 124) | type BlockPrinter struct method PrintBlockchainInfo (line 143) | func (p *BlockPrinter) PrintBlockchainInfo(info *fabriccmn.BlockchainI... method PrintBlock (line 157) | func (p *BlockPrinter) PrintBlock(block *fabriccmn.Block) { method PrintFilteredBlock (line 187) | func (p *BlockPrinter) PrintFilteredBlock(block *pb.FilteredBlock) { method PrintChannels (line 208) | func (p *BlockPrinter) PrintChannels(channels []*pb.ChannelInfo) { method PrintPeers (line 223) | func (p *BlockPrinter) PrintPeers(peers []fab.Peer) { method PrintChaincodes (line 241) | func (p *BlockPrinter) PrintChaincodes(chaincodes []*pb.ChaincodeInfo) { method PrintProcessedTransaction (line 259) | func (p *BlockPrinter) PrintProcessedTransaction(tx *pb.ProcessedTrans... method PrintChaincodeData (line 272) | func (p *BlockPrinter) PrintChaincodeData(ccData *ccprovider.Chaincode... method doPrintChaincodeData (line 286) | func (p *BlockPrinter) doPrintChaincodeData(ccData *ccprovider.Chainco... method doPrintCollConfig (line 312) | func (p *BlockPrinter) doPrintCollConfig(collConfig *pb.CollectionConf... method printStaticCollectionConfig (line 327) | func (p *BlockPrinter) printStaticCollectionConfig(config *pb.StaticCo... method PrintTxProposalResponses (line 341) | func (p *BlockPrinter) PrintTxProposalResponses(responses []*fab.Trans... method PrintChaincodeEvent (line 361) | func (p *BlockPrinter) PrintChaincodeEvent(event *fab.CCEvent) { method PrintTxProposalResponse (line 377) | func (p *BlockPrinter) PrintTxProposalResponse(response *fab.Transacti... method PrintProposalResponse (line 396) | func (p *BlockPrinter) PrintProposalResponse(response *pb.ProposalResp... method PrintResponses (line 417) | func (p *BlockPrinter) PrintResponses(responses []*pb.Response) { method PrintResponse (line 437) | func (p *BlockPrinter) PrintResponse(response *pb.Response) { method PrintCDSData (line 444) | func (p *BlockPrinter) PrintCDSData(cdsData *ccprovider.CDSData) { method PrintEnvelope (line 450) | func (p *BlockPrinter) PrintEnvelope(envelope *fabriccmn.Envelope) { method PrintPayload (line 460) | func (p *BlockPrinter) PrintPayload(payload *fabriccmn.Payload) { method PrintChannelHeader (line 490) | func (p *BlockPrinter) PrintChannelHeader(chdr *fabriccmn.ChannelHeade... method PrintChaincodeHeaderExtension (line 507) | func (p *BlockPrinter) PrintChaincodeHeaderExtension(ccHdrExt *pb.Chai... method PrintChaincodeID (line 514) | func (p *BlockPrinter) PrintChaincodeID(ccID *pb.ChaincodeID) { method PrintChaincodeInfo (line 524) | func (p *BlockPrinter) PrintChaincodeInfo(ccInfo *pb.ChaincodeInfo) { method PrintSignatureHeader (line 534) | func (p *BlockPrinter) PrintSignatureHeader(sigHdr *fabriccmn.Signatur... method PrintData (line 540) | func (p *BlockPrinter) PrintData(headerType fabriccmn.HeaderType, data... method PrintConfigEnvelope (line 568) | func (p *BlockPrinter) PrintConfigEnvelope(envelope *fabriccmn.ConfigE... method PrintConfigUpdateEnvelope (line 578) | func (p *BlockPrinter) PrintConfigUpdateEnvelope(envelope *fabriccmn.C... method PrintTransaction (line 598) | func (p *BlockPrinter) PrintTransaction(tx *pb.Transaction) { method PrintFilteredTransaction (line 609) | func (p *BlockPrinter) PrintFilteredTransaction(tx *pb.FilteredTransac... method PrintTXAction (line 626) | func (p *BlockPrinter) PrintTXAction(action *pb.TransactionAction) { method PrintFilteredCCAction (line 649) | func (p *BlockPrinter) PrintFilteredCCAction(action *pb.FilteredChainc... method PrintChaincodeActionPayload (line 658) | func (p *BlockPrinter) PrintChaincodeActionPayload(chaPayload *pb.Chai... method PrintChaincodeProposalPayload (line 676) | func (p *BlockPrinter) PrintChaincodeProposalPayload(cpp *pb.Chaincode... method PrintChaincodeInvocationSpec (line 697) | func (p *BlockPrinter) PrintChaincodeInvocationSpec(cis *pb.ChaincodeI... method PrintAction (line 704) | func (p *BlockPrinter) PrintAction(action *pb.ChaincodeEndorsedAction) { method PrintProposalResponsePayload (line 722) | func (p *BlockPrinter) PrintProposalResponsePayload(prp *pb.ProposalRe... method PrintChaincodeAction (line 733) | func (p *BlockPrinter) PrintChaincodeAction(chaincodeAction *pb.Chainc... method PrintTxReadWriteSet (line 759) | func (p *BlockPrinter) PrintTxReadWriteSet(txRWSet *rwsetutil.TxRwSet) { method PrintNsReadWriteSet (line 770) | func (p *BlockPrinter) PrintNsReadWriteSet(nsRWSet *rwsetutil.NsRwSet) { method PrintKvRwSet (line 783) | func (p *BlockPrinter) PrintKvRwSet(kvRWSet *kvrwset.KVRWSet, namespac... method PrintCollHashedRwSets (line 814) | func (p *BlockPrinter) PrintCollHashedRwSets(collHashedRwSets []*rwset... method PrintCollHashedRwSet (line 825) | func (p *BlockPrinter) PrintCollHashedRwSet(collHashedRwSet *rwsetutil... method PrintHashedRwSet (line 835) | func (p *BlockPrinter) PrintHashedRwSet(hashedRwSet *kvrwset.HashedRWS... method PrintHashedReads (line 841) | func (p *BlockPrinter) PrintHashedReads(hashedReads []*kvrwset.KVReadH... method PrintHashedWrites (line 852) | func (p *BlockPrinter) PrintHashedWrites(hashedWrites []*kvrwset.KVWri... method PrintHashedRead (line 863) | func (p *BlockPrinter) PrintHashedRead(hashedRead *kvrwset.KVReadHash) { method PrintHashedWrite (line 869) | func (p *BlockPrinter) PrintHashedWrite(hashedWrite *kvrwset.KVWriteHa... method PrintRangeQueryInfo (line 876) | func (p *BlockPrinter) PrintRangeQueryInfo(rqi *kvrwset.RangeQueryInfo) { method PrintReadsInfo (line 886) | func (p *BlockPrinter) PrintReadsInfo(ri interface{}) { method PrintRawReads (line 899) | func (p *BlockPrinter) PrintRawReads(qr *kvrwset.QueryReads) { method PrintReadsMerkleHashes (line 910) | func (p *BlockPrinter) PrintReadsMerkleHashes(qr *kvrwset.QueryReadsMe... method PrintRead (line 922) | func (p *BlockPrinter) PrintRead(r *kvrwset.KVRead) { method PrintVersion (line 930) | func (p *BlockPrinter) PrintVersion(version *kvrwset.Version) { method PrintWrite (line 940) | func (p *BlockPrinter) PrintWrite(w *kvrwset.KVWrite) { method PrintLSCCWrite (line 947) | func (p *BlockPrinter) PrintLSCCWrite(w *kvrwset.KVWrite) { method printChaincodeData (line 960) | func (p *BlockPrinter) printChaincodeData(value []byte) { method printCollectionConfig (line 971) | func (p *BlockPrinter) printCollectionConfig(value []byte) { method PrintChaincodeResponse (line 982) | func (p *BlockPrinter) PrintChaincodeResponse(response *pb.Response) { method PrintChaincodeEventFromBlock (line 989) | func (p *BlockPrinter) PrintChaincodeEventFromBlock(chaincodeEvent *pb... method PrintEndorsement (line 997) | func (p *BlockPrinter) PrintEndorsement(endorsement *pb.Endorsement) { method PrintConfig (line 1003) | func (p *BlockPrinter) PrintConfig(config *fabriccmn.Config) { method PrintConfigGroup (line 1011) | func (p *BlockPrinter) PrintConfigGroup(configGroup *fabriccmn.ConfigG... method PrintConfigPolicy (line 1044) | func (p *BlockPrinter) PrintConfigPolicy(policy *fabriccmn.ConfigPolic... method PrintCapabilities (line 1079) | func (p *BlockPrinter) PrintCapabilities(capabilities *fabriccmn.Capab... method PrintImplicitMetaPolicy (line 1086) | func (p *BlockPrinter) PrintImplicitMetaPolicy(impMetaPolicy *fabriccm... method PrintSignaturePolicyEnvelope (line 1092) | func (p *BlockPrinter) PrintSignaturePolicyEnvelope(sigPolicyEnv *fabr... method PrintMSPPrincipal (line 1107) | func (p *BlockPrinter) PrintMSPPrincipal(principal *msp.MSPPrincipal) { method PrintSignaturePolicy (line 1134) | func (p *BlockPrinter) PrintSignaturePolicy(sigPolicy *fabriccmn.Signa... method PrintSignaturePolicySignedBy (line 1148) | func (p *BlockPrinter) PrintSignaturePolicySignedBy(sigPolicy *fabricc... method PrintSignaturePolicyNOutOf (line 1153) | func (p *BlockPrinter) PrintSignaturePolicyNOutOf(sigPolicy *fabriccmn... method PrintConfigValue (line 1165) | func (p *BlockPrinter) PrintConfigValue(name string, value *fabriccmn.... method PrintBatchSize (line 1276) | func (p *BlockPrinter) PrintBatchSize(batchSize *ab.BatchSize) { method PrintMSPConfig (line 1293) | func (p *BlockPrinter) PrintMSPConfig(mspConfig *msp.MSPConfig) { method PrintFabricMSPConfig (line 1312) | func (p *BlockPrinter) PrintFabricMSPConfig(mspConfig *msp.FabricMSPCo... method PrintAnchorPeers (line 1322) | func (p *BlockPrinter) PrintAnchorPeers(anchorPeers *pb.AnchorPeers) { method PrintAnchorPeer (line 1333) | func (p *BlockPrinter) PrintAnchorPeer(anchorPeer *pb.AnchorPeer) { method PrintConfigSignature (line 1339) | func (p *BlockPrinter) PrintConfigSignature(sig *fabriccmn.ConfigSigna... method PrintConfigUpdate (line 1353) | func (p *BlockPrinter) PrintConfigUpdate(configUpdate *fabriccmn.Confi... method PrintBlockMetadata (line 1364) | func (p *BlockPrinter) PrintBlockMetadata(blockMetaData *fabriccmn.Blo... method PrintSignaturesMetadata (line 1372) | func (p *BlockPrinter) PrintSignaturesMetadata(metadata *fabriccmn.Met... method PrintLastConfigMetadata (line 1387) | func (p *BlockPrinter) PrintLastConfigMetadata(metadata *fabriccmn.Met... method PrintTransactionsFilterMetadata (line 1398) | func (p *BlockPrinter) PrintTransactionsFilterMetadata(txFilter ledger... method PrintOrdererMetadata (line 1407) | func (p *BlockPrinter) PrintOrdererMetadata(metadata *fabriccmn.Metada... method PrintChaincodeDeploymentSpec (line 1412) | func (p *BlockPrinter) PrintChaincodeDeploymentSpec(depSpec *pb.Chainc... method PrintChaincodeSpec (line 1419) | func (p *BlockPrinter) PrintChaincodeSpec(ccSpec *pb.ChaincodeSpec) { method PrintChaincodeInput (line 1433) | func (p *BlockPrinter) PrintChaincodeInput(ccInput *pb.ChaincodeInput) { method PrintPeer (line 1447) | func (p *BlockPrinter) PrintPeer(peer fab.Peer) { function NewBlockPrinter (line 129) | func NewBlockPrinter(format OutputFormat, writerType WriterType) *BlockP... function NewBlockPrinterWithOpts (line 136) | func NewBlockPrinterWithOpts(format OutputFormat, writerType WriterType,... type ProviderType (line 1283) | type ProviderType constant FABRIC (line 1287) | FABRIC ProviderType = iota constant IDEMIX (line 1288) | IDEMIX constant OTHER (line 1289) | OTHER function getMetadataOrPanic (line 1457) | func getMetadataOrPanic(blockMetaData *fabriccmn.BlockMetadata, index fa... function unmarshalOrPanic (line 1466) | func unmarshalOrPanic(buf []byte, pb proto.Message) { function Base64URLEncode (line 1474) | func Base64URLEncode(data []byte) string { function Base64URLDecode (line 1479) | func Base64URLDecode(data string) ([]byte, error) { function isCollectionConfigKey (line 1488) | func isCollectionConfigKey(key string) bool { FILE: fabric-cli/cmd/fabric-cli/printer/formatter.go type OutputFormat (line 15) | type OutputFormat method String (line 28) | func (f OutputFormat) String() string { constant RAW (line 19) | RAW OutputFormat = iota constant JSON (line 22) | JSON constant DISPLAY (line 25) | DISPLAY function AsOutputFormat (line 42) | func AsOutputFormat(f string) OutputFormat { type Formatter (line 54) | type Formatter interface type FormatterOpts (line 93) | type FormatterOpts struct function NewFormatter (line 100) | func NewFormatter(format OutputFormat, writerType WriterType) Formatter { function NewFormatterWithOpts (line 106) | func NewFormatterWithOpts(format OutputFormat, writerType WriterType, op... type formatter (line 117) | type formatter struct method write (line 121) | func (f *formatter) write(format string, a ...interface{}) error { type displayFormatter (line 125) | type displayFormatter struct method Print (line 131) | func (p *displayFormatter) Print(frmt string, vars ...interface{}) { method Field (line 136) | func (p *displayFormatter) Field(field string, value interface{}) { method Element (line 144) | func (p *displayFormatter) Element(element string) { method ElementEnd (line 151) | func (p *displayFormatter) ElementEnd() { method Array (line 155) | func (p *displayFormatter) Array(element string) { method ArrayEnd (line 162) | func (p *displayFormatter) ArrayEnd() { method Item (line 167) | func (p *displayFormatter) Item(element string, index interface{}) { method ItemEnd (line 174) | func (p *displayFormatter) ItemEnd() { method ItemValue (line 178) | func (p *displayFormatter) ItemValue(element string, index interface{}... method Value (line 184) | func (p *displayFormatter) Value(value interface{}) { method PrintHeader (line 188) | func (p *displayFormatter) PrintHeader() { method PrintFooter (line 192) | func (p *displayFormatter) PrintFooter() { method prefix (line 196) | func (p *displayFormatter) prefix() string { method encodeValue (line 204) | func (p *displayFormatter) encodeValue(value interface{}) interface{} { type jsonFormatter (line 216) | type jsonFormatter struct method Print (line 221) | func (p *jsonFormatter) Print(frmt string, vars ...interface{}) { method Field (line 225) | func (p *jsonFormatter) Field(field string, value interface{}) { method Element (line 239) | func (p *jsonFormatter) Element(element string) { method ElementEnd (line 251) | func (p *jsonFormatter) ElementEnd() { method Array (line 256) | func (p *jsonFormatter) Array(element string) { method ArrayEnd (line 268) | func (p *jsonFormatter) ArrayEnd() { method Item (line 273) | func (p *jsonFormatter) Item(element string, index interface{}) { method ItemEnd (line 281) | func (p *jsonFormatter) ItemEnd() { method ItemValue (line 285) | func (p *jsonFormatter) ItemValue(element string, index interface{}, v... method Value (line 293) | func (p *jsonFormatter) Value(value interface{}) { method PrintHeader (line 300) | func (p *jsonFormatter) PrintHeader() { method PrintFooter (line 305) | func (p *jsonFormatter) PrintFooter() { method encodeValue (line 311) | func (p *jsonFormatter) encodeValue(value interface{}) interface{} { FILE: fabric-cli/cmd/fabric-cli/printer/printer.go constant indentSize (line 12) | indentSize = 3 type printer (line 15) | type printer struct method Print (line 30) | func (p *printer) Print(frmt string, vars ...interface{}) { method Field (line 39) | func (p *printer) Field(Field string, value interface{}) { method Element (line 44) | func (p *printer) Element(element string) { method ElementEnd (line 49) | func (p *printer) ElementEnd() { method Array (line 54) | func (p *printer) Array(element string) { method ArrayEnd (line 59) | func (p *printer) ArrayEnd() { method Item (line 64) | func (p *printer) Item(element string, index interface{}) { method ItemEnd (line 69) | func (p *printer) ItemEnd() { method ItemValue (line 74) | func (p *printer) ItemValue(element string, index interface{}, value i... method Value (line 79) | func (p *printer) Value(value interface{}) { method PrintHeader (line 84) | func (p *printer) PrintHeader() { method PrintFooter (line 89) | func (p *printer) PrintFooter() { function newPrinter (line 20) | func newPrinter(format OutputFormat, writerType WriterType) *printer { function newPrinterWithOpts (line 25) | func newPrinterWithOpts(format OutputFormat, writerType WriterType, opts... FILE: fabric-cli/cmd/fabric-cli/printer/protoutils.go function ExtractEnvelopeOrPanic (line 20) | func ExtractEnvelopeOrPanic(block *cb.Block, index int) *cb.Envelope { function ExtractEnvelope (line 30) | func ExtractEnvelope(block *cb.Block, index int) (*cb.Envelope, error) { function GetEnvelopeFromBlock (line 46) | func GetEnvelopeFromBlock(data []byte) (*cb.Envelope, error) { function ExtractPayloadOrPanic (line 59) | func ExtractPayloadOrPanic(envelope *cb.Envelope) *cb.Payload { function ExtractPayload (line 68) | func ExtractPayload(envelope *cb.Envelope) (*cb.Payload, error) { function UnmarshalChannelHeader (line 76) | func UnmarshalChannelHeader(bytes []byte) (*cb.ChannelHeader, error) { function GetSignatureHeader (line 83) | func GetSignatureHeader(bytes []byte) (*cb.SignatureHeader, error) { function GetTransaction (line 90) | func GetTransaction(txBytes []byte) (*peer.Transaction, error) { function GetChaincodeActionPayload (line 98) | func GetChaincodeActionPayload(capBytes []byte) (*peer.ChaincodeActionPa... FILE: fabric-cli/cmd/fabric-cli/printer/writer.go type WriterType (line 18) | type WriterType method String (line 37) | func (f WriterType) String() string { constant STDOUT (line 22) | STDOUT WriterType = iota constant STDERR (line 25) | STDERR constant LOG (line 28) | LOG constant stdout (line 32) | stdout = "stdout" constant stderr (line 33) | stderr = "stderr" constant log (line 34) | log = "log" function AsWriterType (line 51) | func AsWriterType(t string) WriterType { type Writer (line 63) | type Writer interface function NewWriter (line 68) | func NewWriter(writerType WriterType) Writer { type stdOutWriter (line 79) | type stdOutWriter struct method Write (line 82) | func (w *stdOutWriter) Write(format string, a ...interface{}) error { type stdErrWriter (line 87) | type stdErrWriter struct method Write (line 90) | func (w *stdErrWriter) Write(format string, a ...interface{}) error { type logWriter (line 95) | type logWriter struct method Write (line 98) | func (w *logWriter) Write(format string, a ...interface{}) error { FILE: fabric-cli/cmd/fabric-cli/query/queryblockcmd.go function getQueryBlockCmd (line 42) | func getQueryBlockCmd() *cobra.Command { type queryBlockAction (line 52) | type queryBlockAction struct method invoke (line 62) | func (a *queryBlockAction) invoke() error { method traverse (line 98) | func (a *queryBlockAction) traverse(ledgerClient *ledger.Client, curre... function newQueryBlockAction (line 56) | func newQueryBlockAction(flags *pflag.FlagSet) (*queryBlockAction, error) { function Base64URLDecode (line 117) | func Base64URLDecode(data string) ([]byte, error) { FILE: fabric-cli/cmd/fabric-cli/query/querychannelscmd.go function getQueryChannelsCmd (line 45) | func getQueryChannelsCmd() *cobra.Command { type queryChannelsAction (line 50) | type queryChannelsAction struct method run (line 60) | func (a *queryChannelsAction) run() error { function newQueryChannelsAction (line 54) | func newQueryChannelsAction(flags *pflag.FlagSet) (*queryChannelsAction,... FILE: fabric-cli/cmd/fabric-cli/query/querycmd.go function Cmd (line 24) | func Cmd() *cobra.Command { FILE: fabric-cli/cmd/fabric-cli/query/queryinfocmd.go function getQueryInfoCmd (line 44) | func getQueryInfoCmd() *cobra.Command { type queryInfoAction (line 52) | type queryInfoAction struct method run (line 62) | func (a *queryInfoAction) run() error { function newQueryInfoAction (line 56) | func newQueryInfoAction(flags *pflag.FlagSet) (*queryInfoAction, error) { FILE: fabric-cli/cmd/fabric-cli/query/queryinstalledcmd.go function getQueryInstalledCmd (line 46) | func getQueryInstalledCmd() *cobra.Command { type queryInstalledAction (line 51) | type queryInstalledAction struct method run (line 61) | func (a *queryInstalledAction) run() error { function newqueryInstalledAction (line 55) | func newqueryInstalledAction(flags *pflag.FlagSet) (*queryInstalledActio... FILE: fabric-cli/cmd/fabric-cli/query/querylocalpeerscmd.go function getQueryLocalPeersCmd (line 43) | func getQueryLocalPeersCmd() *cobra.Command { type queryLocalPeersAction (line 50) | type queryLocalPeersAction struct method run (line 60) | func (a *queryLocalPeersAction) run() error { function newQueryLocalPeersAction (line 54) | func newQueryLocalPeersAction(flags *pflag.FlagSet) (*queryLocalPeersAct... FILE: fabric-cli/cmd/fabric-cli/query/querypeerscmd.go function getQueryPeersCmd (line 43) | func getQueryPeersCmd() *cobra.Command { type queryPeersAction (line 50) | type queryPeersAction struct method run (line 60) | func (a *queryPeersAction) run() error { function newQueryPeersAction (line 54) | func newQueryPeersAction(flags *pflag.FlagSet) (*queryPeersAction, error) { FILE: fabric-cli/cmd/fabric-cli/query/querytxcmd.go function getQueryTXCmd (line 45) | func getQueryTXCmd() *cobra.Command { type queryTXAction (line 53) | type queryTXAction struct method run (line 64) | func (a *queryTXAction) run() error { function newQueryTXAction (line 57) | func newQueryTXAction(flags *pflag.FlagSet) (*queryTXAction, error) { FILE: fabric-cli/test/fixtures/testdata/src/github.com/securekey/example2_cc/example2_cc.go type invokeFunc (line 18) | type invokeFunc type funcMap (line 19) | type funcMap constant getFunc (line 22) | getFunc = "get" constant putFunc (line 23) | putFunc = "put" constant delFunc (line 24) | delFunc = "del" constant putPrivateFunc (line 25) | putPrivateFunc = "putprivate" constant getPrivateFunc (line 26) | getPrivateFunc = "getprivate" constant delPrivateFunc (line 27) | delPrivateFunc = "delprivate" constant putBothFunc (line 28) | putBothFunc = "putboth" constant getAndPutBothFunc (line 29) | getAndPutBothFunc = "getandputboth" constant invokeCCFunc (line 30) | invokeCCFunc = "invokecc" type ExampleCC (line 34) | type ExampleCC struct method Init (line 39) | func (cc *ExampleCC) Init(stub shim.ChaincodeStubInterface) pb.Response { method Invoke (line 44) | func (cc *ExampleCC) Invoke(stub shim.ChaincodeStubInterface) pb.Respo... method put (line 59) | func (cc *ExampleCC) put(stub shim.ChaincodeStubInterface, args []stri... method get (line 82) | func (cc *ExampleCC) get(stub shim.ChaincodeStubInterface, args []stri... method del (line 97) | func (cc *ExampleCC) del(stub shim.ChaincodeStubInterface, args []stri... method putPrivate (line 112) | func (cc *ExampleCC) putPrivate(stub shim.ChaincodeStubInterface, args... method getPrivate (line 128) | func (cc *ExampleCC) getPrivate(stub shim.ChaincodeStubInterface, args... method delPrivate (line 144) | func (cc *ExampleCC) delPrivate(stub shim.ChaincodeStubInterface, args... method putBoth (line 160) | func (cc *ExampleCC) putBoth(stub shim.ChaincodeStubInterface, args []... method getAndPutBoth (line 181) | func (cc *ExampleCC) getAndPutBoth(stub shim.ChaincodeStubInterface, a... method invokeCC (line 229) | func (cc *ExampleCC) invokeCC(stub shim.ChaincodeStubInterface, args [... method initRegistry (line 249) | func (cc *ExampleCC) initRegistry() { method functions (line 262) | func (cc *ExampleCC) functions() []string { type argStruct (line 217) | type argStruct struct function asBytes (line 221) | func asBytes(args []string) [][]byte { function main (line 270) | func main() { FILE: fabric-cli/test/fixtures/testdata/src/github.com/securekey/example_cc/example_cc.go type SimpleChaincode (line 28) | type SimpleChaincode struct method Init (line 32) | func (t *SimpleChaincode) Init(stub shim.ChaincodeStubInterface) pb.Re... method Query (line 78) | func (t *SimpleChaincode) Query(stub shim.ChaincodeStubInterface) pb.R... method Invoke (line 84) | func (t *SimpleChaincode) Invoke(stub shim.ChaincodeStubInterface) pb.... method move (line 129) | func (t *SimpleChaincode) move(stub shim.ChaincodeStubInterface, args ... method delete (line 192) | func (t *SimpleChaincode) delete(stub shim.ChaincodeStubInterface, arg... method query (line 209) | func (t *SimpleChaincode) query(stub shim.ChaincodeStubInterface, args... method put (line 236) | func (t *SimpleChaincode) put(stub shim.ChaincodeStubInterface, args [... method get (line 259) | func (t *SimpleChaincode) get(stub shim.ChaincodeStubInterface, args [... function main (line 274) | func main() { FILE: fabric-cli/test/integration/fabric-cli_test.go function run (line 22) | func run(cmd string) { function header (line 30) | func header(h string) { function TestCreate_a_channel (line 40) | func TestCreate_a_channel(t *testing.T) { function TestJoin_org1_peer_to_a_channel (line 47) | func TestJoin_org1_peer_to_a_channel(t *testing.T) { function TestJoin_org2_peer_to_a_channel (line 52) | func TestJoin_org2_peer_to_a_channel(t *testing.T) { function TestJoin_all_peers_in_org1_to_a_channel (line 57) | func TestJoin_all_peers_in_org1_to_a_channel(t *testing.T) { function TestJoin_all_peers_in_org2_to_a_channel (line 62) | func TestJoin_all_peers_in_org2_to_a_channel(t *testing.T) { function TestJoin_all_peers_to_a_channel (line 67) | func TestJoin_all_peers_to_a_channel(t *testing.T) { function TestInstall_chaincode_on_all_peers_of_org1 (line 74) | func TestInstall_chaincode_on_all_peers_of_org1(t *testing.T) { function TestInstall_chaincode_on_all_peers_of_org2 (line 79) | func TestInstall_chaincode_on_all_peers_of_org2(t *testing.T) { function TestInstall_chaincode_on_all_peers (line 84) | func TestInstall_chaincode_on_all_peers(t *testing.T) { function TestInstall_chaincode_on_all_peers_v1 (line 89) | func TestInstall_chaincode_on_all_peers_v1(t *testing.T) { function TestInstantiate_chaincode_with_default_endorsement_policy (line 96) | func TestInstantiate_chaincode_with_default_endorsement_policy(t *testin... function TestInstantiate_chaincode_with_specified_endorsement_policy (line 101) | func TestInstantiate_chaincode_with_specified_endorsement_policy(t *test... function TestInstantiate_chaincode_with_specified_private_data_collection_configuration (line 106) | func TestInstantiate_chaincode_with_specified_private_data_collection_co... function TestUpgrade_chaincode_to_v1 (line 113) | func TestUpgrade_chaincode_to_v1(t *testing.T) { function TestQuery_info (line 121) | func TestQuery_info(t *testing.T) { function TestQuery_block_by_block_number (line 126) | func TestQuery_block_by_block_number(t *testing.T) { function TestQuery_block_by_hash (line 131) | func TestQuery_block_by_hash(t *testing.T) { function TestQuery_block_output_in_JSON_format (line 137) | func TestQuery_block_output_in_JSON_format(t *testing.T) { function TestQuery_transaction (line 142) | func TestQuery_transaction(t *testing.T) { function TestQuery_channels_joined_by_a_peer (line 147) | func TestQuery_channels_joined_by_a_peer(t *testing.T) { function TestQuery_installed_chaincodes_on_a_peer (line 152) | func TestQuery_installed_chaincodes_on_a_peer(t *testing.T) { function TestRetrieve_chaincode_deployment_info (line 159) | func TestRetrieve_chaincode_deployment_info(t *testing.T) { function TestQuery_chaincode_on_a_set_of_peers (line 166) | func TestQuery_chaincode_on_a_set_of_peers(t *testing.T) { function TestQuery_chaincode_and_view_payloads_only (line 171) | func TestQuery_chaincode_and_view_payloads_only(t *testing.T) { function TestInvoke_chaincode (line 178) | func TestInvoke_chaincode(t *testing.T) { function TestInvoke_chaincode_5_times (line 183) | func TestInvoke_chaincode_5_times(t *testing.T) { function TestInvoke_chaincode_100_times_in_8_Go_routines (line 188) | func TestInvoke_chaincode_100_times_in_8_Go_routines(t *testing.T) { function TestInvoke_chaincode_with_two_sets_of_args (line 193) | func TestInvoke_chaincode_with_two_sets_of_args(t *testing.T) { function TestInvoke_chaincode_using_dynamic_selection_provider (line 198) | func TestInvoke_chaincode_using_dynamic_selection_provider(t *testing.T) { function TestListen_for_block_events (line 205) | func TestListen_for_block_events(t *testing.T) { function TestListen_for_filtered_block_events (line 210) | func TestListen_for_filtered_block_events(t *testing.T) { function TestListen_for_chaincode_events (line 215) | func TestListen_for_chaincode_events(t *testing.T) {