subctl

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 75 Imported by: 0

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

func NewJoinCmd() *cobra.Command

Types

type JoinCommand added in v0.22.0

type JoinCommand struct {
	// contains filtered or unexported fields
}

type VerifyOptions added in v0.22.0

type VerifyOptions struct {
	VerboseConnectivityVerification   bool
	DisruptiveTests                   bool
	SkipConnectorSrcIPCheck           bool
	SkipIntraClusterConnectivityTests bool
	OperationTimeout                  uint
	ConnectionTimeout                 uint
	ConnectionAttempts                uint
	PacketSize                        uint
	JunitReport                       string
	VerifyOnly                        string
}

Jump to

Keyboard shortcuts

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