metac > make generated_files
Generating deepcopy funcs
F0814 12:15:38.336102 24116 deepcopy.go:922] Hit an unsupported type invalid type for *invalid type
Makefile:62: recipe for target 'generated_files' failed
make: *** [generated_files] Error 255
There can be lots of reasons:
:heavy_check_mark: Are all your custom types / structs defined?
This interferes with codegen since runtime.Object interface is satisfied after a successful deepcopy gen. However, if types or structs are missing some definitions, we end up nowhere.
:heavy_check_mark: Are you following go modules properly?
:heavy_check_mark: Are you properly following the k8s.io sample-apiserver or sample-controller way to generate the required k8s code?
There can be lots of reasons:
runtime.Object
interface is satisfied after a successful deepcopy gen. However, if types or structs are missing some definitions, we end up nowhere.sample-apiserver
orsample-controller
way to generate the required k8s code?