Documentation ¶
Overview ¶
Package generate contains the logic that handle the generate-add-command command in liqoctl
Index ¶
Constants ¶
View Source
const LiqoctlGenerateAddCommand = "generate-add-command"
LiqoctlGenerateAddCommand contains the use command for the generate-add-cluster Liqoctl command.
View Source
const LiqoctlGenerateLongHelp = `Generate the command to execute on another cluster to peer with the selected cluster.
` + liqoctlGenerateRemindInstall
LiqoctlGenerateLongHelp contains the short help message for the generate-add-cluster Liqoctl command.
View Source
const LiqoctlGenerateShortHelp = "Generate the command to execute on another cluster to peer with the selected cluster."
LiqoctlGenerateShortHelp contains the short help message for the generate-add-cluster Liqoctl command.
Variables ¶
This section is empty.
Functions ¶
func HandleGenerateAddCommand ¶
func HandleGenerateAddCommand(ctx context.Context, liqoNamespace string, printOnlyCommand bool, commandName string) error
HandleGenerateAddCommand outputs the liqoctl add command to use to add the target cluster.
func RetrieveLiqoControllerManagerDeploymentArgs ¶ added in v0.3.1
func RetrieveLiqoControllerManagerDeploymentArgs(ctx context.Context, clientSet client.Client, liqoNamespace string) ([]string, error)
RetrieveLiqoControllerManagerDeploymentArgs retrieves the list of arguments associated with the liqo controller manager deployment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.