unpeeroob

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package unpeeroob contains the logic to tear-down an out-of-band peering towards a remote cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	*factory.Factory

	ClusterName string
	Timeout     time.Duration

	Incoming bool
	// Whether to enforce the peering to be of type out-of-band, and delete the ForeignCluster resource.
	UnpeerOOBMode bool
}

Options encapsulates the arguments of the unpeer out-of-band command.

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

Run implements the unpeer out-of-band command.

Jump to

Keyboard shortcuts

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