Skip to content

Commit

Permalink
migrate: update phase and make gen
Browse files Browse the repository at this point in the history
Signed-off-by: Xieql <xieqianglong@huawei.com>
  • Loading branch information
Xieql committed Oct 29, 2023
1 parent 5149803 commit 68b4113
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,10 @@ spec:
phase:
description: Phase represents the current phase of the migration operation.
enum:
- New
- Pending
- FailedValidation
- WaitingForSource
- InProgress
- BackupInProgress
- RestoreInProgress
- Completed
- Failed
type: string
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/backups/v1alpha1/migrate_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ type MigratePolicy struct {
}

// MigratePhase is a string representation of the lifecycle phase of a Migrate instance
// +kubebuilder:validation:Enum=New;FailedValidation;WaitingForSource;InProgress;Completed;Failed
// +kubebuilder:validation:Enum=Pending;FailedValidation;BackupInProgress;RestoreInProgress;Completed;Failed
type MigratePhase string

const (
Expand Down
3 changes: 2 additions & 1 deletion pkg/client-go/generated/clientset/versioned/clientset.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 5 additions & 76 deletions pkg/client-go/generated/informers/externalversions/factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 68b4113

Please sign in to comment.