Embbed type in the example function to improve printing
@@ -16,11 +16,11 @@ limitations under the License.
package controller_test
-func Example() {}
-
+func Example() {
// +kubebuilder:controller:group=foo,version=v1beta1,kind=Bar,resource=bars
// +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:informers:group=apps,version=v1,kind=Deployment
// +kubebuilder:rbac:groups="",resources=pods,verbs=get;watch;list
// +kubebuilder:informers:group=core,version=v1,kind=Pod
type FooController struct{}
+}
