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

Update for release [email protected] #1379

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ require (
kubeops.dev/csi-driver-cacerts v0.1.0
kubeops.dev/petset v0.0.7
kubeops.dev/sidekick v0.0.10-0.20241122131943-163e27e5ef71
kubestash.dev/apimachinery v0.14.0
kubestash.dev/apimachinery v0.15.0
sigs.k8s.io/controller-runtime v0.18.4
sigs.k8s.io/yaml v1.4.0
stash.appscode.dev/apimachinery v0.37.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@ kubeops.dev/petset v0.0.7 h1:F77BTRfUqRVO7kNc8q2oFSSviDmYBqni/osXqu0kgJ4=
kubeops.dev/petset v0.0.7/go.mod h1:lt0SZV4ohRy7RiwLNUnMoauG4lCbcRbSqhMg20rdUQg=
kubeops.dev/sidekick v0.0.10-0.20241122131943-163e27e5ef71 h1:MIrAOBOkxkJuV1mtRTbP1elbLUUp55UmbGrAlFgLO7U=
kubeops.dev/sidekick v0.0.10-0.20241122131943-163e27e5ef71/go.mod h1:KGH6DiNqAfTaVz9bVTvm7e+KPKPN/PkfKkqee89YhW0=
kubestash.dev/apimachinery v0.14.0 h1:mHOR7WFpev7Tar5t7z+fiteO8yg+Ej7sGWo4KggyDCY=
kubestash.dev/apimachinery v0.14.0/go.mod h1:k+My508NVx4V3UyiNMtcrk2QDO7Ex8089VERcfQgFJ0=
kubestash.dev/apimachinery v0.15.0 h1:2VX9WrLkJhytGA7tNC0yC4htuYJRT3ZlVMLceZ8PeBs=
kubestash.dev/apimachinery v0.15.0/go.mod h1:5N6yz/zo+0AJNhc+dUbs/R/pUf96GcTx47N1Hlhvc88=
moul.io/http2curl/v2 v2.3.1-0.20221024080105-10c404f653f7 h1:NykkTlRB+X40z86cLHdEmuoTxhNKhQebLT379b1EumA=
moul.io/http2curl/v2 v2.3.1-0.20221024080105-10c404f653f7/go.mod h1:RW4hyBjTWSYDOxapodpNEtX0g5Eb16sxklBqmd2RHcE=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 h1:2770sDpzrjjsAtVhSeUFseziht227YAWYHLGNM8QPwY=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,32 @@ type Component struct {
// VolumeSnapshotterStats specifies the "VolumeSnapshotter" driver specific information
// +optional
VolumeSnapshotterStats []VolumeSnapshotterStats `json:"volumeSnapshotterStats,omitempty"`
// WalSegments specifies a list of wall segment for individual component
WalSegments []WalSegment `json:"walSegments,omitempty"`

LogStats *LogStats `json:"logStats,omitempty"`
}

type LogStats struct {
// Start represents the start time of the first log, that exists in the repository
// TODO: Need to update this start time, once the log-retention gets implemented
Start *string `json:"start,omitempty"`
// End represents the last end time of the log push
// Start & End together holds the full time-range. Not individual log.
End *string `json:"end,omitempty"`
// Lsn for PostgreSQL only
// +optional
Lsn *string `json:"lsn,omitempty"`

TotalFailedCount int64 `json:"totalFailedCount,omitempty"`
LastFailedStats []Log `json:"lastFailedStats,omitempty"`

TotalSucceededCount int64 `json:"totalSucceededCount,omitempty"`
LastSucceededStats []Log `json:"lastSucceededStats,omitempty"`
}

type Log struct {
Start *string `json:"start,omitempty"`
End *string `json:"end,omitempty"`
Error string `json:"error,omitempty"`
}

// ComponentPhase represents the backup phase of the individual component.
Expand Down Expand Up @@ -283,12 +307,6 @@ type WalGStats struct {
StopTime *metav1.Time `json:"stopTime,omitempty"`
}

// WalSegment specifies the "WalG" driver specific information
type WalSegment struct {
Start *metav1.Time `json:"start,omitempty"`
End *metav1.Time `json:"end,omitempty"`
}

const (
TypeSnapshotMetadataUploaded = "SnapshotMetadataUploaded"
ReasonFailedToUploadSnapshotMetadata = "FailedToUploadSnapshotMetadata"
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,43 @@ spec:
type: string
integrity:
type: boolean
logStats:
properties:
end:
type: string
lastFailedStats:
items:
properties:
end:
type: string
error:
type: string
start:
type: string
type: object
type: array
lastSucceededStats:
items:
properties:
end:
type: string
error:
type: string
start:
type: string
type: object
type: array
lsn:
type: string
start:
type: string
totalFailedCount:
format: int64
type: integer
totalSucceededCount:
format: int64
type: integer
type: object
path:
type: string
phase:
Expand Down Expand Up @@ -158,17 +195,6 @@ spec:
format: date-time
type: string
type: object
walSegments:
items:
properties:
end:
format: date-time
type: string
start:
format: date-time
type: string
type: object
type: array
type: object
type: object
x-kubernetes-map-type: granular
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ kubeops.dev/petset/pkg/features
kubeops.dev/sidekick/apis/apps
kubeops.dev/sidekick/apis/apps/v1alpha1
kubeops.dev/sidekick/crds
# kubestash.dev/apimachinery v0.14.0
# kubestash.dev/apimachinery v0.15.0
## explicit; go 1.22.0
kubestash.dev/apimachinery/apis
kubestash.dev/apimachinery/apis/addons/v1alpha1
Expand Down
Loading