remove

package
v0.3.2-beta.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

type ClusterArgs struct {
	ClusterName string
	ClusterID   string
}

ClusterArgs encapsulates arguments required to disable an outgoing peering to a remote cluster.

Jump to

Keyboard shortcuts

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