{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder/issues/25","repository_url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder","labels_url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder/issues/25/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder/issues/25/events","html_url":"https://github.com/kubernetes-sigs/kubebuilder/issues/25","id":307879109,"number":25,"title":"Missing struct fields and import issues","user":{"login":"crimsonfaith91","id":13921630,"avatar_url":"https://avatars0.githubusercontent.com/u/13921630?v=4","gravatar_id":"","url":"https://api.github.com/users/crimsonfaith91","html_url":"https://github.com/crimsonfaith91","followers_url":"https://api.github.com/users/crimsonfaith91/followers","following_url":"https://api.github.com/users/crimsonfaith91/following{/other_user}","gists_url":"https://api.github.com/users/crimsonfaith91/gists{/gist_id}","starred_url":"https://api.github.com/users/crimsonfaith91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crimsonfaith91/subscriptions","organizations_url":"https://api.github.com/users/crimsonfaith91/orgs","repos_url":"https://api.github.com/users/crimsonfaith91/repos","events_url":"https://api.github.com/users/crimsonfaith91/events{/privacy}","received_events_url":"https://api.github.com/users/crimsonfaith91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T02:25:11Z","updated_at":"2018-03-23T02:25:11Z","closed_at":null,"author_association":"NONE","body":"Some generated structs have missing fields.\r\nFor instance, `InjectArgs` struct does not have some necessary fields such as `Clientset`:\r\n```\r\narguments.Clientset undefined (type args.InjectArgs has no field or method Clientset)\r\n``` \r\n\r\nThere are several import issues after generating the codes too.\r\nFor instance, in `/cmd/controller-manager/main.go`, there is a conflicting import for `k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1` due to 2 `vendor` packages in the repo (one is `<pkg>/vendor`, another is `<pkg>/cmd/vendor`).\r\n\r\nSame errors happened after re-downloading kubebuilder and re-generating the files."}}
{"actor":{"display_login":"crimsonfaith91"}}