mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
feat(beta): autogen code for v1 CRDs
Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
472fd603ac
commit
1e23607d8a
22 changed files with 433 additions and 212 deletions
|
|
@ -20,8 +20,8 @@ package fake
|
|||
|
||||
import (
|
||||
clientset "github.com/openebs/zfs-localpv/pkg/generated/clientset/internalclientset"
|
||||
zfsv1alpha1 "github.com/openebs/zfs-localpv/pkg/generated/clientset/internalclientset/typed/zfs/v1alpha1"
|
||||
fakezfsv1alpha1 "github.com/openebs/zfs-localpv/pkg/generated/clientset/internalclientset/typed/zfs/v1alpha1/fake"
|
||||
zfsv1 "github.com/openebs/zfs-localpv/pkg/generated/clientset/internalclientset/typed/zfs/v1"
|
||||
fakezfsv1 "github.com/openebs/zfs-localpv/pkg/generated/clientset/internalclientset/typed/zfs/v1/fake"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/watch"
|
||||
"k8s.io/client-go/discovery"
|
||||
|
|
@ -71,7 +71,7 @@ func (c *Clientset) Discovery() discovery.DiscoveryInterface {
|
|||
|
||||
var _ clientset.Interface = &Clientset{}
|
||||
|
||||
// ZfsV1alpha1 retrieves the ZfsV1alpha1Client
|
||||
func (c *Clientset) ZfsV1alpha1() zfsv1alpha1.ZfsV1alpha1Interface {
|
||||
return &fakezfsv1alpha1.FakeZfsV1alpha1{Fake: &c.Fake}
|
||||
// ZfsV1 retrieves the ZfsV1Client
|
||||
func (c *Clientset) ZfsV1() zfsv1.ZfsV1Interface {
|
||||
return &fakezfsv1.FakeZfsV1{Fake: &c.Fake}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue