peeroob

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package peeroob contains the logic to perform an out-of-band peering towards a remote cluster.

Index

Constants

View Source
const (
	// AuthURLFlagName contains the name of auth-url flag.
	AuthURLFlagName = "auth-url"
	// ClusterIDFlagName contains the name of cluster ID flag.
	ClusterIDFlagName = "cluster-id"
	// ClusterTokenFlagName contains the name for the token flag.
	ClusterTokenFlagName = "auth-token"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	*peer.Options

	ClusterToken   string
	ClusterAuthURL string
	ClusterID      string
}

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

func (*Options) Run

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

Run implements the peer out-of-band command.

Jump to

Keyboard shortcuts

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