mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-13 15:00:18 +01:00
feat(scheduling): add zfs pool capacity tracking (#335)
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
This commit is contained in:
parent
4fce22afb5
commit
3eb2c9e894
26 changed files with 2284 additions and 7 deletions
|
|
@ -26,6 +26,8 @@ import (
|
|||
type Interface interface {
|
||||
// ZFSBackups returns a ZFSBackupInformer.
|
||||
ZFSBackups() ZFSBackupInformer
|
||||
// ZFSNodes returns a ZFSNodeInformer.
|
||||
ZFSNodes() ZFSNodeInformer
|
||||
// ZFSRestores returns a ZFSRestoreInformer.
|
||||
ZFSRestores() ZFSRestoreInformer
|
||||
// ZFSSnapshots returns a ZFSSnapshotInformer.
|
||||
|
|
@ -50,6 +52,11 @@ func (v *version) ZFSBackups() ZFSBackupInformer {
|
|||
return &zFSBackupInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
|
||||
}
|
||||
|
||||
// ZFSNodes returns a ZFSNodeInformer.
|
||||
func (v *version) ZFSNodes() ZFSNodeInformer {
|
||||
return &zFSNodeInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
|
||||
}
|
||||
|
||||
// ZFSRestores returns a ZFSRestoreInformer.
|
||||
func (v *version) ZFSRestores() ZFSRestoreInformer {
|
||||
return &zFSRestoreInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue