INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / Микроблог / Thingiverse / RSS / GPG

scheme.AddGeneratedDeepCopyFuncs undefined

№ 10195 В разделе "Programming" от August 9th, 2019,
В подшивках:

pkg/apis/redis/v1/zz_generated.deepcopy.go:22:15: scheme.AddGeneratedDeepCopyFuncs undefined 
(type *"github.com/tekliner/im-redis-operator/vendor/k8s.io/apimachinery/pkg/runtime".Scheme has 
no field or method AddGeneratedDeepCopyFuncs)

pkg/apis/redis/v1/zz_generated.deepcopy.go:23:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:27:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:31:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:35:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:39:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:43:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:47:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:51:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:55:3: undefined: conversion.GeneratedDeepCopyFunc
pkg/apis/redis/v1/zz_generated.deepcopy.go:55:3: too many errors
^Cmake: *** [Makefile:14: bin/redis] Interrupt 

Update versions of client-go, api and apimachinery. Install code generation tools.

go get k8s.io/code-generator
go get k8s.io/klog
cd ~/go/src/k8s.io/code-generator
go install ./cmd/{defaulter-gen,client-gen,lister-gen,informer-gen,deepcopy-gen}

Now rebuild project.

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Яндекс.Метрика

Fortune cookie: Today's spam: Stop premature ejaculation!