func addKnownTypes(scheme *runtime.Scheme) error {
	scheme.AddKnownTypes(SchemeGroupVersion,
		&StackSet{},
		&StackSetList{},
		&Stack{},
		&StackList{},
	)
	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
	return nil
}
addKnownTypes adds the set of types defined in this package to the supplied scheme.
package v1
import (
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/runtime"
	"k8s.io/apimachinery/pkg/runtime/schema"
	"github.com/zalando-incubator/stackset-controller/pkg/apis/zalando.org"
)
var (
	schemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: zalando.GroupName, Version: "v1"}
func Resource(resource string) schema.GroupResource {
	return SchemeGroupVersion.WithResource(resource).GroupResource()
}