Skip to content
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 @@ -26,7 +26,7 @@ require (
kmodules.xyz/offshoot-api v0.34.0
kmodules.xyz/prober v0.34.0
kubedb.dev/apimachinery v0.63.0
kubestash.dev/apimachinery v0.28.0-rc.2
kubestash.dev/apimachinery v0.28.0
sigs.k8s.io/controller-runtime v0.22.4
sigs.k8s.io/yaml v1.6.0
stash.appscode.dev/apimachinery v0.42.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,8 @@ kubeops.dev/petset v0.0.15 h1:iwTRFAp0RNw0A87sw2c97UZ6WIA9H/nhJBpDhXLa7fk=
kubeops.dev/petset v0.0.15/go.mod h1:sw96WiXfzhpmKpXj4a5AdmEHs0Bx4QMhf+iW15zY4Gg=
kubeops.dev/sidekick v0.0.12 h1:pmUjQLZDKxgREiM6z0PogLR1aDbgvkE9jRjbxG6dEt0=
kubeops.dev/sidekick v0.0.12/go.mod h1:RU7QH3E8DOLw15rBYlOOJSyczuwAnVVtYyZjJb00UB8=
kubestash.dev/apimachinery v0.28.0-rc.2 h1:58l08lH9Hfomaq5uVXF71OP5R4rtyiz/uP8x9ndfioo=
kubestash.dev/apimachinery v0.28.0-rc.2/go.mod h1:zzvfyJ0ACaxAzk1to1cERIrIacHACASWcPbDkel9lyE=
kubestash.dev/apimachinery v0.28.0 h1:0JwpV9AA4VcfxyoUTfrvJDcXAWBUg/CXCcdAGMx6IYI=
kubestash.dev/apimachinery v0.28.0/go.mod h1:zzvfyJ0ACaxAzk1to1cERIrIacHACASWcPbDkel9lyE=
open-cluster-management.io/api v1.2.0 h1:+yeQgJiErrur5S4s205UM37EcZ2XbC9pFSm0xgV5/hU=
open-cluster-management.io/api v1.2.0/go.mod h1:YcmA6SpGEekIMxdoeVIIyOaBhMA6ImWRLXP4g8n8T+4=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type Task struct {
// Valid values are:
// - "Restic": The underlying tool is [restic](https://restic.net/).
// - "WalG": The underlying tool is [wal-g](https://github.com/wal-g/wal-g).
// +kubebuilder:validation:Enum=Restic;WalG;Medusa;VolumeSnapshotter;Solr;ClickHouseBackup
// +kubebuilder:validation:Enum=Restic;WalG;Medusa;VolumeSnapshotter;Solr;ClickHouseBackup;Neo4jAdmin
Driver apis.Driver `json:"driver,omitempty"`

// Executor specifies the type of entity that will execute the task. For example, it can be a Job,
Expand Down

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.

Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,22 @@ type Component struct {

// ClickHouseStats specifies the ClickHouse Backup specific information
ClickHouseStats []ClickHouseStats `json:"clickHouseStats,omitempty"`

// Neo4jStats specifies the Neo4j Admin specific information
Neo4jStats []Neo4jStats `json:"neo4jStats,omitempty"`
}

type Neo4jStats struct {
File string `json:"file,omitempty"`
Database string `json:"database,omitempty"`
DatabaseID string `json:"databaseID,omitempty"`
Time string `json:"time,omitempty"`
Full bool `json:"full,omitempty"`
Compressed bool `json:"compressed,omitempty"`
LowestTX int64 `json:"lowestTX,omitempty"`
HighestTX int64 `json:"highestTX,omitempty"`
StoreIDHash string `json:"storeIDHash,omitempty"`
Recovered bool `json:"recovered,omitempty"`
}

type LogStats struct {
Expand Down

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

3 changes: 2 additions & 1 deletion vendor/kubestash.dev/apimachinery/apis/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

// Driver specifies the name of underlying tool that is being used to upload the backed up data.
// +kubebuilder:validation:Enum=Restic;WalG;VolumeSnapshotter;Solr;Medusa;ClickHouseBackup
// +kubebuilder:validation:Enum=Restic;WalG;VolumeSnapshotter;Solr;Medusa;ClickHouseBackup;Neo4jAdmin
type Driver string

const (
Expand All @@ -34,6 +34,7 @@ const (
DriverVolumeSnapshotter Driver = "VolumeSnapshotter"
DriverSolr Driver = "Solr"
DriverClickHouseBackup Driver = "ClickHouseBackup"
DriverNeo4jAdmin Driver = "Neo4jAdmin"
)

// VolumeSource specifies the source of volume to mount in the backup/restore executor
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 @@ -46,13 +46,15 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
- enum:
- Restic
- WalG
- Medusa
- VolumeSnapshotter
- Solr
- ClickHouseBackup
- Neo4jAdmin
type: string
executor:
enum:
Expand Down Expand Up @@ -1072,13 +1074,15 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
- enum:
- Restic
- WalG
- Medusa
- VolumeSnapshotter
- Solr
- ClickHouseBackup
- Neo4jAdmin
type: string
executor:
enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
type: string
duration:
type: string
Expand Down Expand Up @@ -185,6 +186,33 @@ spec:
status:
type: string
type: object
neo4jStats:
items:
properties:
compressed:
type: boolean
database:
type: string
databaseID:
type: string
file:
type: string
full:
type: boolean
highestTX:
format: int64
type: integer
lowestTX:
format: int64
type: integer
recovered:
type: boolean
storeIDHash:
type: string
time:
type: string
type: object
type: array
path:
type: string
phase:
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1880,7 +1880,7 @@ kubeops.dev/petset/crds
kubeops.dev/sidekick/apis/apps
kubeops.dev/sidekick/apis/apps/v1alpha1
kubeops.dev/sidekick/crds
# kubestash.dev/apimachinery v0.28.0-rc.2
# kubestash.dev/apimachinery v0.28.0
## explicit; go 1.25.0
kubestash.dev/apimachinery/apis
kubestash.dev/apimachinery/apis/addons/v1alpha1
Expand Down
Loading