Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDelete ¶
NewCmdDelete returns a cobra.Command to run the delete command.
func NewCmdDeletePeer ¶
NewCmdDeletePeer returns a cobra.Command to run the 'delete peer' subcommand.
Types ¶
type PeerOptions ¶
type PeerOptions struct { // Name of the peer to delete. Name string // Namespace where the ClusterLink components and secrets are deployed. Namespace string }
PeerOptions contains everything necessary to create and run a 'delete 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.