Documentation ¶
Index ¶
- Constants
- func NewTransfer(t transport.Transport, e endpoint.Endpoint, src client.Client, ...) (transfer.Transfer, error)
- type BlockrsyncTransfer
- func (r *BlockrsyncTransfer) CreateClient(c client.Client) error
- func (r *BlockrsyncTransfer) CreateServer(c client.Client) error
- func (r *BlockrsyncTransfer) Destination() client.Client
- func (r *BlockrsyncTransfer) Endpoint() endpoint.Endpoint
- func (r *BlockrsyncTransfer) IsServerHealthy(c client.Client) (bool, error)
- func (r *BlockrsyncTransfer) PVCs() transfer.PVCPairList
- func (r *BlockrsyncTransfer) Password() string
- func (r *BlockrsyncTransfer) Source() client.Client
- func (r *BlockrsyncTransfer) Transport() transport.Transport
- func (r *BlockrsyncTransfer) Username() string
- type TransferOptions
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 (r *BlockrsyncTransfer) PVCs() transfer.PVCPairList
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 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
Click to show internal directories.
Click to hide internal directories.