...

Package commands

import "github.com/hyperledger/fabric/integration/nwo/commands"
Overview
Index

Overview ▾

Index ▾

type ChaincodeInstall
    func (c ChaincodeInstall) Args() []string
    func (c ChaincodeInstall) SessionName() string
type ChaincodeInstantiate
    func (c ChaincodeInstantiate) Args() []string
    func (c ChaincodeInstantiate) SessionName() string
type ChaincodeInvoke
    func (c ChaincodeInvoke) Args() []string
    func (c ChaincodeInvoke) SessionName() string
type ChaincodeListInstalled
    func (c ChaincodeListInstalled) Args() []string
    func (c ChaincodeListInstalled) SessionName() string
type ChaincodeListInstantiated
    func (c ChaincodeListInstantiated) Args() []string
    func (c ChaincodeListInstantiated) SessionName() string
type ChaincodePackage
    func (c ChaincodePackage) Args() []string
    func (c ChaincodePackage) SessionName() string
type ChaincodeQuery
    func (c ChaincodeQuery) Args() []string
    func (c ChaincodeQuery) SessionName() string
type ChaincodeUpgrade
    func (c ChaincodeUpgrade) Args() []string
    func (c ChaincodeUpgrade) SessionName() string
type ChannelCreate
    func (c ChannelCreate) Args() []string
    func (c ChannelCreate) SessionName() string
type ChannelFetch
    func (c ChannelFetch) Args() []string
    func (c ChannelFetch) SessionName() string
type ChannelInfo
    func (c ChannelInfo) Args() []string
    func (c ChannelInfo) SessionName() string
type ChannelJoin
    func (c ChannelJoin) Args() []string
    func (c ChannelJoin) SessionName() string
type ChannelUpdate
    func (c ChannelUpdate) Args() []string
    func (c ChannelUpdate) SessionName() string
type Config
    func (c Config) Args() []string
    func (c Config) SessionName() string
type CreateChannelTx
    func (c CreateChannelTx) Args() []string
    func (c CreateChannelTx) SessionName() string
type Endorsers
    func (e Endorsers) Args() []string
    func (e Endorsers) SessionName() string
type Extend
    func (c Extend) Args() []string
    func (c Extend) SessionName() string
type Generate
    func (c Generate) Args() []string
    func (c Generate) SessionName() string
type LoggingSetLevel
    func (l LoggingSetLevel) Args() []string
    func (l LoggingSetLevel) SessionName() string
type NodeReset
    func (n NodeReset) Args() []string
    func (n NodeReset) SessionName() string
type NodeRollback
    func (n NodeRollback) Args() []string
    func (n NodeRollback) SessionName() string
type NodeStart
    func (n NodeStart) Args() []string
    func (n NodeStart) SessionName() string
type OutputAnchorPeersUpdate
    func (o OutputAnchorPeersUpdate) Args() []string
    func (o OutputAnchorPeersUpdate) SessionName() string
type OutputBlock
    func (o OutputBlock) Args() []string
    func (o OutputBlock) SessionName() string
type Peers
    func (p Peers) Args() []string
    func (p Peers) SessionName() string
type SignConfigTx
    func (s SignConfigTx) Args() []string
    func (s SignConfigTx) SessionName() string

Package files

configtxgen.go cryptogen.go discover.go peer.go

type ChaincodeInstall

type ChaincodeInstall struct {
    Name        string
    Version     string
    Path        string
    Lang        string
    PackageFile string
}

func (ChaincodeInstall) Args

func (c ChaincodeInstall) Args() []string

func (ChaincodeInstall) SessionName

func (c ChaincodeInstall) SessionName() string

type ChaincodeInstantiate

type ChaincodeInstantiate struct {
    ChannelID         string
    Orderer           string
    Name              string
    Version           string
    Ctor              string
    Policy            string
    Lang              string
    CollectionsConfig string
}

func (ChaincodeInstantiate) Args

func (c ChaincodeInstantiate) Args() []string

func (ChaincodeInstantiate) SessionName

func (c ChaincodeInstantiate) SessionName() string

type ChaincodeInvoke

type ChaincodeInvoke struct {
    ChannelID     string
    Orderer       string
    Name          string
    Ctor          string
    PeerAddresses []string
    WaitForEvent  bool
}

func (ChaincodeInvoke) Args

func (c ChaincodeInvoke) Args() []string

func (ChaincodeInvoke) SessionName

func (c ChaincodeInvoke) SessionName() string

type ChaincodeListInstalled

type ChaincodeListInstalled struct{}

func (ChaincodeListInstalled) Args

func (c ChaincodeListInstalled) Args() []string

func (ChaincodeListInstalled) SessionName

func (c ChaincodeListInstalled) SessionName() string

type ChaincodeListInstantiated

type ChaincodeListInstantiated struct {
    ChannelID string
}

func (ChaincodeListInstantiated) Args

func (c ChaincodeListInstantiated) Args() []string

func (ChaincodeListInstantiated) SessionName

func (c ChaincodeListInstantiated) SessionName() string

type ChaincodePackage

type ChaincodePackage struct {
    Name       string
    Version    string
    Path       string
    Lang       string
    OutputFile string
}

func (ChaincodePackage) Args

func (c ChaincodePackage) Args() []string

func (ChaincodePackage) SessionName

func (c ChaincodePackage) SessionName() string

type ChaincodeQuery

type ChaincodeQuery struct {
    ChannelID string
    Name      string
    Ctor      string
}

