Skip to content

Commit

Permalink
Add server and APIs for defrag and schedule services (libopenstorage#…
Browse files Browse the repository at this point in the history
…2426)

* Set up defrag CLI backend server

* Add CreateSchedule API to OpenStorageFilesystemDefrag server

* Set up OpenStorageSchedule backend server; Add APIs to manage schedules

* Add defrag status API to OpenStorageFilesystemDefrag server

* Add defrag schedules clean-up API to OpenStorageFilesystemDefrag server

* Change DefragJob node_selector to LabelSelectorRequirement type

* Change  max_duration_hours to max_duration_minutes

* Update SDK version number

* Update auto-generated files

---------

Signed-off-by: Tengxiao Wang <[email protected]>
  • Loading branch information
twang-ps authored Apr 11, 2024
1 parent a9ec635 commit e80fd7f
Show file tree
Hide file tree
Showing 20 changed files with 8,859 additions and 5,009 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ mockgen:
mockgen -destination=cluster/mock/cluster.mock.go -package=mock github.com/libopenstorage/openstorage/cluster Cluster
mockgen -destination=api/mock/mock_fstrim.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageFilesystemTrimServer,OpenStorageFilesystemTrimClient
mockgen -destination=api/mock/mock_fscheck.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageFilesystemCheckServer,OpenStorageFilesystemCheckClient
mockgen -destination=api/mock/mock_defrag.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageFilesystemDefragServer,OpenStorageFilesystemDefragClient
mockgen -destination=api/server/mock/mock_schedops_k8s.go -package=mock github.com/portworx/sched-ops/k8s/core Ops
mockgen -destination=volume/drivers/mock/driver.mock.go -package=mock github.com/libopenstorage/openstorage/volume VolumeDriver
mockgen -destination=bucket/drivers/mock/bucket_driver.mock.go -package=mock github.com/libopenstorage/openstorage/bucket BucketDriver
Expand Down
4 changes: 4 additions & 0 deletions SDK_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Releases

### v0.181.0 - (03/20/2024)

* Add servers and APIs for defrag and schedule services

### v0.180.0 - (03/19/2024)

* Add force option to StoragePool api
Expand Down
Loading

0 comments on commit e80fd7f

Please sign in to comment.