Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDeploy ¶
NewCmdDeploy returns a cobra.Command to run the deploy command.
func NewCmdDeployPeer ¶
NewCmdDeployPeer returns a cobra.Command to run the 'create peer' subcommand.
Types ¶
type PeerOptions ¶
type PeerOptions struct { // Name of the peer to create. Name string // Namespace where the ClusterLink components are deployed. Namespace string // CertDir is the directory where the certificates for the fabric and peer are located. CertDir string // StartInstance, if set to true, deploys a ClusterLink instance that will create the ClusterLink components. StartInstance bool // Ingress, represents the type of service used to expose the ClusterLink deployment. Ingress string // IngressPort, represents the port number of the service used to expose the ClusterLink deployment. IngressPort uint16 // ContainerRegistry is the container registry to pull the project images. ContainerRegistry string }
PeerOptions contains everything necessary to create and run a 'deploy peer' subcommand.
func (*PeerOptions) AddFlags ¶
func (o *PeerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags to fs and binds them to options.
func (*PeerOptions) RequiredFlags ¶
func (o *PeerOptions) RequiredFlags() []string
RequiredFlags are the names of flags that must be explicitly specified.
Click to show internal directories.
Click to hide internal directories.