Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup: add schedule status api for backup #386

Closed
wants to merge 1 commit into from

Conversation

Xieql
Copy link
Contributor

@Xieql Xieql commented Sep 18, 2023

What type of PR is this?

/kind api-change
/kind bug

What this PR does / why we need it:

current backup api design lack “ScheduleStatus”

so this pr add it

ref #377

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@netlify
Copy link

netlify bot commented Sep 18, 2023

Deploy Preview for kurator-dev ready!

Name Link
🔨 Latest commit 773484f
🔍 Latest deploy log https://app.netlify.com/sites/kurator-dev/deploys/6507b004ebd5010008dc8b9a
😎 Deploy Preview https://deploy-preview-386--kurator-dev.netlify.app/references/backups_v1alpha1_types
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kurator-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hzxuzhonghu for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Xieql Xieql changed the title buckup: add schedule status api for backup backup: add schedule status api for backup Sep 18, 2023
@@ -125,6 +125,11 @@ type BackupDetails struct {
// BackupStatusInCluster is the current status of the backup performed within this cluster.
// +optional
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo: 添加注释:如果是schedule 类型,那么这个字段的含义是 最近的一次 schedule 创建的 backup

@Xieql Xieql closed this Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants