diff --git a/state_transfer/transfer/blockrsync/options.go b/state_transfer/transfer/blockrsync/options.go index b37e9ee..9e2e338 100644 --- a/state_transfer/transfer/blockrsync/options.go +++ b/state_transfer/transfer/blockrsync/options.go @@ -24,3 +24,17 @@ func (t *TransferOptions) GetBlockrsyncClientImage() string { } return t.blockrsyncClientImage } + +type RsyncServerImage string + +func (r RsyncServerImage) ApplyTo(opts *TransferOptions) error { + opts.blockrsyncServerImage = string(r) + return nil +} + +type RsyncClientImage string + +func (r RsyncClientImage) ApplyTo(opts *TransferOptions) error { + opts.blockrsyncClientImage = string(r) + return nil +}