func NewResourceRegistrationFile(resources []astmodel.TypeName, storageVersionResources []astmodel.TypeName) *ResourceRegistrationFile {
	return &ResourceRegistrationFile{
		resources:               resources,
		storageVersionResources: storageVersionResources,
	}
}
NewResourceRegistrationFile returns a ResourceRegistrationFile for registering all of the specified resources
with a controller
package codegen
import (
	"go/token"
	"sort"
	"github.com/dave/dst"
	"github.com/Azure/k8s-infra/hack/generator/pkg/astbuilder"
	"github.com/Azure/k8s-infra/hack/generator/pkg/astmodel"
)
type ResourceRegistrationFile struct {
	resources               []astmodel.TypeName
	storageVersionResources []astmodel.TypeName
}
var _ astmodel.GoSourceFile = &ResourceRegistrationFile{}