func (serviceAccountTemplateFactory) ShortName(definition client.ResourceDefinition) string {
	if definition.ServiceAccount == nil {
		return ""
	}
	return definition.ServiceAccount.Name
}
ShortName returns wrapped resource name if it was a serviceaccount
package resources
import (
	"log"
	"github.com/Mirantis/k8s-AppController/pkg/client"
	"github.com/Mirantis/k8s-AppController/pkg/interfaces"
	"github.com/Mirantis/k8s-AppController/pkg/report"
	corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
	"k8s.io/client-go/pkg/api/v1"
)
var serviceAccountParamFields = []string{
	"Secrets",
	"ImagePullSecrets",
}
type newServiceAccount struct {
	Base
	ServiceAccount *v1.ServiceAccount
	Client         corev1.ServiceAccountInterface
}
type existingServiceAccount struct {
	Base
	Name   string
	Client corev1.ServiceAccountInterface
}
type serviceAccountTemplateFactory struct{}