Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JoinClusterToBroker = join.ClusterToBroker
View Source
var NewInputPrompt = func(from survey.Prompt) survey.Prompt {
return from
}
View Source
var NewReporter = cli.NewReporter
View Source
var RunVerify func(options VerifyOptions, fromClusterInfo, toClusterInfo, extraClusterInfo *cluster.Info, namespace string, specLabels []string) error
View Source
var VersionCmd = &cobra.Command{
Use: "version",
Short: "Get version information on subctl",
Long: `This command shows the version tag, and git commit for your
subctl binary.`,
Run: subctlVersion,
}
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewJoinCmd ¶ added in v0.22.0
Types ¶
type JoinCommand ¶ added in v0.22.0
type JoinCommand struct {
// contains filtered or unexported fields
}
type VerifyOptions ¶ added in v0.22.0
Click to show internal directories.
Click to hide internal directories.