replica

package
v1.8.0-dev-20241215 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter struct {
	remote.GetterCmdOptions

	OutputFilePath string
	CurrentNodeID  string
	// contains filtered or unexported fields
}

Getter provide functions for the replica getter.

func (*Getter) Init

func (local *Getter) Init() error

Init initializes the Getter.

func (*Getter) Output

func (local *Getter) Output() error

Output converts the collection to JSON and output to stdout or the output file.

func (*Getter) Run

func (local *Getter) Run() error

Run collects the replica information and outputs the result to stdout or a file.

Jump to

Keyboard shortcuts

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