Documentation ¶
Index ¶
- func NewChannelCommand(settings *environment.Settings) *cobra.Command
- func NewChannelConfigCommand(settings *environment.Settings) *cobra.Command
- func NewChannelCreateCommand(settings *environment.Settings) *cobra.Command
- func NewChannelJoinCommand(settings *environment.Settings) *cobra.Command
- func NewChannelListCommand(settings *environment.Settings) *cobra.Command
- func NewChannelUpdateCommand(settings *environment.Settings) *cobra.Command
- type BaseCommand
- type ConfigCommand
- type CreateCommand
- type JoinCommand
- type ListCommand
- type UpdateCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChannelCommand ¶
func NewChannelCommand(settings *environment.Settings) *cobra.Command
NewChannelCommand creates a new "fabric channel" command
func NewChannelConfigCommand ¶
func NewChannelConfigCommand(settings *environment.Settings) *cobra.Command
NewChannelConfigCommand creates a new "fabric channel config" command
func NewChannelCreateCommand ¶
func NewChannelCreateCommand(settings *environment.Settings) *cobra.Command
NewChannelCreateCommand creates a new "fabric channel create" command
func NewChannelJoinCommand ¶
func NewChannelJoinCommand(settings *environment.Settings) *cobra.Command
NewChannelJoinCommand creates a new "fabric channel join" command
func NewChannelListCommand ¶
func NewChannelListCommand(settings *environment.Settings) *cobra.Command
NewChannelListCommand creates a new "fabric channel list" command
func NewChannelUpdateCommand ¶
func NewChannelUpdateCommand(settings *environment.Settings) *cobra.Command
NewChannelUpdateCommand creates a new "fabric channel update" command
Types ¶
type BaseCommand ¶
type BaseCommand struct { common.Command Factory fabric.Factory ResourceManagement fabric.ResourceManagement }
BaseCommand implements common channel command functions
func (*BaseCommand) Complete ¶
func (c *BaseCommand) Complete() error
Complete initializes all clients needed for Run
type ConfigCommand ¶
type ConfigCommand struct { BaseCommand ChannelID string }
ConfigCommand implements the channel config command
func (*ConfigCommand) Validate ¶
func (c *ConfigCommand) Validate() error
Validate checks the required parameters for run
type CreateCommand ¶
type CreateCommand struct { BaseCommand ChannelID string ChannelTX string }
CreateCommand implements the channel create command
func (*CreateCommand) Validate ¶
func (c *CreateCommand) Validate() error
Validate checks the required parameters for run
type JoinCommand ¶
type JoinCommand struct { BaseCommand ChannelID string }
JoinCommand implements the channel join command
func (*JoinCommand) Validate ¶
func (c *JoinCommand) Validate() error
Validate checks the required parameters for run
type ListCommand ¶
type ListCommand struct {
BaseCommand
}
ListCommand implements the channel list command
type UpdateCommand ¶
type UpdateCommand struct { BaseCommand ChannelID string ChannelTX string }
UpdateCommand implements the channel update command
func (*UpdateCommand) Validate ¶
func (c *UpdateCommand) Validate() error
Validate checks the required parameters for run