// ResourceForFlags registers flags for Resource fields and returns the Resource
ResourceForFlags registers flags for Resource fields and returns the Resource
// ResourceForFlags registers flags for Resource fields and returns the Resource
func ResourceForFlags(f *flag.FlagSet) *resource.Resource {
	r := &resource.Resource{}
	f.StringVar(&r.Kind, "kind", "", "resource Kind")
	f.StringVar(&r.Group, "group", "", "resource Group")
	f.StringVar(&r.Version, "version", "", "resource Version")
	f.BoolVar(&r.Namespaced, "namespaced", true, "true if the resource is namespaced")
	f.BoolVar(&r.CreateExampleReconcileBody, "example", true,
		"true if an example reconcile body should be written")
	return r
}
func ResourceForFlags ( f * flag . FlagSet ) * resource . Resource { r := & resource . Resource { } f . StringVar ( & r . Kind , " " , " " , " " ) f . StringVar ( & r . Group , " " , " " , " " ) f . StringVar ( & r . Version , " " , " " , " " ) f . BoolVar ( & r . Namespaced , " " , true , " " ) f . BoolVar ( & r . CreateExampleReconcileBody , " " , true , " " ) return r }
ResourceForFlags registers flags for Resource fields and returns the Resource
ResourceForFlags registers flags for Resource fields and returns the Resource