replica

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	ExporterCmdOptions
	// contains filtered or unexported fields
}

Exporter provide functions for the replica exporter.

func (*Exporter) Cleanup

func (remote *Exporter) Cleanup() error

Cleanup deletes the ConfigMap and DaemonSet created for the replica exporter.

func (*Exporter) Init

func (remote *Exporter) Init() error

Init initializes the Exporter.

func (*Exporter) Run

func (remote *Exporter) Run() (string, error)

Run creates the ConfigMap and DaemonSet for the replica exporter. It ensures the init container completes and the engine container is ready before collecting volume information and returning it as a YAML string.

func (*Exporter) Validate

func (remote *Exporter) Validate() error

Validate validates the command options.

type ExporterCmdOptions

type ExporterCmdOptions struct {
	types.GlobalCmdOptions

	EngineImage           string
	ReplicaName           string
	LonghornDataDirectory string
	HostTargetDirectory   string
}

ExporterCmdOptions holds the options for the command.

type Getter

type Getter struct {
	GetterCmdOptions
	// contains filtered or unexported fields
}

Getter provide functions for the replica getter.

func (*Getter) Cleanup

func (remote *Getter) Cleanup() error

Cleanup deletes the DaemonSet created for the replica getter.

func (*Getter) Init

func (remote *Getter) Init() error

Init initializes the Getter.

func (*Getter) Run

func (remote *Getter) Run() (string, error)

Run creates the DaemonSet for the replica getter. It ensures that the init container and the output container completes before collecting the replica information and returning it as a YAML string.

type GetterCmdOptions

type GetterCmdOptions struct {
	types.GlobalCmdOptions

	LonghornDataDirectory string
	VolumeName            string
	ReplicaName           string
}

GetterCmdOptions holds the options for the command.

Jump to

Keyboard shortcuts

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