INT 21h

Hi, I am Vladimir Smagin, SysAdmin, DevOps and barely good guy. Telegram Email / GIT / Микроблог / Thingiverse / GPG

scheme.AddGeneratedDeepCopyFuncs undefined

№ 10195 В разделе "Программирование" от 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 *

*

Микроблог перейти

# 2019-11-20 13:13:54

Говорят вещь хорошая, надо будет поковырять на днях keel.sh/ #kubernetes #devops

# 2019-11-16 02:02:31

Хорошая шпаргалка по пластикам для печати drive.google.com/file/d/1NKB3- В принципе, данные практически сходятся с моими blindage.org/?p=10199

# 2019-11-14 15:29:01

Код quay теперь открыт www.projectquay.io/ #devops #kubernetes


© Vladimir Smagin, 2005-2019. Копирование материалов без разрешения запрещено. GPG DA4CD0F5E222EA727D6A40C413BCE12E5618F071 *
Яндекс.Метрика

Fortune cookie: Puritanism: the haunting fear that someone, somewhere, may be happy. -- H. L. Mencken, "A Book of Burlesques"