feat(beta): autogen code for v1 CRDs

Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
Pawan 2020-05-28 00:45:18 +05:30 committed by Kiran Mova
parent 472fd603ac
commit 1e23607d8a
22 changed files with 433 additions and 212 deletions

View file

@ -19,7 +19,7 @@ limitations under the License.
package fake
import (
zfsv1alpha1 "github.com/openebs/zfs-localpv/pkg/apis/openebs.io/zfs/v1alpha1"
zfsv1 "github.com/openebs/zfs-localpv/pkg/apis/openebs.io/zfs/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"
@ -31,7 +31,7 @@ var scheme = runtime.NewScheme()
var codecs = serializer.NewCodecFactory(scheme)
var parameterCodec = runtime.NewParameterCodec(scheme)
var localSchemeBuilder = runtime.SchemeBuilder{
zfsv1alpha1.AddToScheme,
zfsv1.AddToScheme,
}
// AddToScheme adds all types of this clientset into the given scheme. This allows composition