Documentation ¶
Overview ¶
Package add contains the logic to initiate an outgoing peering to a remote cluster
Index ¶
Constants ¶
View Source
const ( // LiqoctlAddShortHelp contains the short help string for liqoctl add command. LiqoctlAddShortHelp = "Enable a peering with a remote cluster" // LiqoctlAddLongHelp contains the Long help string for liqoctl add command. LiqoctlAddLongHelp = `` /* 172-byte string literal not displayed */ // AuthURLFlagName contains the name of auth-url flag. AuthURLFlagName = "auth-url" // ClusterNameFlagName contains the name of cluster name flag. ClusterNameFlagName = "name" // ClusterIDFlagName contains the name of cluster-id flag. ClusterIDFlagName = "id" // ClusterTokenFlagName contains the name for the token flag. ClusterTokenFlagName = "token" // UseCommand contains the verb of the add command. UseCommand = "add" // ClusterResourceName contains the name of the resource added in liqoctl add. ClusterResourceName = "cluster" // ClusterLiqoNamespaceFlagName contains the default namespace where Liqo is installed. ClusterLiqoNamespaceFlagName = "namespace" // ClusterLiqoNamespace contains the default namespace where Liqo is installed. ClusterLiqoNamespace = "liqo" // SuccessfulMessage is printed when ad add cluster command has succeeded. SuccessfulMessage = `` /* 921-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func HandleAddCommand ¶
func HandleAddCommand(ctx context.Context, t *ClusterArgs) error
HandleAddCommand handles the add command, configuring all the resources required to configure an outgoing peering.
Types ¶
Click to show internal directories.
Click to hide internal directories.