File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -606,6 +606,18 @@ func (cvr *CStorVolumeReplica) WithReplicaID(replicaID string) *CStorVolumeRepli
606606 return cvr
607607}
608608
609+ // WithZvolWorkers sets the zvolworkers with the provided arguments
610+ func (cvr * CStorVolumeReplica ) WithZvolWorkers (zvolworker string ) * CStorVolumeReplica {
611+ cvr .Spec .ZvolWorkers = zvolworker
612+ return cvr
613+ }
614+
615+ // WithCWithCompression sets the compression algorithm with the provided arguments
616+ func (cvr * CStorVolumeReplica ) WithCompression (compression string ) * CStorVolumeReplica {
617+ cvr .Spec .Compression = compression
618+ return cvr
619+ }
620+
609621// WithStatusPhase sets the Status Phase of CStorVolumeReplica with provided
610622//arguments
611623func (cvr * CStorVolumeReplica ) WithStatusPhase (phase CStorVolumeReplicaPhase ) * CStorVolumeReplica {
You can’t perform that action at this time.
0 commit comments