generate

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

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