Open mivanovvs opened 5 years ago
Hello,
I'm trying to build operator, but this error is occurred
github.com/amadeusitgroup/redis-operator/pkg/api/redis/v1 /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:48:15: scheme.AddGeneratedDeepCopyFuncs undefined (type *runtime.Scheme has no field or method AddGeneratedDeepCopyFuncs) /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:49:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:53:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:57:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:61:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:65:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:69:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:73:3: undefined: conversion.GeneratedDeepCopyFunc
Build with
CGO_ENABLED=0 go build -i -installsuffix cgo -ldflags '-w -s' -o Redis-Operator/docker/operator/operator Redis-Operator/cmd/redisnode/main.go
Also, I tried to change versions GO and go-client for k8s, but no result. tested with GO v1.10 and v1.12
Hello,
I'm trying to build operator, but this error is occurred
github.com/amadeusitgroup/redis-operator/pkg/api/redis/v1 /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:48:15: scheme.AddGeneratedDeepCopyFuncs undefined (type *runtime.Scheme has no field or method AddGeneratedDeepCopyFuncs) /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:49:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:53:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:57:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:61:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:65:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:69:3: undefined: conversion.GeneratedDeepCopyFunc /go/pkg/mod/github.com/amadeusitgroup/redis-operator@v0.0.0-20190524145946-778e57b06787/pkg/api/redis/v1/zz_generated.deepcopy.go:73:3: undefined: conversion.GeneratedDeepCopyFunc
Build with
CGO_ENABLED=0 go build -i -installsuffix cgo -ldflags '-w -s' -o Redis-Operator/docker/operator/operator Redis-Operator/cmd/redisnode/main.go
Also, I tried to change versions GO and go-client for k8s, but no result. tested with GO v1.10 and v1.12