func (r Resource) Paths() []string {
	resNames := []string{strings.ToLower(r.name)}
	var names []string
	for _, name := range resNames {
		names = append(names,
			name,
			strings.Join([]string{name, r.group}, "/"),
			strings.Join([]string{name, r.group, r.version}, "/"),
		)
	}
	return names
}
Paths returns all possible variations of the resource paths
package gen
import "strings"
type Resource struct {
	name       string
	kind       string
	group      string
	version    string
	namespaced bool
}
func NewResource(name, kind, group, version string, namespaced bool) *Resource {
	return &Resource{
		name:       name,
		kind:       kind,
		group:      group,
		version:    version,
		namespaced: namespaced,
	}
}
func (r Resource) Name() string {
	return r.name
}
func (r Resource) Kind() string {
	return r.kind
}
func (r Resource) Group() string {
	return r.group
}
func (r Resource) Version() string {
	return r.version
}
func (r Resource) Namespaced() bool {
	return r.namespaced
}