commands

package
v2.0.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaincodeApproveForMyOrgLifecycle

type ChaincodeApproveForMyOrgLifecycle struct {
	ChannelID           string
	Orderer             string
	Name                string
	Version             string
	PackageID           string
	Sequence            string
	EndorsementPlugin   string
	ValidationPlugin    string
	SignaturePolicy     string
	ChannelConfigPolicy string
	InitRequired        bool
	CollectionsConfig   string
	PeerAddresses       []string
	WaitForEvent        bool
}

func (ChaincodeApproveForMyOrgLifecycle) Args

func (ChaincodeApproveForMyOrgLifecycle) SessionName

func (c ChaincodeApproveForMyOrgLifecycle) SessionName() string

type ChaincodeCommitLifecycle

type ChaincodeCommitLifecycle struct {
	ChannelID           string
	Orderer             string
	Name                string
	Version             string
	Sequence            string
	EndorsementPlugin   string
	ValidationPlugin    string
	SignaturePolicy     string
	ChannelConfigPolicy string
	InitRequired        bool
	CollectionsConfig   string
	PeerAddresses       []string
	WaitForEvent        bool
}

func (ChaincodeCommitLifecycle) Args

func (c ChaincodeCommitLifecycle) Args() []string

func (ChaincodeCommitLifecycle) SessionName

func (c ChaincodeCommitLifecycle) SessionName() string

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 ChaincodeInstallLifecycle

type ChaincodeInstallLifecycle struct {
	PackageFile string
}

func (ChaincodeInstallLifecycle) Args

func (c ChaincodeInstallLifecycle) Args() []string

func (ChaincodeInstallLifecycle) SessionName

func (c ChaincodeInstallLifecycle) 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
	IsInit        bool
}

func (ChaincodeInvoke) Args

func (c ChaincodeInvoke) Args() []string

func (ChaincodeInvoke) SessionName

func (c ChaincodeInvoke) SessionName() string

type ChaincodeListCommittedLifecycle

type ChaincodeListCommittedLifecycle struct {
	ChannelID string
	Name      string
}

func (ChaincodeListCommittedLifecycle) Args

func (ChaincodeListCommittedLifecycle) SessionName

func (c ChaincodeListCommittedLifecycle) 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 added in v1.3.0

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

func (ChaincodePackage) Args added in v1.3.0

func (c ChaincodePackage) Args() []string

func (ChaincodePackage) SessionName added in v1.3.0

func (c ChaincodePackage) SessionName() string

type ChaincodePackageLifecycle

type ChaincodePackageLifecycle struct {
	Path       string
	Lang       string
	Label      string
	OutputFile string
}

func (ChaincodePackageLifecycle) Args

func (c ChaincodePackageLifecycle) Args() []string

func (ChaincodePackageLifecycle) SessionName

func (c ChaincodePackageLifecycle) 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 ChaincodeQueryInstalledLifecycle

type ChaincodeQueryInstalledLifecycle struct{}

func (ChaincodeQueryInstalledLifecycle) Args

func (ChaincodeQueryInstalledLifecycle) SessionName

func (c ChaincodeQueryInstalledLifecycle) SessionName() string

type ChaincodeUpgrade added in v1.3.0

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

func (ChaincodeUpgrade) Args added in v1.3.0

func (c ChaincodeUpgrade) Args() []string

func (ChaincodeUpgrade) SessionName added in v1.3.0

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 added in v1.4.0

type ChannelInfo struct {
	ChannelID string
}

func (ChannelInfo) Args added in v1.4.0

func (c ChannelInfo) Args() []string

func (ChannelInfo) SessionName added in v1.4.0

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 added in v1.3.0

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

func (Config) Args added in v1.3.0

func (c Config) Args() []string

func (Config) SessionName added in v1.3.0

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 added in v1.3.0

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

func (Endorsers) Args added in v1.3.0

func (e Endorsers) Args() []string

func (Endorsers) SessionName added in v1.3.0

func (e Endorsers) SessionName() string

type Extend added in v1.4.1

type Extend struct {
	Config string
	Input  string
}

func (Extend) Args added in v1.4.1

func (c Extend) Args() []string

func (Extend) SessionName added in v1.4.1

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 NodeStart

type NodeStart struct {
	PeerID string
	Dir    string
}

func (NodeStart) Args

func (n NodeStart) Args() []string

func (NodeStart) SessionName

func (n NodeStart) SessionName() string

func (NodeStart) WorkingDir

func (n NodeStart) WorkingDir() string

type OutputAnchorPeersUpdate added in v1.3.0

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

func (OutputAnchorPeersUpdate) Args added in v1.3.0

func (o OutputAnchorPeersUpdate) Args() []string

func (OutputAnchorPeersUpdate) SessionName added in v1.3.0

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 added in v1.3.0

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

func (Peers) Args added in v1.3.0

func (p Peers) Args() []string

func (Peers) SessionName added in v1.3.0

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

type TokenIssue

type TokenIssue struct {
	Config    string
	Channel   string
	MspPath   string
	MspID     string
	Type      string
	Quantity  string
	Recipient string
}

func (TokenIssue) Args

func (p TokenIssue) Args() []string

func (TokenIssue) SessionName

func (p TokenIssue) SessionName() string

type TokenList

type TokenList struct {
	Config  string
	Channel string
	MspPath string
	MspID   string
}

func (TokenList) Args

func (p TokenList) Args() []string

func (TokenList) SessionName

func (p TokenList) SessionName() string

type TokenRedeem

type TokenRedeem struct {
	Config   string
	Channel  string
	MspPath  string
	MspID    string
	TokenIDs string
	Quantity string
}

func (TokenRedeem) Args

func (p TokenRedeem) Args() []string

func (TokenRedeem) SessionName

func (p TokenRedeem) SessionName() string

type TokenTransfer

type TokenTransfer struct {
	Config   string
	Channel  string
	MspPath  string
	MspID    string
	TokenIDs string
	Shares   string
}

func (TokenTransfer) Args

func (p TokenTransfer) Args() []string

func (TokenTransfer) SessionName

func (p TokenTransfer) SessionName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL