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