func (ChaincodeQuery) Args

func (c ChaincodeQuery) Args() []string

func (ChaincodeQuery) SessionName

func (c ChaincodeQuery) SessionName() string

type ChaincodeUpgrade

type ChaincodeUpgrade struct {
    Name              string
    Version           string
    Path              string // optional
    ChannelID         string
    Orderer           string
    Ctor              string
    Policy            string
    CollectionsConfig string // optional
}

func (ChaincodeUpgrade) Args

func (c ChaincodeUpgrade) Args() []string

func (ChaincodeUpgrade) SessionName

func (c ChaincodeUpgrade) SessionName() string

type ChannelCreate

type ChannelCreate struct {
    ChannelID   string
    Orderer     string
    File        string
    OutputBlock string
}

func (ChannelCreate) Args

func (c ChannelCreate) Args() []string

func (ChannelCreate) SessionName

func (c ChannelCreate) SessionName() string

type ChannelFetch

type ChannelFetch struct {
    ChannelID  string
    Block      string
    Orderer    string
    OutputFile string
}

func (ChannelFetch) Args

func (c ChannelFetch) Args() []string

func (ChannelFetch) SessionName

func (c ChannelFetch) SessionName() string

type ChannelInfo

type ChannelInfo struct {
    ChannelID string
}

func (ChannelInfo) Args

func (c ChannelInfo) Args() []string

func (ChannelInfo) SessionName

func (c ChannelInfo) SessionName() string

type ChannelJoin

type ChannelJoin struct {
    BlockPath string
}

func (ChannelJoin) Args

func (c ChannelJoin) Args() []string

func (ChannelJoin) SessionName

func (c ChannelJoin) SessionName() string

type ChannelUpdate

type ChannelUpdate struct {
    ChannelID string
    Orderer   string
    File      string
}

func (ChannelUpdate) Args

func (c ChannelUpdate) Args() []string

func (ChannelUpdate) SessionName

func (c ChannelUpdate) SessionName() string

type Config

type Config struct {
    UserCert string
    UserKey  string
    MSPID    string
    Server   string
    Channel  string
}

func (Config) Args

func (c Config) Args() []string

func (Config) SessionName

func (c Config) SessionName() string

type CreateChannelTx

type CreateChannelTx struct {
    ChannelID             string
    Profile               string
    ConfigPath            string
    OutputCreateChannelTx string
    BaseProfile           string
}

func (CreateChannelTx) Args

func (c CreateChannelTx) Args() []string

func (CreateChannelTx) SessionName

func (c CreateChannelTx) SessionName() string

type Endorsers

type Endorsers struct {
    UserCert    string
    UserKey     string
    MSPID       string
    Server      string
    Channel     string
    Chaincode   string
    Chaincodes  []string
    Collection  string
    Collections []string
}

func (Endorsers) Args

func (e Endorsers) Args() []string

func (Endorsers) SessionName

func (e Endorsers) SessionName() string

type Extend

type Extend struct {
    Config string
    Input  string
}

func (Extend) Args

func (c Extend) Args() []string

func (Extend) SessionName

func (c Extend) SessionName() string

type Generate

type Generate struct {
    Config string
    Output string
}

func (Generate) Args

func (c Generate) Args() []string

func (Generate) SessionName

func (c Generate) SessionName() string

type LoggingSetLevel

type LoggingSetLevel struct {
    Logger string
    Level  string
}

func (LoggingSetLevel) Args

func (l LoggingSetLevel) Args() []string

func (LoggingSetLevel) SessionName

func (l LoggingSetLevel) SessionName() string

type NodeReset

type NodeReset struct {
}

func (NodeReset) Args

func (n NodeReset) Args() []string

func (NodeReset) SessionName

func (n NodeReset) SessionName() string

type NodeRollback

type NodeRollback struct {
    ChannelID   string
    BlockNumber int
}

func (NodeRollback) Args

func (n NodeRollback) Args() []string

func (NodeRollback) SessionName

func (n NodeRollback) SessionName() string

type NodeStart

type NodeStart struct {
    PeerID string
}

func (NodeStart) Args

func (n NodeStart) Args() []string

func (NodeStart) SessionName

func (n NodeStart) SessionName() string

type OutputAnchorPeersUpdate

type OutputAnchorPeersUpdate struct {
    ChannelID               string
    Profile                 string
    ConfigPath              string
    AsOrg                   string
    OutputAnchorPeersUpdate string
}

func (OutputAnchorPeersUpdate) Args

func (o OutputAnchorPeersUpdate) Args() []string

func (OutputAnchorPeersUpdate) SessionName

func (o OutputAnchorPeersUpdate) SessionName() string

type OutputBlock

type OutputBlock struct {
    ChannelID   string
    Profile     string
    ConfigPath  string
    OutputBlock string
}

func (OutputBlock) Args

func (o OutputBlock) Args() []string

func (OutputBlock) SessionName

func (o OutputBlock) SessionName() string

type Peers

type Peers struct {
    UserCert string
    UserKey  string
    MSPID    string
    Server   string
    Channel  string
}

func (Peers) Args

func (p Peers) Args() []string

func (Peers) SessionName

func (p Peers) SessionName() string

type SignConfigTx

type SignConfigTx struct {
    File string
}

func (SignConfigTx) Args

func (s SignConfigTx) Args() []string

func (SignConfigTx) SessionName

func (s SignConfigTx) SessionName() string