// newClusterServiceClass returns a new serviceclass.
newClusterServiceClass returns a new serviceclass.
// newClusterServiceClass returns a new serviceclass .
func newClusterServiceClass(id string, name string) *servicecatalog.ClusterServiceClass {
	sc := &servicecatalog.ClusterServiceClass{
		ObjectMeta: metav1.ObjectMeta{
			Name: id,
		},
		Spec: servicecatalog.ClusterServiceClassSpec{
			CommonServiceClassSpec: servicecatalog.CommonServiceClassSpec{
				ExternalID:   id,
				ExternalName: name,
			},
		},
	}
	return sc
}
func newClusterServiceClass ( id string , name string ) * servicecatalog . ClusterServiceClass { sc := & servicecatalog . ClusterServiceClass { ObjectMeta : metav1 . ObjectMeta { Name : id , } , Spec : servicecatalog . ClusterServiceClassSpec { CommonServiceClassSpec : servicecatalog . CommonServiceClassSpec { ExternalID : id , ExternalName : name , } , } , } return sc }
newClusterServiceClass returns a new serviceclass.
newClusterServiceClass returns a new serviceclass .