feat: support batch replication prefix slice (#20033)

This commit is contained in:
jiuker
2024-08-01 20:53:30 +08:00
committed by GitHub
parent 292fccff6e
commit 50a5ad48fc
10 changed files with 521 additions and 40 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ func (t BatchJobReplicateTarget) ValidPath() bool {
type BatchJobReplicateSource struct {
Type BatchJobReplicateResourceType `yaml:"type" json:"type"`
Bucket string `yaml:"bucket" json:"bucket"`
Prefix string `yaml:"prefix" json:"prefix"`
Prefix BatchJobPrefix `yaml:"prefix" json:"prefix"`
Endpoint string `yaml:"endpoint" json:"endpoint"`
Path string `yaml:"path" json:"path"`
Creds BatchJobReplicateCredentials `yaml:"credentials" json:"credentials"`