Provisioning: Merge watch support into live (#102618)

This commit is contained in:
Ryan McKinley
2025-03-21 16:45:25 +02:00
committed by GitHub
parent 77c5e0eeb2
commit 1a00801e6a
18 changed files with 723 additions and 58 deletions
+1 -4
View File
@@ -104,16 +104,13 @@ type ExportJobOptions struct {
Branch string `json:"branch,omitempty"`
// Prefix in target file system
Prefix string `json:"prefix,omitempty"`
Path string `json:"path,omitempty"`
// Include the identifier in the exported metadata
Identifier bool `json:"identifier"`
}
type MigrateJobOptions struct {
// Target file prefix
Prefix string `json:"prefix,omitempty"`
// Preserve history (if possible)
History bool `json:"history,omitempty"`
@@ -108,7 +108,7 @@ func schema_pkg_apis_provisioning_v0alpha1_ExportJobOptions(ref common.Reference
Format: "",
},
},
"prefix": {
"path": {
SchemaProps: spec.SchemaProps{
Description: "Prefix in target file system",
Type: []string{"string"},
@@ -818,13 +818,6 @@ func schema_pkg_apis_provisioning_v0alpha1_MigrateJobOptions(ref common.Referenc
SchemaProps: spec.SchemaProps{
Type: []string{"object"},
Properties: map[string]spec.Schema{
"prefix": {
SchemaProps: spec.SchemaProps{
Description: "Target file prefix",
Type: []string{"string"},
Format: "",
},
},
"history": {
SchemaProps: spec.SchemaProps{
Description: "Preserve history (if possible)",