mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +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
|
|
@ -55,6 +55,8 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource
|
|||
// Group=zfs.openebs.io, Version=v1
|
||||
case v1.SchemeGroupVersion.WithResource("zfsbackups"):
|
||||
return &genericInformer{resource: resource.GroupResource(), informer: f.Zfs().V1().ZFSBackups().Informer()}, nil
|
||||
case v1.SchemeGroupVersion.WithResource("zfsnodes"):
|
||||
return &genericInformer{resource: resource.GroupResource(), informer: f.Zfs().V1().ZFSNodes().Informer()}, nil
|
||||
case v1.SchemeGroupVersion.WithResource("zfsrestores"):
|
||||
return &genericInformer{resource: resource.GroupResource(), informer: f.Zfs().V1().ZFSRestores().Informer()}, nil
|
||||
case v1.SchemeGroupVersion.WithResource("zfssnapshots"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue