move

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: 21 Imported by: 0

Documentation

Overview

Package move contains the logic to move volumes between clusters.

Index

Constants

View Source
const (

	// DefaultResticServerImage is the default image used for the restic server.
	DefaultResticServerImage = "restic/rest-server:0.11.0"
	// DefaultResticImage is the default image used for the restic client.
	DefaultResticImage = "restic/restic:0.14.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options added in v0.5.0

type Options struct {
	*factory.Factory

	VolumeName string
	TargetNode string

	ContainersCPURequests, ContainersCPULimits resource.Quantity
	ContainersRAMRequests, ContainersRAMLimits resource.Quantity

	ResticPassword string

	ResticServerImage string
	ResticImage       string
}

Options encapsulates the arguments of the move volume command.

func (*Options) Run added in v0.5.0

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

Run implements the move volume command.

Jump to

Keyboard shortcuts

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