Documentation ¶
Overview ¶
Package remove contains the logic to terminate an outgoing peering to a remote cluster
Index ¶
Constants ¶
View Source
const ( // LiqoctlRemoveShortHelp contains the short help string for liqoctl remove command. LiqoctlRemoveShortHelp = "Disable a peering with a remote cluster" // LiqoctlRemoveLongHelp contains the Long help string for liqoctl remove command. LiqoctlRemoveLongHelp = `Disable a peering with a remote cluster $ liqoctl remove cluster my-cluster ` // UseCommand contains the verb of the remove command. UseCommand = "remove" // ClusterResourceName contains the name of the resource removed in liqoctl remove. ClusterResourceName = "cluster" // SuccessfulMessage is printed when a remove cluster command has scucceded. SuccessfulMessage = `` /* 363-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func HandleRemoveCommand ¶
func HandleRemoveCommand(ctx context.Context, t *ClusterArgs) error
HandleRemoveCommand handles the remove command, configuring all the resources required to disable an outgoing peering.
Types ¶
type ClusterArgs ¶
ClusterArgs encapsulates arguments required to disable an outgoing peering to a remote cluster.
Click to show internal directories.
Click to hide internal directories.