func (r Resource) Kind() string {
	return r.ar.Kind
}
Kind returns resource kind
package k8s
import (
	"strings"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/runtime/schema"
)
type Resource struct {
	ar metav1.APIResource
	gv schema.GroupVersion
}
func (r Resource) Name() string {
	return r.ar.Name
}