Skip to content

Commit 4c985a7

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent 1bbfc80 commit 4c985a7

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

pkg/api/v1/cluster_types.go

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -905,24 +905,34 @@ type ClusterStatus struct {
905905
Certificates CertificatesStatus `json:"certificates,omitempty"`
906906

907907
// The first recoverability point, stored as a date in RFC3339 format.
908-
// This field is calculated from the content of FirstRecoverabilityPointByMethod
908+
// This field is calculated from the content of FirstRecoverabilityPointByMethod.
909+
//
910+
// Deprecated: the field is not set for backup plugins.
909911
// +optional
910912
FirstRecoverabilityPoint string `json:"firstRecoverabilityPoint,omitempty"`
911913

912-
// The first recoverability point, stored as a date in RFC3339 format, per backup method type
914+
// The first recoverability point, stored as a date in RFC3339 format, per backup method type.
915+
//
916+
// Deprecated: the field is not set for backup plugins.
913917
// +optional
914918
FirstRecoverabilityPointByMethod map[BackupMethod]metav1.Time `json:"firstRecoverabilityPointByMethod,omitempty"`
915919

916-
// Last successful backup, stored as a date in RFC3339 format
917-
// This field is calculated from the content of LastSuccessfulBackupByMethod
920+
// Last successful backup, stored as a date in RFC3339 format.
921+
// This field is calculated from the content of LastSuccessfulBackupByMethod.
922+
//
923+
// Deprecated: the field is not set for backup plugins.
918924
// +optional
919925
LastSuccessfulBackup string `json:"lastSuccessfulBackup,omitempty"`
920926

921-
// Last successful backup, stored as a date in RFC3339 format, per backup method type
927+
// Last successful backup, stored as a date in RFC3339 format, per backup method type.
928+
//
929+
// Deprecated: the field is not set for backup plugins.
922930
// +optional
923931
LastSuccessfulBackupByMethod map[BackupMethod]metav1.Time `json:"lastSuccessfulBackupByMethod,omitempty"`
924932

925-
// Stored as a date in RFC3339 format
933+
// Last failed backup, stored as a date in RFC3339 format.
934+
//
935+
// Deprecated: the field is not set for backup plugins.
926936
// +optional
927937
LastFailedBackup string `json:"lastFailedBackup,omitempty"`
928938

0 commit comments

Comments
 (0)