commands

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAKeyGen

type CAKeyGen struct {
	NetworkPrefix string
	Output        string
}

func (CAKeyGen) Args

func (c CAKeyGen) Args() []string

func (CAKeyGen) SessionName

func (c CAKeyGen) SessionName() string

type ChaincodeApproveForMyOrg

type ChaincodeApproveForMyOrg struct {
	NetworkPrefix       string
	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
	ClientAuth          bool
}

func (ChaincodeApproveForMyOrg) Args

func (c ChaincodeApproveForMyOrg) Args() []string

func (ChaincodeApproveForMyOrg) SessionName

func (c ChaincodeApproveForMyOrg) SessionName() string

type ChaincodeCheckCommitReadiness

type ChaincodeCheckCommitReadiness struct {
	NetworkPrefix       string
	ChannelID           string
	Name                string
	Version             string
	Sequence            string
	EndorsementPlugin   string
	ValidationPlugin    string
	SignaturePolicy     string
	ChannelConfigPolicy string
	InitRequired        bool
	CollectionsConfig   string
	PeerAddresses       []string
	ClientAuth          bool
}

func (ChaincodeCheckCommitReadiness) Args

func (ChaincodeCheckCommitReadiness) SessionName

func (c ChaincodeCheckCommitReadiness) SessionName() string

type ChaincodeCommit

type ChaincodeCommit struct {
	NetworkPrefix       string
	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
	ClientAuth          bool
}

func (ChaincodeCommit) Args

func (c ChaincodeCommit) Args() []string

func (ChaincodeCommit) SessionName

func (c ChaincodeCommit) SessionName() string

type ChaincodeGetInstalledPackage

type ChaincodeGetInstalledPackage struct {
	NetworkPrefix   string
	PackageID       string
	OutputDirectory string
	ClientAuth      bool
}

func (ChaincodeGetInstalledPackage) Args

func (ChaincodeGetInstalledPackage) SessionName

func (c ChaincodeGetInstalledPackage) SessionName() string

type ChaincodeInstall

type ChaincodeInstall struct {
	NetworkPrefix string
	PackageFile   string
	PeerAddresses []string
	ClientAuth    bool
}

func (ChaincodeInstall) Args

func (c ChaincodeInstall) Args() []string

func (ChaincodeInstall) SessionName

func (c ChaincodeInstall) SessionName() string

type ChaincodeInstallLegacy

type ChaincodeInstallLegacy struct {
	NetworkPrefix string
	Name          string
	Version       string
	Path          string
	Lang          string
	PackageFile   string
	ClientAuth    bool
}

func (ChaincodeInstallLegacy) Args

func (c ChaincodeInstallLegacy) Args() []string

func (ChaincodeInstallLegacy) SessionName

func (c ChaincodeInstallLegacy) SessionName() string

type ChaincodeInstantiateLegacy

type ChaincodeInstantiateLegacy struct {
	NetworkPrefix     string
	ChannelID         string
	Orderer           string
	Name              string
	Version           string
	Ctor              string
	Policy            string
	Lang              string
	CollectionsConfig string
	ClientAuth        bool
}

func (ChaincodeInstantiateLegacy) Args

func (ChaincodeInstantiateLegacy) SessionName

func (c ChaincodeInstantiateLegacy) SessionName() string

type ChaincodeInvoke

type ChaincodeInvoke struct {
	NetworkPrefix string
	ChannelID     string
	Orderer       string
	Name          string
	Ctor          string
	Transient     string
	PeerAddresses []string
	WaitForEvent  bool
	IsInit        bool
	ClientAuth    bool
}

func (ChaincodeInvoke) Args

func (c ChaincodeInvoke) Args() []string

func (ChaincodeInvoke) SessionName

func (c ChaincodeInvoke) SessionName() string

type ChaincodeListCommitted

type ChaincodeListCommitted struct {
	NetworkPrefix string
	ChannelID     string
	Name          string
	ClientAuth    bool
}

func (ChaincodeListCommitted) Args

func (c ChaincodeListCommitted) Args() []string

func (ChaincodeListCommitted) SessionName

func (c ChaincodeListCommitted) SessionName() string

type ChaincodeListInstalledLegacy

type ChaincodeListInstalledLegacy struct {
	NetworkPrefix string
	ClientAuth    bool
}

func (ChaincodeListInstalledLegacy) Args

func (ChaincodeListInstalledLegacy) SessionName

func (c ChaincodeListInstalledLegacy) SessionName() string

type ChaincodeListInstantiatedLegacy

type ChaincodeListInstantiatedLegacy struct {
	NetworkPrefix string
	ChannelID     string
	ClientAuth    bool
}

func (ChaincodeListInstantiatedLegacy) Args

func (ChaincodeListInstantiatedLegacy) SessionName

func (c ChaincodeListInstantiatedLegacy) SessionName() string

type ChaincodePackage

type ChaincodePackage struct {
	NetworkPrefix string
	Path          string
	Lang          string
	Label         string
	OutputFile    string
	ClientAuth    bool
}

func (ChaincodePackage) Args

func (c ChaincodePackage) Args() []string

func (ChaincodePackage) SessionName

func (c ChaincodePackage) SessionName() string

type ChaincodePackageLegacy

type ChaincodePackageLegacy struct {
	NetworkPrefix string
	Name          string
	Version       string
	Path          string
	Lang          string
	OutputFile    string
	ClientAuth    bool
}

func (ChaincodePackageLegacy) Args

func (c ChaincodePackageLegacy) Args() []string

func (ChaincodePackageLegacy) SessionName

func (c ChaincodePackageLegacy) SessionName() string

type ChaincodeQuery

type ChaincodeQuery struct {
	NetworkPrefix string
	ChannelID     string
	Name          string
	Ctor          string
	ClientAuth    bool
}

func (ChaincodeQuery) Args

func (c ChaincodeQuery) Args() []string

func (ChaincodeQuery) SessionName

func (c ChaincodeQuery) SessionName() string

type ChaincodeQueryInstalled

type ChaincodeQueryInstalled struct {
	NetworkPrefix string
	ClientAuth    bool
}

func (ChaincodeQueryInstalled) Args

func (c ChaincodeQueryInstalled) Args() []string

func (ChaincodeQueryInstalled) SessionName

func (c ChaincodeQueryInstalled) SessionName() string

type ChaincodeUpgradeLegacy

type ChaincodeUpgradeLegacy struct {
	NetworkPrefix     string
	Name              string
	Version           string
	Path              string // optional
	ChannelID         string
	Orderer           string
	Ctor              string
	Policy            string
	CollectionsConfig string // optional
	ClientAuth        bool
}

func (ChaincodeUpgradeLegacy) Args

func (c ChaincodeUpgradeLegacy) Args() []string

func (ChaincodeUpgradeLegacy) SessionName

func (c ChaincodeUpgradeLegacy) SessionName() string

type ChannelCreate

type ChannelCreate struct {
	NetworkPrefix string
	ChannelID     string
	Orderer       string
	File          string
	OutputBlock   string
	ClientAuth    bool
}

func (ChannelCreate) Args

func (c ChannelCreate) Args() []string

func (ChannelCreate) SessionName

func (c ChannelCreate) SessionName() string

type ChannelFetch

type ChannelFetch struct {
	NetworkPrefix string
	ChannelID     string
	Block         string
	Orderer       string
	OutputFile    string
	ClientAuth    bool
}

func (ChannelFetch) Args

func (c ChannelFetch) Args() []string

func (ChannelFetch) SessionName

func (c ChannelFetch) SessionName() string

type ChannelInfo

type ChannelInfo struct {
	NetworkPrefix string
	ChannelID     string
	ClientAuth    bool
}

func (ChannelInfo) Args

func (c ChannelInfo) Args() []string

func (ChannelInfo) SessionName

func (c ChannelInfo) SessionName() string

type ChannelJoin

type ChannelJoin struct {
	NetworkPrefix string
	BlockPath     string
	ClientAuth    bool
}

func (ChannelJoin) Args

func (c ChannelJoin) Args() []string

func (ChannelJoin) SessionName

func (c ChannelJoin) SessionName() string

type ChannelUpdate

type ChannelUpdate struct {
	NetworkPrefix string
	ChannelID     string
	Orderer       string
	File          string
	ClientAuth    bool
}

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
	ClientCert string
	ClientKey  string
}

func (Config) Args

func (c Config) Args() []string

func (Config) SessionName

func (c Config) SessionName() string

type CreateChannelTx

type CreateChannelTx struct {
	NetworkPrefix         string
	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
	ClientCert  string
	ClientKey   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 {
	NetworkPrefix string
	Config        string
	Output        string
}

func (Generate) Args

func (c Generate) Args() []string

func (Generate) SessionName

func (c Generate) SessionName() string

type NodePause

type NodePause struct {
	NetworkPrefix string
	ChannelID     string
}

func (NodePause) Args

func (n NodePause) Args() []string

func (NodePause) SessionName

func (n NodePause) SessionName() string

type NodeReset

type NodeReset struct {
	NetworkPrefix string
}

func (NodeReset) Args

func (n NodeReset) Args() []string

func (NodeReset) SessionName

func (n NodeReset) SessionName() string

type NodeResume

type NodeResume struct {
	NetworkPrefix string
	ChannelID     string
}

func (NodeResume) Args

func (n NodeResume) Args() []string

func (NodeResume) SessionName

func (n NodeResume) SessionName() string

type NodeRollback

type NodeRollback struct {
	NetworkPrefix string
	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 {
	NetworkPrefix string
	PeerID        string
	DevMode       bool
}

func (NodeStart) Args

func (n NodeStart) Args() []string

func (NodeStart) SessionName

func (n NodeStart) SessionName() string

type OutputAnchorPeersUpdate

type OutputAnchorPeersUpdate struct {
	NetworkPrefix           string
	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 {
	NetworkPrefix string
	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 {
	NetworkPrefix string
	UserCert      string
	UserKey       string
	MSPID         string
	Server        string
	Channel       string
	ClientCert    string
	ClientKey     string
}

func (Peers) Args

func (p Peers) Args() []string

func (Peers) SessionName

func (p Peers) SessionName() string

type SignConfigTx

type SignConfigTx struct {
	NetworkPrefix string
	File          string
	ClientAuth    bool
}

func (SignConfigTx) Args

func (s SignConfigTx) Args() []string

func (SignConfigTx) SessionName

func (s SignConfigTx) SessionName() string

type SignerConfig

type SignerConfig struct {
	NetworkPrefix    string
	CAInput          string
	Output           string
	OrgUnit          string
	Admin            bool
	EnrollmentID     string
	RevocationHandle string
}

func (SignerConfig) Args

func (c SignerConfig) Args() []string

func (SignerConfig) SessionName

func (c SignerConfig) SessionName() string

Jump to

Keyboard shortcuts

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