peer

package
v1.4.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPeerCmd

func NewPeerCmd(out io.Writer, errOut io.Writer) *cobra.Command

Types

type Options

type Options struct {
	Name           string
	StorageClass   string
	Capacity       string
	NS             string
	Image          string
	Version        string
	MspID          string
	StateDB        string
	EnrollPW       string
	CAName         string
	EnrollID       string
	Hosts          []string
	BootstrapPeers []string
	Leader         bool
	Output         bool
}

func (Options) Validate

func (o Options) Validate() error

Jump to

Keyboard shortcuts

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