blockrsync

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	BlockRsyncContainer = "blockrsync"
	Proxy               = "proxy"
)

Variables

This section is empty.

Functions

Types

type BlockrsyncTransfer

type BlockrsyncTransfer struct {
	// contains filtered or unexported fields
}

func (*BlockrsyncTransfer) CreateClient

func (r *BlockrsyncTransfer) CreateClient(c client.Client) error

func (*BlockrsyncTransfer) CreateServer

func (r *BlockrsyncTransfer) CreateServer(c client.Client) error

func (*BlockrsyncTransfer) Destination

func (r *BlockrsyncTransfer) Destination() client.Client

func (*BlockrsyncTransfer) Endpoint

func (r *BlockrsyncTransfer) Endpoint() endpoint.Endpoint

func (*BlockrsyncTransfer) IsServerHealthy

func (r *BlockrsyncTransfer) IsServerHealthy(c client.Client) (bool, error)

func (*BlockrsyncTransfer) PVCs

func (*BlockrsyncTransfer) Password

func (r *BlockrsyncTransfer) Password() string

func (*BlockrsyncTransfer) Source

func (r *BlockrsyncTransfer) Source() client.Client

func (*BlockrsyncTransfer) Transport

func (r *BlockrsyncTransfer) Transport() transport.Transport

func (*BlockrsyncTransfer) Username

func (r *BlockrsyncTransfer) Username() string

type RsyncClientImage added in v0.1.1

type RsyncClientImage string

func (RsyncClientImage) ApplyTo added in v0.1.1

func (r RsyncClientImage) ApplyTo(opts *TransferOptions) error

type RsyncServerImage added in v0.1.1

type RsyncServerImage string

func (RsyncServerImage) ApplyTo added in v0.1.1

func (r RsyncServerImage) ApplyTo(opts *TransferOptions) error

type TransferOptions

type TransferOptions struct {
	SourcePodMeta      transfer.ResourceMetadata
	DestinationPodMeta transfer.ResourceMetadata
	// contains filtered or unexported fields
}

func (*TransferOptions) GetBlockrsyncClientImage

func (t *TransferOptions) GetBlockrsyncClientImage() string

func (*TransferOptions) GetBlockrsyncServerImage

func (t *TransferOptions) GetBlockrsyncServerImage() string

Jump to

Keyboard shortcuts

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